sdl2_frt/test
Cameron Gutman 6b057c6783 Expose separate keyboard and mouse grab support
This adds SDL_SetWindowKeyboardGrab(), SDL_GetWindowKeyboardGrab(),
SDL_SetWindowMouseGrab(), SDL_GetWindowMouseGrab(), and new
SDL_WINDOW_KEYBOARD_GRABBED flag. It also updates the test harness to exercise
this functionality and makes a minor fix to X11 that I missed in
https://hg.libsdl.org/SDL/rev/02a2d609369b

To fit in with this new support, SDL_WINDOW_INPUT_CAPTURE has been renamed to
SDL_WINDOW_MOUSE_CAPTURE with the old name remaining as an alias for backwards
compatibility with older code.
2021-02-10 10:22:17 -05:00
..
emscripten
nacl
shapes
acinclude.m4 minor update to test/acinclude.m4 (pkg.m4) 2020-12-30 15:53:20 +03:00
autogen.sh
axis.bmp
button.bmp
checkkeys.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
CMakeLists.txt Fixed bug 5072 - Test resources missing when building with SDL_TEST and CMake 2020-04-05 08:46:59 -07:00
configure minor autotools build system updates. 2021-01-24 00:51:25 -05:00
configure.ac minor autotools build system updates. 2021-01-24 00:51:25 -05:00
controllermap_back.bmp Be explicit about mapping the new game controller paddle buttons 2020-11-07 02:22:15 -08:00
controllermap.bmp Be explicit about mapping the new game controller paddle buttons 2020-11-07 02:22:15 -08:00
controllermap.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
COPYING
gcc-fat.sh
icon.bmp
loopwave.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
loopwavequeue.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
Makefile.in Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 2021-01-24 00:51:24 -05:00
Makefile.os2 test/Makefile.os2: add warning switches to CFLAGS. 2020-12-24 00:29:40 +03:00
moose.dat
picture.xbm
README locale: Implemented SDL_GetPreferredLocales(). 2020-05-04 02:27:29 -04:00
relative_mode.markdown
sample.bmp
sample.wav
testatomic.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testaudiocapture.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testaudiohotplug.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testaudioinfo.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testautomation_audio.c
testautomation_clipboard.c
testautomation_events.c
testautomation_hints.c
testautomation_keyboard.c
testautomation_main.c
testautomation_mouse.c
testautomation_pixels.c Added SDL_PIXELFORMAT_BGR444 2019-11-02 22:58:52 +00:00
testautomation_platform.c Fixed a bunch of compiler warnings. 2017-08-29 15:52:49 -04:00
testautomation_rect.c
testautomation_render.c
testautomation_rwops.c use SDL_zeroa at more places where the argument is an array. 2019-07-31 05:11:40 +03:00
testautomation_sdltest.c Fix some format specifier warnings 2020-03-25 01:34:15 -04:00
testautomation_stdlib.c
testautomation_suites.h
testautomation_surface.c Added SDL_PIXELFORMAT_BGR444 2019-11-02 22:58:52 +00:00
testautomation_syswm.c
testautomation_timer.c
testautomation_video.c Expose separate keyboard and mouse grab support 2021-02-10 10:22:17 -05:00
testautomation.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testbounds.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testcustomcursor.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testdisplayinfo.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testdraw2.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testdrawchessboard.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testdropfile.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testerror.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testevdev.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testfile.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testfilesystem.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testgamecontroller.c testgamecontroller: log which controller the event came from 2021-01-13 11:01:54 -08:00
testgesture.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testgl2.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testgles2_sdf_img_normal.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 2021-01-24 00:51:24 -05:00
testgles2_sdf_img_sdf.bmp Add basic testgles2_sdf program to demonstrate sign distance field with opengles2 2021-01-24 00:51:24 -05:00
testgles2_sdf.c Fix declarations after statement 2021-01-24 00:51:24 -05:00
testgles2.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testgles.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testhaptic.c test: replace some exit()s with returns. 2019-09-10 10:03:20 +03:00
testhittesting.c
testhotplug.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testiconv.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testime.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testintersections.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testjoystick.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testkeys.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testloadso.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testlocale.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testlock.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testmessage.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testmultiaudio.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testnative.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testnative.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testnativecocoa.m
testnativeos2.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testnativew32.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testnativex11.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testoffscreen.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testoverlay2.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testplatform.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testpower.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testqsort.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testrelative.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testrendercopyex.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testrendertarget.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testresample.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testrumble.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testscale.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testsem.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testsensor.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testshader.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testshape.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testsprite2.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testspriteminimal.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
teststreaming.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testthread.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testtimer.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testurl.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testver.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testviewport.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testvulkan.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testwm2.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testyuv_cvt.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testyuv_cvt.h Updated copyright for 2021 2021-01-02 10:25:38 -08:00
testyuv.bmp Updated SDL's YUV support, many thanks to Adrien Descamps 2017-11-12 22:51:12 -08:00
testyuv.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
torturethread.c Updated copyright for 2021 2021-01-02 10:25:38 -08:00
utf8.txt

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