Sam Lantinga 7312b93d32 Fixed crash if a game controller is disconnected while the connect message is in flight 2 éve
..
emscripten fe40a17224 Initial merge of Emscripten port! 10 éve
nacl 5298830945 Fixed bug 3480 - minor update to NACL common.js 8 éve
shapes 3dcb451f85 Added a README file regarding WinRT support 11 éve
CMakeLists.txt 2ceea46061 cmake: Enable CET compatibility for x86/x64 targets using VS 16.7+ 2 éve
COPYING 3dcb451f85 Added a README file regarding WinRT support 11 éve
Makefile.in 7e2a996958 Added a virtual joystick automated test 2 éve
Makefile.os2 3066873126 Split the common code in test/Makefile.os2 into a separate file 2 éve
Makefile.w32 848d2008c6 test/Makefile.w32: fix minor typo 2 éve
README cd66c050fe testsurround: Add surround sound channel tester 3 éve
acinclude.m4 f3640e26a4 tests: minor update to acinclude.m4::pkg.m4 3 éve
autogen.sh 163f669745 minor tidy-up to configury. 2 éve
axis.bmp 6d7da0887d Split controller axes into positive and negative sides so each can be bound independently. 8 éve
button.bmp 3dcb451f85 Added a README file regarding WinRT support 11 éve
checkkeys.c 391dd0d94b Don't spin as quickly as possible in the checkkeys rendering loop 2 éve
checkkeysthreads.c 120c76c84b Updated copyright for 2022 3 éve
configure 51d6d60f11 Updated to autoconf 2.71 2 éve
configure.ac db36664f26 configure.ac: remove unnecessary AC_SUBST's added by commit 38ef6789909c 3 éve
controllermap.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons 4 éve
controllermap.c a7fde3f835 Allow mapping a controller other than the first one 2 éve
controllermap_back.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons 4 éve
icon.bmp 3dcb451f85 Added a README file regarding WinRT support 11 éve
loopwave.c 76a7b629bf test: Add some common code to load test resources 3 éve
loopwavequeue.c 76a7b629bf test: Add some common code to load test resources 3 éve
moose.dat 3dcb451f85 Added a README file regarding WinRT support 11 éve
picture.xbm 3dcb451f85 Added a README file regarding WinRT support 11 éve
relative_mode.markdown bd61c276fa Fixed compiling test with older C. 10 éve
sample.bmp 3dcb451f85 Added a README file regarding WinRT support 11 éve
sample.wav 3dcb451f85 Added a README file regarding WinRT support 11 éve
template.test.in ce502054ad test: Install GNOME-style installed-tests metadata 3 éve
testatomic.c 345efdcb10 Wait for all the threads to actually finish before exiting 2 éve
testaudiocapture.c 120c76c84b Updated copyright for 2022 3 éve
testaudiohotplug.c 76a7b629bf test: Add some common code to load test resources 3 éve
testaudioinfo.c 120c76c84b Updated copyright for 2022 3 éve
testautomation.c 28ecdc6bc7 No need to cast from char* to const char* 2 éve
testautomation_audio.c 990fb668f7 tests: several -Wwrite-strings fixes. 3 éve
testautomation_clipboard.c ac5b9bc4ee Add support for X11 primary selection (#6132) 2 éve
testautomation_events.c da66755450 Fixed up legacy MoinMoin URLs at wiki.libsdl.org 4 éve
testautomation_guid.c 0a600b1df4 Merge testguid into testautomation (#5873) 2 éve
testautomation_hints.c d4192850c1 Added SDL_ResetHint() to reset a hint to the default value 2 éve
testautomation_joystick.c 7e2a996958 Added a virtual joystick automated test 2 éve
testautomation_keyboard.c 990fb668f7 tests: several -Wwrite-strings fixes. 3 éve
testautomation_main.c cbd0187475 Removed the limit on the size of the SDL error message 2 éve
testautomation_math.c 73d8d02629 Test: Fix Exp base case for Win32. 2 éve
testautomation_mouse.c a4a9d28461 You may need to wait a bit for SDL_WarpMouseInWindow() to complete 3 éve
testautomation_pixels.c 990fb668f7 tests: several -Wwrite-strings fixes. 3 éve
testautomation_platform.c 63b3b9a558 Fix some typos in diagnostic messages 2 éve
testautomation_rect.c 46624b4e1d Removed two distracting gcc-11 warnings 2 éve
testautomation_render.c 7f1feee02a Fixed bug #2426 - SDL_RenderReadPixels result is unspecified and fails testautomation 3 éve
testautomation_rwops.c aaec244cfd Don't run the stdio automated tests if libc isn't available 2 éve
testautomation_sdltest.c d31251b014 use SDL's functions version inplace of libc version 3 éve
testautomation_stdlib.c c70ffc2a35 Added size_t format specifier test coverage for SDL_snprintf and SDL_sscanf 2 éve
testautomation_suites.h 7e2a996958 Added a virtual joystick automated test 2 éve
testautomation_surface.c dd51787e07 Fix SDL_PIXELFORMAT_INDEX1LSB test case 2 éve
testautomation_syswm.c 5575948b37 Fixed bug 2726 - WinRT touches not setting 'which' field in virtual mouse events 10 éve
testautomation_timer.c ca5c304814 Fixed bug 3744 - missing SDLCALL in several functions 7 éve
testautomation_video.c df36f926fc testautomation: add video_setWindowCenteredOnDisplay test 2 éve
testbounds.c 120c76c84b Updated copyright for 2022 3 éve
testcustomcursor.c 4c711d2d43 testcustomcursor: Allow running without custom or system cursors 2 éve
testdisplayinfo.c 120c76c84b Updated copyright for 2022 3 éve
testdraw2.c 120c76c84b Updated copyright for 2022 3 éve
testdrawchessboard.c 120c76c84b Updated copyright for 2022 3 éve
testdropfile.c 120c76c84b Updated copyright for 2022 3 éve
testerror.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays 3 éve
testevdev.c b299f74d05 test: Make testevdev succeed if the feature is disabled 3 éve
testfile.c 120c76c84b Updated copyright for 2022 3 éve
testfilesystem.c 643f9e56d0 Rename folder created in test_filesystem 2 éve
testgamecontroller.c 7312b93d32 Fixed crash if a game controller is disconnected while the connect message is in flight 2 éve
testgeometry.c 76a7b629bf test: Add some common code to load test resources 3 éve
testgesture.c 94e5c3f30e testgesture: display device name with SDL_GetTouchName() 3 éve
testgl2.c 120c76c84b Updated copyright for 2022 3 éve
testgles.c 120c76c84b Updated copyright for 2022 3 éve
testgles2.c 99e9156ff5 testgles2: Fix typo in help text 2 éve
testgles2_sdf.c 76a7b629bf test: Add some common code to load test resources 3 éve
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 éve
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 4 éve
testhaptic.c d2871a348b testhaptic.c, testjoystick.c: fixed -Wshadow warnings. 3 éve
testhittesting.c ca5c304814 Fixed bug 3744 - missing SDLCALL in several functions 7 éve
testhotplug.c 120c76c84b Updated copyright for 2022 3 éve
testiconv.c 76a7b629bf test: Add some common code to load test resources 3 éve
testime.c 76a7b629bf test: Add some common code to load test resources 3 éve
testintersections.c 120c76c84b Updated copyright for 2022 3 éve
testjoystick.c 6bcf2c1521 Fixed spinning at a very high framerate 2 éve
testkeys.c 120c76c84b Updated copyright for 2022 3 éve
testloadso.c 120c76c84b Updated copyright for 2022 3 éve
testlocale.c 120c76c84b Updated copyright for 2022 3 éve
testlock.c 120c76c84b Updated copyright for 2022 3 éve
testmessage.c 120c76c84b Updated copyright for 2022 3 éve
testmouse.c cf040f8882 testmouse: Allow drawing rectangles as well as lines 2 éve
testmultiaudio.c 76a7b629bf test: Add some common code to load test resources 3 éve
testnative.c 76a7b629bf test: Add some common code to load test resources 3 éve
testnative.h 120c76c84b Updated copyright for 2022 3 éve
testnativecocoa.m 3dcb451f85 Added a README file regarding WinRT support 11 éve
testnativeos2.c 120c76c84b Updated copyright for 2022 3 éve
testnativew32.c 120c76c84b Updated copyright for 2022 3 éve
testnativex11.c 120c76c84b Updated copyright for 2022 3 éve
testoffscreen.c 120c76c84b Updated copyright for 2022 3 éve
testoverlay2.c 76a7b629bf test: Add some common code to load test resources 3 éve
testplatform.c a932581775 testplatform: Add LSX and LASX checks 2 éve
testpower.c 120c76c84b Updated copyright for 2022 3 éve
testqsort.c 0cca71a846 Use SDLCALL for callbacks in public APIs 2 éve
testrelative.c 120c76c84b Updated copyright for 2022 3 éve
testrendercopyex.c 76a7b629bf test: Add some common code to load test resources 3 éve
testrendertarget.c 76a7b629bf test: Add some common code to load test resources 3 éve
testresample.c 120c76c84b Updated copyright for 2022 3 éve
testrumble.c 120c76c84b Updated copyright for 2022 3 éve
testscale.c 76a7b629bf test: Add some common code to load test resources 3 éve
testsem.c 120c76c84b Updated copyright for 2022 3 éve
testsensor.c 120c76c84b Updated copyright for 2022 3 éve
testshader.c beecae31f6 testshader: use SDL_malloc instead of SDL_stack_alloc. 3 éve
testshape.c 120c76c84b Updated copyright for 2022 3 éve
testsprite2.c 3b191580c3 Windows GDK Support (#5830) 2 éve
testspriteminimal.c 76a7b629bf test: Add some common code to load test resources 3 éve
teststreaming.c 76a7b629bf test: Add some common code to load test resources 3 éve
testsurround.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays 3 éve
testthread.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays 3 éve
testtimer.c 40bef98f8b test: Add a mode to skip tests that involve arbitrary delays 3 éve
testurl.c 0025621b80 Add a default URL in testurl 2 éve
testutils.c d2b5965894 Remove extra path separator in GetNearbyFilename 2 éve
testutils.h 76a7b629bf test: Add some common code to load test resources 3 éve
testver.c 120c76c84b Updated copyright for 2022 3 éve
testviewport.c 76a7b629bf test: Add some common code to load test resources 3 éve
testvulkan.c 120c76c84b Updated copyright for 2022 3 éve
testwm2.c 120c76c84b Updated copyright for 2022 3 éve
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps 7 éve
testyuv.c 120c76c84b Updated copyright for 2022 3 éve
testyuv_cvt.c 120c76c84b Updated copyright for 2022 3 éve
testyuv_cvt.h 120c76c84b Updated copyright for 2022 3 éve
torturethread.c 120c76c84b Updated copyright for 2022 3 éve
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 éve
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) 3 éve
utf8.txt 3dcb451f85 Added a README file regarding WinRT support 11 éve
versioning.sh 911524da45 fix DYLIB version inconsistencies and test failures after #6188. 2 éve
watcom.mif c833294817 tests, watcom: silence lots of W202 warnings from new vulkan headers. 2 éve

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
testgl2 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
testoverlay2 Tests the overlay flickering/scaling during playback.
testplatform Tests types, endianness and cpu capabilities
testsem Tests SDL's semaphore implementation
testshape Tests shaped windows
testsprite2 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
testwm2 Test window manager -- title, icon, events
torturethread Simple test for thread creation/destruction
controllermap 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!