Commit Graph

  • ee559d51be Add SDL_MOUSE_RELATIVE_CURSOR_VISIBLE (#7947) expikr 2024-06-16 06:21:29 -07:00
  • 177dfddaf7 simplify OpenBSD D-pad calculation with bitwise operation (#7996) rfht 2023-07-17 20:01:23 -06:00
  • 510f413bb8 coreaudio: simplify memory leak fix. Ryan C. Gordon 2024-06-15 11:42:44 -04:00
  • 17af09f3a9 coreaudio: simplify memory leak fix. Ryan C. Gordon 2024-06-15 11:42:44 -04:00
  • 7c2329cd78 wikiheaders: Fix C typedef parsing. Ryan C. Gordon 2024-06-15 11:31:17 -04:00
  • 51f90f308b Fixed spacing Sam Lantinga 2024-06-15 08:10:48 -07:00
  • a9da8dd22d Addressed memory leak in SDL_coreaudio.m obeecodes 2024-06-15 00:32:36 -04:00
  • 3b5dce10c4 Addressed memory leak in SDL_coreaudio.m obeecodes 2024-06-15 00:32:36 -04:00
  • e388e377aa audio: Refer to audio devices to "playback" and "recording" Sam Lantinga 2024-06-15 08:00:33 -07:00
  • a64960cfc0 SDL_GLContext is not a void* pointer anymore Anonymous Maarten 2024-06-15 14:44:09 +02:00
  • 63138c79af Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-15 05:09:09 +00:00
  • b83ab7eb12 audio: Remove const from an SDL_bool parameter in SDL_AddAudioDevice. Ryan C. Gordon 2024-06-14 22:21:21 -04:00
  • 38f0214e8a audio: Refer to audio devices to "playback" and "recording". Ryan C. Gordon 2024-06-14 17:57:14 -04:00
  • 031dc0743f Use an opaque struct typedef for SDL_GLContext Anonymous Maarten 2024-06-14 19:56:33 +02:00
  • 325465935d SDL_events.c: remove long long casts an the override of SDL_PRIs64 Ozkan Sezer 2024-06-14 18:47:56 +03:00
  • 1cdd37b32c always define PRI?64 using 'I64' when targeting windows Ozkan Sezer 2024-06-01 01:15:02 +03:00
  • 41532e84cb wayland: Prevent a possible crash when determining the display for a minimized window Frank Praznik 2024-06-14 12:25:13 -04:00
  • a98774e62c Check the Xft/DPI XSETTINGS Emmanuele Bassi 2024-06-13 15:41:43 +01:00
  • e049098733 Query XSETTINGS for the content scale factor Emmanuele Bassi 2024-06-13 15:35:11 +01:00
  • 61dafb3b2f Add XSETTINGS support to x11 driver Emmanuele Bassi 2023-11-30 16:36:22 +00:00
  • a4d240d295 SDL_events.c: remove long long casts an the override of SDL_PRIs64 Ozkan Sezer 2024-06-14 18:47:56 +03:00
  • d6da494c1c un-revert commit 65d911a: Ozkan Sezer 2024-06-14 18:37:50 +03:00
  • 9422c57201 revert commit ac25395 as it broke linux.. Ozkan Sezer 2024-06-14 14:56:32 +03:00
  • e25a7e88ce revert commit 65d911a as it broke linux.. Ozkan Sezer 2024-06-14 14:56:24 +03:00
  • ac253956b9 SDL_events.c: override of SDL_PRIs64 for mingw is no longer needed Ozkan Sezer 2024-06-14 14:51:10 +03:00
  • 65d911aff0 SDL_events.c: override of SDL_PRIs64 for mingw is no longer needed Ozkan Sezer 2024-06-14 14:50:50 +03:00
  • 948b926d47 SDL_qsort.c: better match private funcs' compare args to SDL3 version. Ozkan Sezer 2024-06-14 14:50:32 +03:00
  • 499bff9c3a SDL_qsort.c: fix calling conventions of private functions' compare args Ozkan Sezer 2024-06-14 14:50:10 +03:00
  • 143d5d779c Sync SDL2 wiki -> header SDL Wiki Bot 2024-06-14 06:11:54 +00:00
  • 51902d4ac5 Updated headers with latest wikiheaders tweaks. Ryan C. Gordon 2024-06-14 02:09:55 -04:00
  • c0c0c64a1d wikiheaders: Some quick scripting to make params/return info consistent. Ryan C. Gordon 2024-06-14 01:57:48 -04:00
  • 5bc654aad3 camera: SDL_GetCameraDeviceName() now follows the SDL_GetStringRule. Ryan C. Gordon 2024-06-13 18:13:51 -04:00
  • 2ad7c70ac6 documentation: clean up a minor syntax issue. Ryan C. Gordon 2024-06-13 18:10:28 -04:00
  • 466886049c SDL_main.h: fix up SDL_main_func documentation to match SDL_main. Ryan C. Gordon 2024-06-13 18:08:40 -04:00
  • 2253c3cacf Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-13 21:49:55 +00:00
  • 0635112119 Added SDL_HINT_WINDOWS_ERASE_BACKGROUND_MODE (thanks @lostgoat!) Sam Lantinga 2024-06-13 14:54:36 -07:00
  • d46b8bc54e Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-13 21:31:58 +00:00
  • 9d3d893322 testcamera: Report device name and SDL camera driver in the window title. Ryan C. Gordon 2024-06-13 17:05:06 -04:00
  • fa3e22c5da Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-13 21:04:27 +00:00
  • 12119cbaad include: Several documentation tweaks; cleaned up new wikiheaders warnings. Ryan C. Gordon 2024-06-13 17:03:31 -04:00
  • a9d0eaf34a wikiheaders: Warn if a function returns non-void but has no \returns line. Ryan C. Gordon 2024-06-13 16:45:59 -04:00
  • 49f2a3463f Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-13 19:34:29 +00:00
  • 6821fb2fe4 Fixed the right trigger on the Nintendo SNES Controller in simple report mode Sam Lantinga 2024-06-13 11:35:29 -07:00
  • a3cc900157 Fixed Nintendo Switch triggers when in simple report mode Sam Lantinga 2024-06-13 11:25:01 -07:00
  • 4eb08a6154 x11: Ungrab before attempting a confinement grab with XInput2 enabled Frank Praznik 2024-06-13 12:39:20 -04:00
  • 4919359a6f Fix compilation with enabled render commands logging Mykola Rubets 2024-06-13 19:25:01 +03:00
  • bd06e43b87 Re-enable full controller reports for Joy-Con controllers Sam Lantinga 2024-06-12 23:36:16 -07:00
  • 72e5620202 Try to guess the type of a Nintendo Switch controller if we can't read the device info Sam Lantinga 2024-06-12 23:22:44 -07:00
  • fbb9646806 Ignore spurious reply packets when reading Nintendo Switch controller reports Sam Lantinga 2024-06-12 23:03:50 -07:00
  • 169f77ed5e Re-enable full controller reports for Joy-Con controllers Sam Lantinga 2024-06-12 23:36:16 -07:00
  • 6b9bf71133 Try to guess the type of a Nintendo Switch controller if we can't read the device info Sam Lantinga 2024-06-12 23:22:44 -07:00
  • f1b19aa744 Ignore spurious reply packets when reading Nintendo Switch controller reports Sam Lantinga 2024-06-12 23:03:50 -07:00
  • bf27269952 Re-enable full controller reports for Joy-Con controllers Sam Lantinga 2024-06-12 23:36:16 -07:00
  • 6619de8f24 Try to guess the type of a Nintendo Switch controller if we can't read the device info Sam Lantinga 2024-06-12 23:22:44 -07:00
  • 5ee9a840b1 Ignore spurious reply packets when reading Nintendo Switch controller reports Sam Lantinga 2024-06-12 23:03:50 -07:00
  • fcd2a3a6ad Fixed mapping for Joy-Con controllers in simple report mode Sam Lantinga 2024-06-12 22:28:47 -07:00
  • 9f984e6fb4 testcontroller: fixed showing analog axis values Sam Lantinga 2024-06-12 22:27:54 -07:00
  • 674cc04ef4 Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-13 02:25:45 +00:00
  • 80a907e0e6 Backed out the viewport and cliprect changes in 9fb5a9ccac Sam Lantinga 2024-06-12 19:08:06 -07:00
  • ce6d3c5cc1 SDL_qsort.c: change private function compare args to SDL_CompareCallback Ozkan Sezer 2024-06-13 04:50:56 +03:00
  • b2ccfc0b6f Log whether a controller is Bluetooth or not Sam Lantinga 2024-06-12 16:33:19 -07:00
  • 99f0309ac1 Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-12 23:34:42 +00:00
  • 97ec4b0937 wikiheaders: fixed to work with not-SDL3 projects. Ryan C. Gordon 2024-06-12 16:54:19 -04:00
  • fe620f0345 wikiheaders: List parameter and return value datatypes. Ryan C. Gordon 2024-06-12 15:49:59 -04:00
  • b2b2369414 Moved function pointer params to typedefs, etc, for latest wikiheaders. Ryan C. Gordon 2024-06-12 18:36:59 -04:00
  • 3e70376bce Enabled HIDAPI debug logging for diagnostic purposes Sam Lantinga 2024-06-12 15:03:14 -07:00
  • 9e3e489012 Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-12 19:10:53 +00:00
  • 5416bd5fdc ios: Move animation callback to its own typedef. Ryan C. Gordon 2024-06-12 15:07:39 -04:00
  • 5b0f14a936 Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-12 17:19:08 +00:00
  • 9fb5a9ccac Use floating point values for viewport, clip rectangle, and texture sizes Sam Lantinga 2024-06-12 09:21:02 -07:00
  • 463984ec20 Make sure the output settings match the camera device format Sam Lantinga 2024-06-11 20:40:21 -07:00
  • 876f10795f Don't set a YCbCr colorspace for an RGB texture Sam Lantinga 2024-06-11 19:58:20 -07:00
  • 2d13fefc20 Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-12 02:20:21 +00:00
  • a4bb93e8e4 Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-12 01:34:03 +00:00
  • 32907a9606 Rename SDL_Swap(16|32|64)(LE|BE) to SDL_Swap(LE|BE)(16|32|64) Anonymous Maarten 2024-06-12 01:08:19 +02:00
  • ef6123886e Add SDL_ReadS8 and SDL_WriteS8 Anonymous Maarten 2024-06-12 00:39:36 +02:00
  • 96bb06d9c7 wikiheaders: Clean out extra blank lines in function declarations on wiki. Ryan C. Gordon 2024-06-11 12:37:41 -04:00
  • 386aa56711 wikiheaders: Make cleaning out function attributes more generic. Ryan C. Gordon 2024-06-11 12:29:04 -04:00
  • f003461a0b Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-11 16:23:27 +00:00
  • 96f2ef77ab include: Make function pointer params into typedefs. Ryan C. Gordon 2024-06-11 12:17:22 -04:00
  • 391a63f29f Check raw keyboard input in checkkeys Sam Lantinga 2024-06-11 09:09:12 -07:00
  • b53f6cf77a wikiheaders: Removed a FIXME comment. Ryan C. Gordon 2024-06-11 11:37:45 -04:00
  • 8e782602de wikiheaders: Fixes and cleanups to fix SDL_ReportAssertion's wiki page. Ryan C. Gordon 2024-06-11 11:29:44 -04:00
  • c3a4b15a74 wikiheaders: Don't present printf-support compiler metadata in wiki. Ryan C. Gordon 2024-06-11 10:58:02 -04:00
  • 66aac9aced Fixed channel order typo Sam Lantinga 2024-06-10 18:05:31 -07:00
  • 454d890bef Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-11 00:57:54 +00:00
  • d3a62d8298 audio: Update docs on channel ordering. Ryan C. Gordon 2024-06-10 20:56:28 -04:00
  • ed5993d1cb Removed unused variable Sam Lantinga 2024-06-10 15:01:41 -07:00
  • 44f66b5c8b Show the cursor when relative mode is enabled and the app doesn't have focus Sam Lantinga 2024-06-10 14:56:16 -07:00
  • 0cc61b27a2 SDL takes care of handling mouse relative mode on focus change Sam Lantinga 2024-06-10 14:55:41 -07:00
  • 657c0135b1 android: android release binary should only contain a shared SDL3 library Anonymous Maarten 2024-06-10 16:41:17 +02:00
  • dd0bb25f66 cmake: remove SDL_STATIC_PIC cmake option. Anonymous Maarten 2024-06-10 16:39:30 +02:00
  • 4ce4fc575a Fixed mapping between Apple YUV formats and SDL formats Sam Lantinga 2024-06-10 08:57:36 -07:00
  • 4fc68a48f2 Keep track of whether a controller was a gamepad Sam Lantinga 2024-06-09 17:42:27 -07:00
  • 20fccdabf4 Fixed crashes when passed a NULL hashtable Sam Lantinga 2024-06-09 17:30:11 -07:00
  • 8ddf05855b iostream: clarified SDL_IO_STATUS_READY documentation. Ryan C. Gordon 2024-06-09 13:21:07 -04:00
  • 3e018517c3 Fixed build errors after SDL_IOWhence change Sam Lantinga 2024-06-09 08:26:29 -07:00
  • 9651ca5918 Sync SDL3 wiki -> header SDL Wiki Bot 2024-06-09 05:52:14 +00:00
  • 6110405c07 include: Fill in some documentation gaps. Ryan C. Gordon 2024-06-09 01:51:30 -04:00
  • 7d54a37d74 iostream: Make seeking's whence value a real enum. Ryan C. Gordon 2024-06-09 01:50:12 -04:00