Nour Fouad b6c5ad0075 Update hardcoded value of pi to use SDL constant SDL_PI_F for improved consistency and readability. il y a 1 an
..
android a4bb4eef73 cmake: create Android jars + apks for tests il y a 1 an
emscripten 6607a3cfac Disable cache in python http server il y a 1 an
n3ds 655275378d N3DS port (squashed) il y a 2 ans
uwp a5d9db0cd0 cmake: build tests for UWP il y a 1 an
CMakeLists.txt fcb132b8e8 Allow building testffmpeg without Vulkan support il y a 1 an
COPYING 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
README 47b0321ebf test: Removed loopwavequeue.c; obsolete in SDL3. il y a 1 an
audiofile.bmp 2de9253b6c test: Added testaudio il y a 1 an
checkkeys.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
checkkeysthreads.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
gamepad_axis.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_axis.h 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_axis_arrow.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_axis_arrow.h 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_back.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_back.h 9885f4d245 Reduced the size of the gamepad front and back images il y a 1 an
gamepad_battery_empty.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_empty.h 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_full.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_full.h 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_low.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_low.h 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_medium.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_medium.h 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_unknown.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_unknown.h 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_wired.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_battery_wired.h 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_button.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_button.h 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_button_background.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_button_background.h 45cd4b8038 Added button background il y a 1 an
gamepad_button_small.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_button_small.h d44ada59fb Added joystick and gamepad element display in testgamepad il y a 1 an
gamepad_face_abxy.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight il y a 1 an
gamepad_face_abxy.h 1a4995371b Use light text for button labels so they show up well over the activity highlight il y a 1 an
gamepad_face_bayx.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight il y a 1 an
gamepad_face_bayx.h 1a4995371b Use light text for button labels so they show up well over the activity highlight il y a 1 an
gamepad_face_sony.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight il y a 1 an
gamepad_face_sony.h 1a4995371b Use light text for button labels so they show up well over the activity highlight il y a 1 an
gamepad_front.bmp 1a4995371b Use light text for button labels so they show up well over the activity highlight il y a 1 an
gamepad_front.h 1a4995371b Use light text for button labels so they show up well over the activity highlight il y a 1 an
gamepad_touchpad.bmp 689555a400 Added gamepad BMP files used as sources for the header files il y a 1 an
gamepad_touchpad.h 4a53dc5b8d Added touchpad visualization for testgamepad il y a 1 an
gamepadutils.c d04fea8b87 Even more miscellaneous gamepad buttons! il y a 1 an
gamepadutils.h 5b3ee51c6c Updated copyright for 2024 il y a 1 an
glass.bmp f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() il y a 1 an
glass.h f6b92c9b88 Re-added a simplified version of SDL_SetWindowShape() il y a 1 an
icon.bmp 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
icon.h 4c3e84897f testspriteminimal: make standalone by embedding icon.bmp il y a 1 an
logaudiodev.bmp 2de9253b6c test: Added testaudio il y a 1 an
loopwave.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
main.cpp 28b93451dc Make WinRT's SDL_main header-only il y a 2 ans
moose.dat 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
physaudiodev.bmp 2de9253b6c test: Added testaudio il y a 1 an
picture.xbm 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
pretest.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
relative_mode.markdown 698dbd8464 SDL_CreateWindow() has been simplified and no longer takes a window position. il y a 2 ans
sample.bmp 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
sample.wav 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans
soundboard.bmp be5f66c84e testaudio: Fixed soundboard icon, which had a colorkey issue. il y a 1 an
soundboard_levels.bmp 2de9253b6c test: Added testaudio il y a 1 an
speaker.bmp 2de9253b6c test: Added testaudio il y a 1 an
template.test.in c335e3db82 test/template.test.in: Pass SDL_NONINTERACTIVE_ARGUMENTS to installed-tests il y a 2 ans
testatomic.c a2665f54c8 Updated the atomic API for SDL 3.0 naming conventions il y a 1 an
testaudio-art.txt 2de9253b6c test: Added testaudio il y a 1 an
testaudio.c cacac6cc34 Updated structure and field names for consistency il y a 1 an
testaudiocapture.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testaudiohotplug.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testaudioinfo.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testaudiostreamdynamicresample.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testautomation.c 12bdb2b4d0 Added the environment variable SDL_LOGGING to control default log output il y a 1 an
testautomation_audio.c 9989f92eee Fixed warning C4245: 'initializing': conversion from 'int' to 'SDL_AudioDeviceID', signed/unsigned mismatch il y a 1 an
testautomation_clipboard.c c53843a961 docs: Remove Doxygen `\brief` tags. il y a 1 an
testautomation_events.c c53843a961 docs: Remove Doxygen `\brief` tags. il y a 1 an
testautomation_guid.c ff5fdf9f53 Fixed warning C4244: 'initializing': conversion from 'int' to 'const Uint8', possible loss of data il y a 1 an
testautomation_hints.c 2f7c24e4be Removed SDL_HINT_RENDER_SCALE_QUALITY il y a 1 an
testautomation_images.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testautomation_images.h 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testautomation_intrinsics.c c02aaebccc Fixed warning C4245: 'initializing': conversion from 'int' to 'Uint32', signed/unsigned mismatch il y a 1 an
testautomation_joystick.c d4448fe3d2 Update virtual joystick test now that we're just using abxy for mappings, for compatibility il y a 1 an
testautomation_keyboard.c e9ab2d46de Revert "Change `SDL_Keycode` type to an enum" il y a 1 an
testautomation_log.c 9f7eb6c4c1 Fixed testautomation log callback calling convention il y a 1 an
testautomation_main.c c53843a961 docs: Remove Doxygen `\brief` tags. il y a 1 an
testautomation_math.c 7c089f4e57 testautomation_math: Fix misleading log output il y a 1 an
testautomation_mouse.c d8600f717e Pointer as bool (libsdl-org#7214) il y a 1 an
testautomation_pen.c 74e85e3a51 Fixed warning C4706: assignment within conditional expression il y a 1 an
testautomation_pixels.c 424616e032 Use SDL_PixelFormatEnum as type il y a 1 an
testautomation_platform.c cacac6cc34 Updated structure and field names for consistency il y a 1 an
testautomation_properties.c b8fe96fa81 Fixed build warning il y a 1 an
testautomation_rect.c c53843a961 docs: Remove Doxygen `\brief` tags. il y a 1 an
testautomation_render.c 141497b14f Added an automated test to verify clip rect functionality il y a 1 an
testautomation_rwops.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testautomation_sdltest.c c53843a961 docs: Remove Doxygen `\brief` tags. il y a 1 an
testautomation_stdlib.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testautomation_subsystems.c c540c77756 Removed SDL_INIT_EVERYTHING il y a 1 an
testautomation_suites.h 12bdb2b4d0 Added the environment variable SDL_LOGGING to control default log output il y a 1 an
testautomation_surface.c cacac6cc34 Updated structure and field names for consistency il y a 1 an
testautomation_timer.c d6a41f8f31 Updated SDL_TimerID to use the same type as other IDs in SDL il y a 1 an
testautomation_video.c 641b911d38 Update some internal files to use `SDL_WindowFlags` il y a 1 an
testbounds.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testcamera.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type il y a 1 an
testcolorspace.c 7f9ff6277c Don't assume HDR headroom for HDR10 surfaces il y a 1 an
testcontroller.c a538936821 Renamed SDL_HINT_LINUX_JOYSTICK_DEADZONES to SDL_HINT_JOYSTICK_LINUX_DEADZONES il y a 1 an
testcustomcursor.c cacac6cc34 Updated structure and field names for consistency il y a 1 an
testdisplayinfo.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testdraw.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testdrawchessboard.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testdropfile.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testerror.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() il y a 1 an
testevdev.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testffmpeg.c 641b911d38 Update some internal files to use `SDL_WindowFlags` il y a 1 an
testffmpeg_vulkan.c fcb132b8e8 Allow building testffmpeg without Vulkan support il y a 1 an
testffmpeg_vulkan.h 97f97109d1 testffmpeg: fixed Vulkan validation errors il y a 1 an
testfile.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testfilesystem.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testgeometry.c b6c5ad0075 Update hardcoded value of pi to use SDL constant SDL_PI_F for improved consistency and readability. il y a 1 an
testgl.c 33eaddc565 Cleaned up various type conversion issues il y a 1 an
testgles.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testgles2.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. il y a 1 an
testgles2_sdf.c 205c417f74 testgles2.c, testgles2_sdf.c: adjust for new SDL_PLATFORM_WINDOWS meaning. il y a 1 an
testgles2_sdf_img_normal.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 il y a 4 ans
testgles2_sdf_img_sdf.bmp 0e7d435f13 Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 il y a 4 ans
testhaptic.c cda2bffeee Re-add SDL_HAPTIC_SQUARE for SDL 3.0 il y a 1 an
testhittesting.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type il y a 1 an
testhotplug.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type il y a 1 an
testiconv.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testime.c d86ff6c6c0 remove stale / wrong information from SDL_RWread() documentation il y a 1 an
testintersections.c f8cb3c742d Change `SDL_Keycode` type to an enum il y a 1 an
testkeys.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testloadso.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testlocale.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testlock.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() il y a 1 an
testmessage.c c07b39fa06 Fixed build il y a 1 an
testmouse.c f8cb3c742d Change `SDL_Keycode` type to an enum il y a 1 an
testmultiaudio.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testnative.c 3b55c7d1f4 Shortened SDL property names il y a 1 an
testnative.h 4f3d4bd110 wayland: Add the ability to import and wrap external surfaces il y a 1 an
testnativecocoa.m d3f2de7f29 fixed typo in prev. patch. il y a 1 an
testnativew32.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testnativewayland.c 3b55c7d1f4 Shortened SDL property names il y a 1 an
testnativex11.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testoffscreen.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type il y a 1 an
testoverlay.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type il y a 1 an
testpen.c 2f7c24e4be Removed SDL_HINT_RENDER_SCALE_QUALITY il y a 1 an
testplatform.c 5b8e5f8b9f Fixed accidental changing of All to Allu in previous commit (thanks @zturtleman!) il y a 1 an
testpopup.c 641b911d38 Update some internal files to use `SDL_WindowFlags` il y a 1 an
testpower.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testqsort.c 1e8b006d43 stdlib: qsort and bsearch changes. il y a 1 an
testrelative.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type il y a 1 an
testrendercopyex.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testrendertarget.c 89b9d6cbdc SDL_RenderReadPixels() now returns a surface il y a 1 an
testresample.c 445cb42acd Fixed warning C4244: 'function': conversion from 'int' to 'Uint16', possible loss of data il y a 1 an
testrumble.c f224af5ac5 Updated Haptic API for SDL 3.0 conventions il y a 1 an
testrwlock.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() il y a 1 an
testscale.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testsem.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testsensor.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testshader.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testshape.c 641b911d38 Update some internal files to use `SDL_WindowFlags` il y a 1 an
testsprite.c ba074acad4 Implemented scRGB colorspace and HDR support on macOS il y a 1 an
testspriteminimal.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
teststreaming.c 01248a99c8 Add `default: break;` to switches on SDL_Event::type il y a 1 an
testsurround.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testthread.c fc0c774976 Renamed SDL_ThreadID() to SDL_GetCurrentThreadID() il y a 1 an
testtimer.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testurl.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testutils.c cacac6cc34 Updated structure and field names for consistency il y a 1 an
testutils.h 5b3ee51c6c Updated copyright for 2024 il y a 1 an
testver.c cacac6cc34 Updated structure and field names for consistency il y a 1 an
testviewport.c 31d133db40 Define SDL_PLATFORM_* macros instead of underscored ones (#8875) il y a 1 an
testvulkan.c 33eaddc565 Cleaned up various type conversion issues il y a 1 an
testwaylandcustom.c 3b55c7d1f4 Shortened SDL property names il y a 1 an
testwm.c 5ddd97062e Added test code to validate SDL_WaitEventTimeout() il y a 1 an
testyuv.bmp a6a4e27ae8 Updated SDL's YUV support, many thanks to Adrien Descamps il y a 7 ans
testyuv.c 88dcf74588 testyuv: we no longer need to override the HDR headroom for the BT.2020 test il y a 1 an
testyuv_cvt.c f2cd361e25 testyuv: added validation of P010 YUV format il y a 1 an
testyuv_cvt.h f2cd361e25 testyuv: added validation of P010 YUV format il y a 1 an
torturethread.c 5b3ee51c6c Updated copyright for 2024 il y a 1 an
trashcan.bmp 2de9253b6c test: Added testaudio il y a 1 an
unifont-13.0.06-license.txt f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) il y a 3 ans
unifont-13.0.06.hex f9bf1aeba8 Latest Unifont with OFL is now bundled. (#4268) il y a 3 ans
utf8.txt 3dcb451f85 Added a README file regarding WinRT support il y a 11 ans

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
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
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!