Sam Lantinga 2aa2fa5449 Added SDL_CreateWindowWithPosition() 2 tahun lalu
..
emscripten fe40a17224 Initial merge of Emscripten port! 10 tahun lalu
n3ds 655275378d N3DS port (squashed) 2 tahun lalu
shapes 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu
CMakeLists.txt cb076b83ff cmake: fix testnative for Macos 2 tahun lalu
COPYING 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu
README 1d956c2817 Rename SDL2 tests for SDL3 2 tahun lalu
axis.bmp 6d7da0887d Split controller axes into positive and negative sides so each can be bound independently. 8 tahun lalu
button.bmp 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu
checkkeys.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
checkkeysthreads.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
gamepadmap.bmp 659abc721a SDL API renaming: SDL_gamecontroller.h 2 tahun lalu
gamepadmap.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
gamepadmap_back.bmp 659abc721a SDL API renaming: SDL_gamecontroller.h 2 tahun lalu
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu
loopwave.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
loopwavequeue.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
main.cpp 28b93451dc Make WinRT's SDL_main header-only 2 tahun lalu
moose.dat 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu
picture.xbm 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. 2 tahun lalu
sample.bmp 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu
sample.wav 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu
template.test.in ce502054ad test: Install GNOME-style installed-tests metadata 3 tahun lalu
testatomic.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testaudiocapture.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testaudiohotplug.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testaudioinfo.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testautomation.c d3faec0b6e testcommon/automation: add [--audio driver] option 2 tahun lalu
testautomation_audio.c 11c70406c3 testautomation_audio: fix -Wimplicit-fallthrough warning 2 tahun lalu
testautomation_clipboard.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_events.c 3ccfd361cb Fix video_getSetWindowPosition() that fail when checking events, 2 tahun lalu
testautomation_guid.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_hints.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_images.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_images.h 4053876bf6 Fix warning drop const qualifier 2 tahun lalu
testautomation_intrinsics.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 tahun lalu
testautomation_joystick.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_keyboard.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testautomation_main.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_math.c d392ce516a testautomation_math: avoid equality tests with INFINITY 2 tahun lalu
testautomation_mouse.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_pixels.c 4286f463a8 testautomation_pixels: calling SDL_DestroyPixelFormat or SDL_DestroyPalette with NULL parameter doesn't generate an error 2 tahun lalu
testautomation_platform.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 tahun lalu
testautomation_rect.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_render.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_rwops.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 tahun lalu
testautomation_sdltest.c 4053876bf6 Fix warning drop const qualifier 2 tahun lalu
testautomation_stdlib.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 tahun lalu
testautomation_suites.h 5775d5e112 Add intrinsics test automation 2 tahun lalu
testautomation_surface.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_syswm.c c30903882b cmake+tests: include SDL_build_config.h in select tests + add include paths 2 tahun lalu
testautomation_timer.c c963f02571 More fix warnings about static function and prototype 2 tahun lalu
testautomation_video.c 2aa2fa5449 Added SDL_CreateWindowWithPosition() 2 tahun lalu
testbounds.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testcustomcursor.c 16bb6a0b3d Fix warnings about static function and prototype 2 tahun lalu
testdisplayinfo.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testdraw.c 4312abab69 testprogram: add option to use SDL_BLENDMODE_MUL 2 tahun lalu
testdrawchessboard.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testdropfile.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testerror.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testevdev.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testfile.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testfilesystem.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testgamepad.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testgeometry.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testgl.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testgles.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 tahun lalu
testgles2.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 tahun lalu
testgles2_sdf.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 tahun lalu
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 tahun lalu
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 tahun lalu
testhaptic.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testhittesting.c 6e2851878f testhittesting: use SDLTest_Common for creating window(s) and renderer(s) 2 tahun lalu
testhotplug.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testiconv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testime.c 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testintersections.c 08d5235da0 testintersections: check integer argument + no global done + get final tick before SDL shutdown 2 tahun lalu
testjoystick.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testkeys.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testloadso.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testlocale.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testlock.c b6ae281e97 Use #ifdef/#ifndef instead of #if defined/#if \!defined 2 tahun lalu
testmessage.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testmouse.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testmultiaudio.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testnative.c b8b852a55b cmake: testnative can also be built on non-Linux 2 tahun lalu
testnative.h 3472dc11d6 Fix uses of undefined macro identifiers (-Wundef) 2 tahun lalu
testnativecocoa.m 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu
testnativew32.c fde78d12f2 Updated copyright for 2023 2 tahun lalu
testnativex11.c fde78d12f2 Updated copyright for 2023 2 tahun lalu
testoffscreen.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testoverlay.c 16bb6a0b3d Fix warnings about static function and prototype 2 tahun lalu
testplatform.c b0a5182e84 Sunset SDL_HasRDTSC 2 tahun lalu
testpopup.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testpower.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testqsort.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testrelative.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testrendercopyex.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testrendertarget.c 16bb6a0b3d Fix warnings about static function and prototype 2 tahun lalu
testresample.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testrumble.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testscale.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testsem.c 6a9c692bb9 testsem: don't re-parse positional argument twice 2 tahun lalu
testsensor.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testshader.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testshape.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testsprite.c 4312abab69 testprogram: add option to use SDL_BLENDMODE_MUL 2 tahun lalu
testspriteminimal.c 0268881e30 testspriteminimal: don't allow any arguments 2 tahun lalu
teststreaming.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testsurround.c e1b8a03239 testsurround: fix channel names 2 tahun lalu
testthread.c 8bea41f737 testthread: parse arguments using SDLTest_CommonState + add arguments 2 tahun lalu
testtimer.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testurl.c fde78d12f2 Updated copyright for 2023 2 tahun lalu
testutils.c 08bcee8570 test: don't use wiki urls for documentation comments 2 tahun lalu
testutils.h fde78d12f2 Updated copyright for 2023 2 tahun lalu
testver.c 4d86a83fa9 testver: don't allow any arguments 2 tahun lalu
testviewport.c 16bb6a0b3d Fix warnings about static function and prototype 2 tahun lalu
testvulkan.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testwm.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 7 tahun lalu
testyuv.c 4a6528e3f0 testprograms: parse arguments using SDLTest_CommonState 2 tahun lalu
testyuv_cvt.c fde78d12f2 Updated copyright for 2023 2 tahun lalu
testyuv_cvt.h fde78d12f2 Updated copyright for 2023 2 tahun lalu
torturethread.c 115460a930 torturethread: sleep a bit in SubThreadFunc to avoid starvation 2 tahun lalu
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 tahun lalu
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 tahun lalu
utf8.txt 3dcb451f85 Added a README file regarding WinRT support 11 tahun lalu

README


These are test programs for the SDL library:

checkkeys Watch the key events to check the keyboard
loopwave Audio test -- loop playing a WAV file
loopwavequeue Audio test -- loop playing a WAV file with SDL_QueueAudio
testsurround Audio test -- play test tone on each audio channel
testaudioinfo Lists audio device capabilities
testerror Tests multi-threaded error handling
testfile Tests RWops layer
testgl A very simple example of using OpenGL with SDL
testiconv Tests international string conversion
testjoystick List joysticks and watch joystick events
testkeys List the available keyboard keys
testloadso Tests the loadable library layer
testlocale Test Locale API
testlock Hacked up test of multi-threading and locking
testmouse Tests mouse coordinates
testmultiaudio Tests using several audio devices
testoverlay Tests the overlay flickering/scaling during playback.
testplatform Tests types, endianness and cpu capabilities
testsem Tests SDL's semaphore implementation
testshape Tests shaped windows
testsprite Example of fast sprite movement on the screen
testthread Hacked up test of multi-threading
testtimer Test the timer facilities
testver Check the version and dynamic loading and endianness
testwm Test window manager -- title, icon, events
torturethread Simple test for thread creation/destruction
gamepadmap Useful to generate Game Controller API compatible maps



This directory contains sample.wav, which is a sample from Will Provost's
song, The Living Proof:

From the album The Living Proof
Publisher: 5 Guys Named Will
Copyright 1996 Will Provost

You can get a copy of the full song (and album!) from iTunes...

https://itunes.apple.com/us/album/the-living-proof/id4153978

or Amazon...

http://www.amazon.com/The-Living-Proof-Will-Provost/dp/B00004R8RH

Thanks to Will for permitting us to distribute this sample with SDL!