Commit Graph

  • a506d798d8 Don't try to open the Razer Huntsman Elite keyboard as a controller Sam Lantinga 2022-12-12 18:00:57 -08:00
  • 12486e144b wasapi: Fixed incorrect assertions. Ryan C. Gordon 2022-12-12 16:07:48 -05:00
  • 90a964f132 wayland: Set xdg surface geometry Frank Praznik 2022-12-05 15:33:01 -05:00
  • 618340bf99 Added support for the STRIKEPAD PS4 Grip Add-on to the HIDAPI driver Sam Lantinga 2022-12-12 10:54:29 -08:00
  • 9eb4d1f020 cmake: use FindALSA.cmake to find ALSA libraries Anonymous Maarten 2022-12-12 00:18:06 +01:00
  • 053ce39d67 N3DS: Semaphore fixes. (#6776) Pierre Wendling 2022-12-11 14:27:16 -05:00
  • bb6abd7b03 Remove OutDir and IntDir from GDK projects Kelly Gravelyn 2022-12-09 13:49:26 -08:00
  • e5a470d0d3 Update DYNAPI SDL_WinRTRunApp() prototype which was wrong (see #6783) Sylvain 2022-12-10 17:54:16 +01:00
  • 3d190ebcb4 SDL_dynapi_procs: fixed SDL_UIKitRunApp prototype (see #6783) Sylvain 2022-12-10 17:45:56 +01:00
  • a38ea6bad2 SDL_assert: remove old define for obsolete naming Sylvain 2022-12-10 17:21:51 +01:00
  • f906c52ee6 SDL_assert: remove old naming convention (see #6783) Sylvain 2022-12-10 17:19:00 +01:00
  • 2905b6d65a SDL_dynapi_procs: update wrong naming conventions with SDL_AssertState/Data (see #6783) Sylvain 2022-12-10 17:15:14 +01:00
  • 16f8dfcef9 docs: Note that you don't need to free SDL_GetDefaultCursor's results. Ryan C. Gordon 2022-12-09 22:07:22 -05:00
  • 99baebf5eb SDL_dynapi_procs.h: one more space (for diff purpose) Sylvain 2022-12-09 20:42:01 +01:00
  • b7008e4614 SDL_dynapi_procs: remove extra ' ' Sylvain 2022-12-09 20:36:34 +01:00
  • cce1341b5b gendynapi.py: don't generate parameter for '...' - corrected Sylvain 2022-12-09 20:34:13 +01:00
  • f442d0a0ef Revert "gendynapi.py: don't generate parameter for '...'" Sylvain 2022-12-09 20:33:14 +01:00
  • ea8c7df91b gendynapi.py: don't generate parameter for '...' Sylvain 2022-12-09 20:22:44 +01:00
  • 5f89987d7f Fixed extra 'space' (see #6783 Thanks @sezero !) Sylvain 2022-12-09 20:09:17 +01:00
  • 3736005fc4 Added test event logging for SDL_WINDOWEVENT_ICCPROF_CHANGED and SDL_WINDOWEVENT_DISPLAY_CHANGED Sam Lantinga 2022-12-09 10:13:18 -08:00
  • b116dd8eb8 gendynapi.py: add comment for OS-specific API (Thanks @DanielGibson!) Sylvain 2022-12-09 09:27:19 +01:00
  • cfa493c97f Use the current timestamp for keyboard hook events Sam Lantinga 2022-12-08 23:13:13 -08:00
  • 5bc80abe0d Added logging for SDL_DISPLAYEVENT_MOVED Sam Lantinga 2022-12-08 17:03:29 -08:00
  • 7d1bf0a9fe Make sure the display list is up to date for window placement Sam Lantinga 2022-12-08 17:01:18 -08:00
  • a4a80360f5 Added SDL_DISPLAYEVENT_MOVED to detect when display positioning changes Sam Lantinga 2022-12-08 12:46:13 -08:00
  • 98fa97de91 Fixed memory leak when removing existing displays Sam Lantinga 2022-12-08 12:43:23 -08:00
  • 653e484da1 wayland: Handle the Num Lock and Caps Lock modifiers via modifier events Frank Praznik 2022-12-08 10:56:55 -05:00
  • e93769d2c9 Extract the name of a callback paramter Sylvain 2022-12-08 10:16:30 +01:00
  • 67a4094eea Rewrite + gendynapi into python Sylvain 2022-12-07 23:16:10 +01:00
  • c265fb74b0 Renamed AUDIODRIVER and VIDEODRIVER hint/env to AUDIO_DRIVER and VIDEO_DRIVER Sylvain 2022-12-08 10:40:01 +01:00
  • 7ca0d15d64 events: Changed SDL_GetEventState from a macro to a function. Ryan C. Gordon 2022-12-08 00:08:51 -05:00
  • 9a6bcca6b8 Use the correct name for the DualSense controllers Sam Lantinga 2022-12-07 14:53:33 -08:00
  • 9339085593 Added support for the DualSense Edge paddles Sam Lantinga 2022-12-07 14:25:53 -08:00
  • ea714956b6 Clarified where the paddle locations are Sam Lantinga 2022-12-07 14:17:58 -08:00
  • a71ac0eb06 Revert "Add window title to app_ids for different" Sam Lantinga 2022-12-07 07:39:40 -08:00
  • 30bb8f616d wayland: Pass through event timestamps of 0 Frank Praznik 2022-12-05 18:50:22 -05:00
  • 39eab4bf44 Add window title to app_ids for different Lei.Huang 2022-12-05 10:28:31 +08:00
  • e8b1dfef9b Fixed centering the D-pad on some joysticks Sam Lantinga 2022-12-05 13:33:04 -08:00
  • fcafe40948 Removed balls from the joystick API Sam Lantinga 2022-12-05 12:47:48 -08:00
  • 75f1eb9216 Don't assume evdev events and SDL_GetTicks() use the same time source Sam Lantinga 2022-12-05 10:40:16 -08:00
  • 57d34f2e10 Make sure we never get a zero tick_start value Sam Lantinga 2022-12-05 10:17:38 -08:00
  • c468d93760 Removed unnecessary conversion from nanoseconds to milliseconds in SDL_GetTicks() Sam Lantinga 2022-12-05 10:11:22 -08:00
  • 82b01035d1 Reduce the chance of overflow when calculating nanosecond time Sam Lantinga 2022-12-05 09:42:22 -08:00
  • ed6d401616 gendynapi.pl: fix "Use of uninitialized value $7" after commit 0f9482e. Ozkan Sezer 2022-12-05 20:29:56 +03:00
  • af5bda5ef3 Fix warnings 'macro argument should be enclosed in parentheses' Sylvain 2022-12-05 15:20:48 +01:00
  • 8cafde5ecc wayland: Add high-resolution event timestamp support Frank Praznik 2022-12-04 11:45:19 -05:00
  • 4a22ee7277 tests: avoid redefinition warnings for MSVC _CRT_???_NO_DEPRECATE macros Ozkan Sezer 2022-12-05 00:35:20 +03:00
  • 38de07d9e4 Cancel current CI actions when a PR is updated Sam Lantinga 2022-12-04 10:02:22 -08:00
  • 39e39f335e Only cancel previous builds when iterating on pull requests Sam Lantinga 2022-12-04 09:50:06 -08:00
  • d6327a00fb re-applied the SDL_NewAudioStream deconstification, including to its definition Ozkan Sezer 2022-12-04 20:50:20 +03:00
  • d3ba6529e6 Fixed windows build Sam Lantinga 2022-12-04 09:39:55 -08:00
  • ee0e9e979c Move intrinsic includes into a private header Cameron Cawley 2022-11-26 17:12:42 +00:00
  • b4da4ed95a Removed SDL_SensorGetDataWithTimestamp() and SDL_GameControllerGetSensorDataWithTimestamp() Sam Lantinga 2022-12-04 09:21:14 -08:00
  • b8760a3ffe The timestamp_us member of the sensor events has been renamed sensor_timestamp and now represents nanoseconds. Sam Lantinga 2022-12-04 08:31:19 -08:00
  • 73f4aeee6a Pass the event timestamp for joystick events Sam Lantinga 2022-12-03 11:15:50 -08:00
  • f32cdfa096 Fixed presentation reset calculation (thanks @zturtleman!) Sam Lantinga 2022-12-04 09:28:03 -08:00
  • f9ad84fd5d Cancel current CI actions when a PR is updated Sam Lantinga 2022-12-04 09:06:06 -08:00
  • 25e62193f4 just revert the const removal from SDL_NewAudioStream in commit d0bbfdb Ozkan Sezer 2022-12-04 12:56:50 +03:00
  • 202eaeea11 replace windows timeapi.h with mmsystem.h for better compatibility. Ozkan Sezer 2022-12-04 12:50:04 +03:00
  • 36a43eac00 apply const removal changes from SDL_NewAudioStream to dynapi side too. Ozkan Sezer 2022-12-04 12:47:20 +03:00
  • 1f40b9de96 wayland: Pass event timestamps to SDL Frank Praznik 2022-12-03 14:01:19 -05:00
  • 4ffa7f868d Fixed bug libsdl-org#6745 - Check for overflow in SDL_CalculateYUVSize (#6747) Sylvain Becker 2022-12-03 21:22:14 +01:00
  • 5650046f93 Detect Logitech PRO Racing Wheel as wheel Max Bachmann 2022-12-03 09:45:04 +01:00
  • 021d0b7300 Fix wrong clang-tidy modification. This is an integer division. Thanks @meyraud705 (see PR #6725) Sylvain 2022-12-03 13:36:09 +01:00
  • 0f9482ebc3 reran gendynapi.pl to add SDL_GetTicksNS / SDL_DelayNS to SDL_dynapi.sym Ozkan Sezer 2022-12-03 00:33:50 +03:00
  • 1a890808a4 Fixed build Sam Lantinga 2022-12-02 13:11:04 -08:00
  • 1878674477 build: add symbol versioning for SDL Jan Engelhardt 2022-11-24 20:58:10 +01:00
  • 92cd2c0a74 Enable creation of yuv SDL_Surfaces (#6735) Sylvain Becker 2022-12-02 21:53:48 +01:00
  • 0a3262e819 Pass the OS event timestamp for keyboard, mouse, and touch events where possible Sam Lantinga 2022-12-02 09:03:13 -08:00
  • 1f4cc733a1 Removed the nanosecond versions of event and thread primitive waits from the public API Sam Lantinga 2022-12-02 08:29:46 -08:00
  • e2432bbd3b How did PS2 build without a condition variable implementation? Sam Lantinga 2022-12-02 02:29:25 -08:00
  • 8121bbd083 Convert ticks to 64-bit, added nanosecond precision to the API Sam Lantinga 2022-12-02 01:17:17 -08:00
  • 764b899a13 Fix Conditional jump or move depends on uninitialised value(s) eg ./testsprite2 --trackmem Sylvain 2022-12-02 21:11:33 +01:00
  • 4713db1484 Commented out syntax that causes Visual Studio 2019 to complain on every edit Sam Lantinga 2022-12-02 00:43:01 -08:00
  • a3d7dd2464 SDL_sysfilesystem.c (SDL_GetBasePath): fixed the solaris code path. Ozkan Sezer 2022-12-02 06:23:30 +03:00
  • ab916e8a61 fixed corrupted (zero-sized) SDL3-WinRTResource_BlankCursor.cur. Ozkan Sezer 2022-12-02 03:32:00 +03:00
  • bb8adf74e0 cmake/sdlchecks.cmake: make it diff smaller against SDL2 Ozkan Sezer 2022-12-02 03:01:02 +03:00
  • 378b1c286a Fix formatting on Wayland and Pipewire function signatures Frank Praznik 2022-12-01 18:03:36 -05:00
  • ab1f4172e3 Remove SDL_GL_CONTEXT_EGL #6657 (#6683) Sylvain Becker 2022-12-01 23:53:37 +01:00
  • 7237c56499 Detect the G923 (Xbox style) and PXN V900 (PS3 mode) as wheels Sam Lantinga 2022-12-01 14:43:34 -08:00
  • 3c501b963d Clang-Tidy fixes (#6725) Pierre Wendling 2022-12-01 16:07:03 -05:00
  • c2ce44bead More cleanup for #6619 Sam Lantinga 2022-12-01 12:52:48 -08:00
  • 11ef4df207 cmake: rely on targets from the main cmake script Anonymous Maarten 2022-11-30 23:40:34 +01:00
  • 14ffaba399 cmake: build with rpath's, they are removed on install Anonymous Maarten 2022-11-30 23:39:54 +01:00
  • 1dce3f9265 ci: RISCOS is a bool Anonymous Maarten 2022-11-30 23:38:50 +01:00
  • 88b41c47fa ci: do verbose PSP build Anonymous Maarten 2022-11-30 23:38:25 +01:00
  • a463aca0d1 Simplified SDL_CreateRGBSurface* functions Sam Lantinga 2022-12-01 08:53:14 -08:00
  • 1e7e25626b Use SDL_PIXELFORMAT_RGB565, which is the most common 16-bit format Sam Lantinga 2022-12-01 08:34:41 -08:00
  • a01759f8f0 Fixed 16-bit RGBA masks Sam Lantinga 2022-12-01 08:32:57 -08:00
  • c30b2063e0 Clarified the migration path for SDL_CreateSurface() Sam Lantinga 2022-12-01 08:26:32 -08:00
  • 932f61348d Remove mask versions of SDL_CreateRGBSurface* #6701 (#6711) Sylvain Becker 2022-12-01 17:04:02 +01:00
  • 778b8926b4 Small format changed (using clang-format 15.0.2-1) Sylvain 2022-12-01 09:39:08 +01:00
  • 45025799b7 restore SDL_malloc.c original formatting. Ozkan Sezer 2022-12-01 03:11:00 +03:00
  • b3b94cf36b Fix xcode project after opengles renderer removal Sasha Szpakowski 2022-11-30 20:40:49 -04:00
  • 36c5d5cc65 Added support for the Logitech Cordless Precision PS3 controller Sam Lantinga 2022-11-30 17:03:29 -08:00
  • 4f9c2b3e2e Added support for the HORIPAD Pro for Xbox Series X Sam Lantinga 2022-11-30 16:42:00 -08:00
  • e2df0a9d5a Re-enabled support for third party PS3 controllers Sam Lantinga 2022-11-30 16:37:20 -08:00
  • 27e8eb4ca8 Fixed Victrix FS Pro V2 controller hang on reboot Sam Lantinga 2022-11-30 15:39:10 -08:00
  • f8c3528c55 Fixed crash if GetRectDisplayIndex() is called before SDL_VideoInit() Sam Lantinga 2022-11-30 14:37:34 -08:00
  • 1e2dfdb019 Removed the OpenGL ES 1.0 2D render implementation Sam Lantinga 2022-11-30 13:21:49 -08:00