Commit Graph

  • 67c42cb44c Fixed Windows build Sam Lantinga 2021-11-08 22:16:01 -08:00
  • fd79607eb0 Added SDL_GetWindowMouseRect() Sam Lantinga 2021-11-08 21:34:48 -08:00
  • 4db546b092 Implemented SDL_SetWindowMouseRect() on macOS Sam Lantinga 2021-11-08 20:35:12 -08:00
  • 037030a7a2 Install SDL_hidapi.h Sam Lantinga 2021-11-08 20:26:40 -08:00
  • 9c95c2491c x11: Use XCheckIfEvent() instead of XNextEvent() for thread-safety Cameron Gutman 2021-11-08 20:01:56 -06:00
  • e9dae813d9 CI: disable fail-fast to avoid aborting build when one platform fails Cameron Gutman 2021-11-08 20:14:08 -06:00
  • 2d23d66a61 Fixed SetWindowMouseRect return value on Windows Sam Lantinga 2021-11-08 16:33:50 -08:00
  • 7d21322df1 Implemented SDL_SetWindowMouseRect() on Windows Sam Lantinga 2021-11-08 16:29:19 -08:00
  • 684b3b312a regenerated configure script. Ozkan Sezer 2021-11-09 02:30:28 +03:00
  • 4b42c05ba1 video: Add SDL_SetWindowMouseRect. Ethan Lee 2021-11-08 13:52:48 -05:00
  • 1a98dcb6aa Revert "include: Updated SDL_config_emscripten.h from emscripten-ports." Ryan C. Gordon 2021-11-08 15:16:18 -05:00
  • dcc919096f autotools: initial adjustments after the recent hidapi changes. Ozkan Sezer 2021-11-08 22:28:00 +03:00
  • 2636d839e3 cmake: add hidapi to 'SDL_SUBSYSTEMS' Ozkan Sezer 2021-11-08 22:25:32 +03:00
  • 1739ef3ee1 sdlchecks.cmake: remove libusb/hid.c and SDL_hidapi.c additions to srcs Ozkan Sezer 2021-11-08 22:00:02 +03:00
  • 36067fa129 cmake: include hid.cpp in android sources Ozkan Sezer 2021-11-08 21:35:24 +03:00
  • 84138b7719 minor update to os2 config file. Ozkan Sezer 2021-11-08 21:15:04 +03:00
  • 001aa4dab8 cmake: more hidapi fixes. Ozkan Sezer 2021-11-08 21:12:02 +03:00
  • a3e8fd49e6 Cancel any accumulated mouse wheel motion in the opposite direction when the wheel direction changes Sam Lantinga 2021-11-08 09:58:11 -08:00
  • 5dbbc8e61f Added mouse wheel deltas with floating point precision Sam Lantinga 2021-11-08 09:44:31 -08:00
  • d95a52c9a5 Fixed comment typo Sam Lantinga 2021-11-08 09:39:21 -08:00
  • fc998b8ec9 wayland: Return true for HasScreenKeyboardSupport only if no physical keyboard exists Ethan Lee 2021-11-08 12:37:10 -05:00
  • 4bbbe5f84c Fixed CMake build by adding hidapi files Sam Lantinga 2021-11-08 09:28:36 -08:00
  • b8327a4a48 Added SDL_HIDAPI_DISABLED so it can be disabled like other SDL subsystems Sam Lantinga 2021-11-08 07:19:45 -08:00
  • 2a6feb5011 Removed accidental debugging commit (thanks @DomGries!) Sam Lantinga 2021-11-08 07:10:38 -08:00
  • 6c56e27511 Set both _NET_WM_NAME and WM_NAME so SDL windows can be shared in the browser. Sam Lantinga 2021-11-08 07:05:17 -08:00
  • 301819cd1d SDL_windowsmouse.c: Fix WIN_CreateCursor does not scale with system cursor size preference Yufei Huang 2021-11-08 20:34:20 +08:00
  • f61b10dcf1 Do more robust validation of devices passed to the SDL HIDAPI functions Sam Lantinga 2021-11-08 06:34:32 -08:00
  • dd8c354843 SDL_hidapi.c: avoid possible NULL pointer dereferences. Ozkan Sezer 2021-11-08 17:00:56 +03:00
  • 2a904aa1c9 os2: remove SDL_hidapi duplications in makefile, disable it in config. Ozkan Sezer 2021-11-08 17:00:28 +03:00
  • 5b646cd19e Build hidapi code into SDL as a new public API Sam Lantinga 2021-11-07 22:58:44 -08:00
  • 94c1276a5f emscripten: Decrease vertical scroll speed by using deltaMode Thomas Ballinger 2021-11-07 20:49:32 -05:00
  • 6657cbce8d include: Updated SDL_config_emscripten.h from emscripten-ports. Ryan C. Gordon 2021-11-07 20:43:49 -05:00
  • f6dc47caef WGI/DInput: Fix SDL_IsXInputDevice() checks when RawInput is enabled Cameron Gutman 2021-11-07 16:00:47 -06:00
  • 74f35a7cbd Fixed documentation Sam Lantinga 2021-11-07 14:10:04 -08:00
  • 301389cecc Fixed iOS build Sam Lantinga 2021-11-07 13:52:59 -08:00
  • b3e909dc41 WGI: Fix SDL_IsXInputDevice() for Xbox One controllers Cameron Gutman 2021-11-07 13:51:34 -06:00
  • dd85cc0195 Fixed whitespace Sam Lantinga 2021-11-07 13:17:54 -08:00
  • 80d19282f7 If Android version >= API 23 PendingIntent.FLAGIMMUTABLE FormularSumo 2021-08-19 11:40:09 +01:00
  • b8c00bf914 Allow opening joysticks that are read-only on Linux Sam Lantinga 2021-11-07 13:11:29 -08:00
  • 0323d983c6 Add the platform to the game controller mapping so it can be read back in without changes Sam Lantinga 2021-11-07 12:52:06 -08:00
  • d950b9e2d9 emscripten: Make timers work (if used with emscripten_set_main_loop) Charlie Birks 2021-11-07 20:40:54 +00:00
  • fe2fe29049 Backed out accidentally committed PR https://github.com/libsdl-org/SDL/pull/4849 Sam Lantinga 2021-11-07 11:48:16 -08:00
  • 86bc65a741 Fixed non-Apple builds Sam Lantinga 2021-11-07 11:35:12 -08:00
  • 637bcd0b72 Fixed build warnings Sam Lantinga 2021-11-07 11:19:07 -08:00
  • e14358265e Cleanup sfSymbolName support and add them to the dynamic API functions Sam Lantinga 2021-11-07 11:16:48 -08:00
  • 149e5c656a Support returning sfSymbolsName for gamepad controls on macOS / iOS / tvOS Patrick Hogan 2021-10-03 12:49:36 -05:00
  • cdb4d8f22f Added a test case for snprintf of 0.0 Sam Lantinga 2021-11-07 09:39:57 -08:00
  • 3acb172531 stdlib: SDL_snprintf now adds decimal places for ("%f", 0.0). Ryan C. Gordon 2021-11-07 12:26:39 -05:00
  • 2008f2a8a6 SDL_test_font.c: fix type of SDLTest_CharTextureCacheList Eric Wasylishen 2021-11-07 01:41:34 -07:00
  • a0e055a7f9 testwm2: add mode menu, click on a mode to call SDL_SetWindowDisplayMode Eric Wasylishen 2021-11-07 02:48:29 -07:00
  • 70f7ebe635 SDL_test_font.c: add ability to draw on different SDL_Renderers Eric Wasylishen 2021-11-07 01:46:04 -06:00
  • 6312aaea0f WGI: Add workaround for delayed callbacks after WGI_JoystickQuit() Cameron Gutman 2021-11-06 21:52:22 -05:00
  • 35b0baaa7a Unfixed typo Sam Lantinga 2021-11-06 19:25:06 -07:00
  • 1d40c69a1b Fixed typo Sam Lantinga 2021-11-05 22:52:03 -07:00
  • 2248a54937 Update the focus in case we changed focus to a child window and then away from the application Sam Lantinga 2021-11-05 22:48:46 -07:00
  • 5de723749f SDL_config_windows.h: detect winsdkver.h using __has_include() Cameron Gutman 2021-11-05 21:06:58 -05:00
  • c48c81bd17 docs: List the required Fedora packages in README-linux.md Cameron Cawley 2021-11-06 00:00:17 +00:00
  • 6407d4b0a8 remove unnecessary parentheses from SDL_abs() Ozkan Sezer 2021-11-05 17:10:02 +03:00
  • 6cbee0634e include: Swap parameter names in atan2 functions Kevin Colour 2021-11-05 01:17:29 -07:00
  • 7f308abb55 cmake: Only prevent MSVC codegen using the CRT if SDL_LIBC=OFF Cameron Gutman 2021-11-04 01:02:48 -05:00
  • d8b53e821e direct3d11: fix SDK version requirement for non-CMake build Cameron Gutman 2021-11-03 19:51:18 -05:00
  • 802e17aad9 autotools: added windows.gaming.input.h (and SDL_JOYSTICK_WGI) detection Ozkan Sezer 2021-11-03 20:35:20 +03:00
  • 2371b247ff windows: improve feature detection consistency between CMake and non-CMake builds Cameron Gutman 2021-10-31 18:27:51 -05:00
  • 839ca0ea64 SDL_OpenURL (macOS): try to open path if the url cannot be opened (#4830) superzazu 2021-11-03 16:35:24 +01:00
  • e2ba84a532 testtimer: Be more like the C90's. Eddy Jansson 2021-11-02 19:30:17 +01:00
  • 4ab7ee1925 testtimer: Add basic sanity check for SDL_GetTicks*() Eddy Jansson 2021-11-02 18:58:06 +01:00
  • 8593076da7 Fixed whitespace Sam Lantinga 2021-11-02 16:04:36 -07:00
  • 62629c2b5d Fix 64-bit timeval/timespec delta calculations Brick 2021-11-02 22:17:41 +00:00
  • 6d5edfa733 Fixed crash on Android 8, due to bugs in AAudio implementation Sam Lantinga 2021-11-02 15:59:26 -07:00
  • c948b9366c Added note for Android 12 API level Sam Lantinga 2021-11-02 15:57:24 -07:00
  • 43ddc59fa8 Export SDL_LinuxSetThreadPriorityAndPolicy() function (#4877) Frank Praznik 2021-11-02 16:56:14 -04:00
  • 848d7b1254 Vita: Implement command batching Ivan Epifanov 2021-11-02 16:12:55 +03:00
  • 3f7a94fc94 Vita: Remove FillRects Ivan Epifanov 2021-11-02 15:16:48 +03:00
  • f73376ae24 events: Add logging for SDL_CONTROLLERTOUCHPAD*, SDL_CONTROLLERSENSORUPDATE, and SDL_SENSORUPDATE events Cameron Gutman 2021-11-02 00:31:25 -05:00
  • 2379c52849 os/2: Don't try to be clever with the 32-bit GetTicks fallback. Ryan C. Gordon 2021-10-25 11:04:42 -04:00
  • d78cb9e903 testtimer: added SDL_GetTicks64() calls. Ryan C. Gordon 2021-10-23 19:27:10 -04:00
  • 228219dcd4 include: Improved SDL_GetTicks*() documentation a little. Ryan C. Gordon 2021-10-23 15:30:45 -04:00
  • cca79d32a2 android: Patched SDL_GetTicks64() to compile. Ryan C. Gordon 2021-10-23 15:30:20 -04:00
  • affb183ea4 unix: Fixed SDL_GetTicks64 function signature. Ryan C. Gordon 2021-10-23 15:20:32 -04:00
  • 99c9727dc0 timer: Added SDL_GetTicks64(), for a timer that doesn't wrap every ~49 days. Ryan C. Gordon 2021-10-23 15:00:31 -04:00
  • 0d631c741f CI: Build tests for Windows, macOS, and Linux Cameron Gutman 2021-10-30 12:10:03 -05:00
  • 210713a600 cmake: Work around bug in opengl32.lib detection on MSVC ARM64 Cameron Gutman 2021-10-31 19:11:09 -05:00
  • 77141e84e0 cmake: Fix test linking with MinGW Cameron Gutman 2021-10-31 18:53:11 -05:00
  • 618b0d414f cmake: Remove SDL2_test_resources dummy hack Cameron Gutman 2021-10-30 12:05:11 -05:00
  • 16845eef29 cmake: Add SDL include path when building tests Cameron Gutman 2021-10-30 12:06:58 -05:00
  • 7e8469d196 cmake: Fix MinGW build break in WGI joystick driver Cameron Gutman 2021-10-31 09:31:25 -05:00
  • fba82ad1cb Remove sceGxmFinish from RenderPresent on Vita. Make sure that rendering is finished on render texture during locking Northfear 2021-10-31 12:38:08 +02:00
  • f3640e26a4 tests: minor update to acinclude.m4::pkg.m4 Ozkan Sezer 2021-10-31 08:47:00 +03:00
  • cc3fe1a182 tests: don't fail configury if libunwind is not available. Ozkan Sezer 2021-10-31 08:25:24 +03:00
  • c401627793 testsurround.c: remove unnecessary libc includes and stdint.h types Ozkan Sezer 2021-10-31 08:14:50 +03:00
  • e28e399338 testsurround.c: add missing newline at end of file. Ozkan Sezer 2021-10-31 08:00:20 +03:00
  • a01aaf053c Fixed compiler warning Sam Lantinga 2021-10-30 21:42:07 -07:00
  • cd66c050fe testsurround: Add surround sound channel tester Cameron Gutman 2021-10-29 01:11:59 -05:00
  • 27369b3e40 docs: Add README-riscos.md Cameron Cawley 2021-10-29 23:28:50 +01:00
  • ce09389167 Add RISC OS builds to GitHub Actions Cameron Cawley 2021-10-26 23:10:30 +01:00
  • 4d3da5b75b riscos: Disable the mouse pointer for now Cameron Cawley 2021-10-26 21:51:29 +01:00
  • 1c256b892e riscos: Fix enumerating screen modes Cameron Cawley 2021-10-26 13:42:34 +01:00
  • 5a3c97f3a3 riscos: Fix detection of the current mode Cameron Cawley 2021-10-25 22:55:02 +01:00
  • 53b3db0c5d Handle the KMOD_SCROLL modifier on RISC OS Cameron Cawley 2021-09-28 17:59:16 +01:00
  • 1268984edc Implement mouse input on RISC OS Cameron Cawley 2021-09-09 21:09:50 +01:00