Sam Lantinga 6955c981bc Updated copyright for 2025 hai 1 ano
..
emscripten fe40a17224 Initial merge of Emscripten port! %!s(int64=11) %!d(string=hai) anos
n3ds 655275378d N3DS port (squashed) %!s(int64=3) %!d(string=hai) anos
nacl 5298830945 Fixed bug 3480 - minor update to NACL common.js %!s(int64=9) %!d(string=hai) anos
shapes 3dcb451f85 Added a README file regarding WinRT support %!s(int64=12) %!d(string=hai) anos
CMakeLists.txt 2f873636c7 cmake: ios and tvos applications need to link to SDL2main library hai 1 ano
COPYING 3dcb451f85 Added a README file regarding WinRT support %!s(int64=12) %!d(string=hai) anos
Makefile.in de1292f8ac Fixed build %!s(int64=2) %!d(string=hai) anos
Makefile.os2 bc87983310 tests: added -DHAVE_SIGNAL_H to CFLAGS in watcom makefiles %!s(int64=3) %!d(string=hai) anos
Makefile.w32 bc87983310 tests: added -DHAVE_SIGNAL_H to CFLAGS in watcom makefiles %!s(int64=3) %!d(string=hai) anos
README cd66c050fe testsurround: Add surround sound channel tester %!s(int64=4) %!d(string=hai) anos
acinclude.m4 2afd04d09b test/acinclude.m4 (AM_PATH_SDL2): apply recent sdl2.m4 PKG_CONFIG patch %!s(int64=2) %!d(string=hai) anos
autogen.sh 163f669745 minor tidy-up to configury. %!s(int64=4) %!d(string=hai) anos
axis.bmp 6d7da0887d Split controller axes into positive and negative sides so each can be bound independently. %!s(int64=9) %!d(string=hai) anos
button.bmp 3dcb451f85 Added a README file regarding WinRT support %!s(int64=12) %!d(string=hai) anos
checkkeys.c 6955c981bc Updated copyright for 2025 hai 1 ano
checkkeysthreads.c 6955c981bc Updated copyright for 2025 hai 1 ano
configure 2afd04d09b test/acinclude.m4 (AM_PATH_SDL2): apply recent sdl2.m4 PKG_CONFIG patch %!s(int64=2) %!d(string=hai) anos
configure.ac db01016dd6 revert replace AM_PATH_SDL2 usage with corresponding PKG_CHECK_MODULES. %!s(int64=3) %!d(string=hai) anos
controllermap.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons %!s(int64=5) %!d(string=hai) anos
controllermap.c 6955c981bc Updated copyright for 2025 hai 1 ano
controllermap_back.bmp 009b62f1c2 Be explicit about mapping the new game controller paddle buttons %!s(int64=5) %!d(string=hai) anos
icon.bmp 3dcb451f85 Added a README file regarding WinRT support %!s(int64=12) %!d(string=hai) anos
loopwave.c 6955c981bc Updated copyright for 2025 hai 1 ano
loopwavequeue.c 6955c981bc Updated copyright for 2025 hai 1 ano
moose.dat 3dcb451f85 Added a README file regarding WinRT support %!s(int64=12) %!d(string=hai) anos
picture.xbm 3dcb451f85 Added a README file regarding WinRT support %!s(int64=12) %!d(string=hai) anos
relative_mode.markdown bd61c276fa Fixed compiling test with older C. %!s(int64=11) %!d(string=hai) anos
sample.bmp 3dcb451f85 Added a README file regarding WinRT support %!s(int64=12) %!d(string=hai) anos
sample.wav 3dcb451f85 Added a README file regarding WinRT support %!s(int64=12) %!d(string=hai) anos
template.test.in ce502054ad test: Install GNOME-style installed-tests metadata %!s(int64=4) %!d(string=hai) anos
testatomic.c 6955c981bc Updated copyright for 2025 hai 1 ano
testaudiocapture.c 6955c981bc Updated copyright for 2025 hai 1 ano
testaudiohotplug.c 6955c981bc Updated copyright for 2025 hai 1 ano
testaudioinfo.c 6955c981bc Updated copyright for 2025 hai 1 ano
testautomation.c 6955c981bc Updated copyright for 2025 hai 1 ano
testautomation_audio.c e7a47e783b Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" hai 1 ano
testautomation_clipboard.c a6ba8a1585 Removed spurious casts %!s(int64=2) %!d(string=hai) anos
testautomation_events.c 3d5679bb8e Fix video_getSetWindowPosition() that fail when checking events, %!s(int64=2) %!d(string=hai) anos
testautomation_guid.c 01fa4dd9d1 Fixed ASAN warning, runtime error: left shift of 160 by 24 places cannot be represented in type 'int' %!s(int64=2) %!d(string=hai) anos
testautomation_hints.c b8d85c6939 Update for SDL3 coding style (#6717) %!s(int64=3) %!d(string=hai) anos
testautomation_joystick.c b8d85c6939 Update for SDL3 coding style (#6717) %!s(int64=3) %!d(string=hai) anos
testautomation_keyboard.c e7a47e783b Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" hai 1 ano
testautomation_log.c e7a47e783b Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" hai 1 ano
testautomation_main.c 5368f45567 Remove one test that contains call of SDL_Quit() / SDL_Init() because it %!s(int64=2) %!d(string=hai) anos
testautomation_math.c 739a23e506 testautomation_math: Fix misleading log output %!s(int64=2) %!d(string=hai) anos
testautomation_mouse.c a14b948b6c [SDL2] pointer boolean (#8523) %!s(int64=2) %!d(string=hai) anos
testautomation_pixels.c 67eb03400a Add SDL_PIXELFORMAT_INDEX2LSB and SDL_PIXELFORMAT_INDEX2MSB %!s(int64=2) %!d(string=hai) anos
testautomation_platform.c 9720672374 Fix compilation / same as sdl2-compat %!s(int64=2) %!d(string=hai) anos
testautomation_rect.c d0bbfdbfb8 Clang-Tidy fixes (#6725) %!s(int64=3) %!d(string=hai) anos
testautomation_render.c 3ff56fda1a testautomation: only require accelerated renderer with non-dummy video driver %!s(int64=2) %!d(string=hai) anos
testautomation_rwops.c d0bbfdbfb8 Clang-Tidy fixes (#6725) %!s(int64=3) %!d(string=hai) anos
testautomation_sdltest.c d0bbfdbfb8 Clang-Tidy fixes (#6725) %!s(int64=3) %!d(string=hai) anos
testautomation_stdlib.c 1e2aa2363b Implemented left-justification in SDL_PrintString() hai 1 ano
testautomation_subsystems.c e7a47e783b Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" hai 1 ano
testautomation_suites.h a6d5c1fe05 Added the environment variable SDL_LOGGING to control default log output %!s(int64=2) %!d(string=hai) anos
testautomation_surface.c e7a47e783b Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" hai 1 ano
testautomation_syswm.c b8d85c6939 Update for SDL3 coding style (#6717) %!s(int64=3) %!d(string=hai) anos
testautomation_timer.c 41fc398114 Move check for SDL_Delay upper bounds to testtimer %!s(int64=2) %!d(string=hai) anos
testautomation_video.c e7a47e783b Fix warning for Android NDK compiler: "function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]" hai 1 ano
testbounds.c 6955c981bc Updated copyright for 2025 hai 1 ano
testcustomcursor.c 6955c981bc Updated copyright for 2025 hai 1 ano
testdisplayinfo.c 6955c981bc Updated copyright for 2025 hai 1 ano
testdraw2.c 6955c981bc Updated copyright for 2025 hai 1 ano
testdrawchessboard.c 6955c981bc Updated copyright for 2025 hai 1 ano
testdropfile.c 6955c981bc Updated copyright for 2025 hai 1 ano
testerror.c 6955c981bc Updated copyright for 2025 hai 1 ano
testevdev.c 6955c981bc Updated copyright for 2025 hai 1 ano
testfile.c 6955c981bc Updated copyright for 2025 hai 1 ano
testfilesystem.c 6955c981bc Updated copyright for 2025 hai 1 ano
testfilesystem_pre.c 6955c981bc Updated copyright for 2025 hai 1 ano
testgamecontroller.c 6955c981bc Updated copyright for 2025 hai 1 ano
testgeometry.c 6955c981bc Updated copyright for 2025 hai 1 ano
testgesture.c 6955c981bc Updated copyright for 2025 hai 1 ano
testgl2.c 6955c981bc Updated copyright for 2025 hai 1 ano
testgles.c 6955c981bc Updated copyright for 2025 hai 1 ano
testgles2.c 6955c981bc Updated copyright for 2025 hai 1 ano
testgles2_sdf.c 6955c981bc Updated copyright for 2025 hai 1 ano
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 %!s(int64=5) %!d(string=hai) anos
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 %!s(int64=5) %!d(string=hai) anos
testhaptic.c 4a4f289adc testhaptic.c: include stdlib.h for exit() %!s(int64=2) %!d(string=hai) anos
testhittesting.c a14b948b6c [SDL2] pointer boolean (#8523) %!s(int64=2) %!d(string=hai) anos
testhotplug.c 6955c981bc Updated copyright for 2025 hai 1 ano
testiconv.c 6955c981bc Updated copyright for 2025 hai 1 ano
testime.c 6955c981bc Updated copyright for 2025 hai 1 ano
testintersections.c 6955c981bc Updated copyright for 2025 hai 1 ano
testjoystick.c 6955c981bc Updated copyright for 2025 hai 1 ano
testkeys.c 6955c981bc Updated copyright for 2025 hai 1 ano
testloadso.c 6955c981bc Updated copyright for 2025 hai 1 ano
testlocale.c 6955c981bc Updated copyright for 2025 hai 1 ano
testlock.c 6955c981bc Updated copyright for 2025 hai 1 ano
testmessage.c 6955c981bc Updated copyright for 2025 hai 1 ano
testmouse.c 6955c981bc Updated copyright for 2025 hai 1 ano
testmultiaudio.c 6955c981bc Updated copyright for 2025 hai 1 ano
testnative.c 6955c981bc Updated copyright for 2025 hai 1 ano
testnative.h 6955c981bc Updated copyright for 2025 hai 1 ano
testnativecocoa.m 3e341021c3 fixed typo in prev. patch. %!s(int64=2) %!d(string=hai) anos
testnativeos2.c 6955c981bc Updated copyright for 2025 hai 1 ano
testnativew32.c 6955c981bc Updated copyright for 2025 hai 1 ano
testnativex11.c 6955c981bc Updated copyright for 2025 hai 1 ano
testoffscreen.c 6955c981bc Updated copyright for 2025 hai 1 ano
testoverlay2.c 6955c981bc Updated copyright for 2025 hai 1 ano
testplatform.c 6955c981bc Updated copyright for 2025 hai 1 ano
testpower.c 6955c981bc Updated copyright for 2025 hai 1 ano
testqsort.c 6955c981bc Updated copyright for 2025 hai 1 ano
testrelative.c 6955c981bc Updated copyright for 2025 hai 1 ano
testrendercopyex.c 6955c981bc Updated copyright for 2025 hai 1 ano
testrendertarget.c 6955c981bc Updated copyright for 2025 hai 1 ano
testresample.c 6955c981bc Updated copyright for 2025 hai 1 ano
testrumble.c 6955c981bc Updated copyright for 2025 hai 1 ano
testscale.c 6955c981bc Updated copyright for 2025 hai 1 ano
testsem.c 6955c981bc Updated copyright for 2025 hai 1 ano
testsensor.c 6955c981bc Updated copyright for 2025 hai 1 ano
testshader.c 6955c981bc Updated copyright for 2025 hai 1 ano
testshape.c 6955c981bc Updated copyright for 2025 hai 1 ano
testsprite2.c 6955c981bc Updated copyright for 2025 hai 1 ano
testspriteminimal.c 6955c981bc Updated copyright for 2025 hai 1 ano
teststreaming.c 6955c981bc Updated copyright for 2025 hai 1 ano
testsurround.c 6955c981bc Updated copyright for 2025 hai 1 ano
testthread.c 6955c981bc Updated copyright for 2025 hai 1 ano
testtimer.c 6955c981bc Updated copyright for 2025 hai 1 ano
testurl.c 6955c981bc Updated copyright for 2025 hai 1 ano
testutils.c 6955c981bc Updated copyright for 2025 hai 1 ano
testutils.h 6955c981bc Updated copyright for 2025 hai 1 ano
testver.c 6955c981bc Updated copyright for 2025 hai 1 ano
testviewport.c 6955c981bc Updated copyright for 2025 hai 1 ano
testvulkan.c 6955c981bc Updated copyright for 2025 hai 1 ano
testwm2.c 6955c981bc Updated copyright for 2025 hai 1 ano
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps %!s(int64=8) %!d(string=hai) anos
testyuv.c 6955c981bc Updated copyright for 2025 hai 1 ano
testyuv_cvt.c 6955c981bc Updated copyright for 2025 hai 1 ano
testyuv_cvt.h 6955c981bc Updated copyright for 2025 hai 1 ano
torturethread.c 6955c981bc Updated copyright for 2025 hai 1 ano
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) %!s(int64=4) %!d(string=hai) anos
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) %!s(int64=4) %!d(string=hai) anos
utf8.txt 3dcb451f85 Added a README file regarding WinRT support %!s(int64=12) %!d(string=hai) anos
watcom.mif cc6c0fe230 test, watcom.mif: revert f9a46a319ba0183479aac63c4b98e20faa3d7d6f %!s(int64=2) %!d(string=hai) anos

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!