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

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!