Commit Graph

  • 4e375996d3 Added a hint to return the version in the old format Sam Lantinga 2022-09-26 17:06:18 -07:00
  • b7fddb4c0e Minor tweaks Sam Lantinga 2022-09-26 14:39:51 -07:00
  • 39adcc0a6b Prefer USB input over Bluetooth for PS5/PS5/Switch controllers Sam Lantinga 2022-09-26 14:20:34 -07:00
  • 17d7d03adf Added detection of the joystick type for third party PS4 and PS5 controllers Sam Lantinga 2022-09-26 08:12:35 -07:00
  • 6b75a592a4 autotools: revised and silenced esound detection a bit. Ozkan Sezer 2022-09-24 20:01:04 +03:00
  • 3a6b7c9c69 testiconv: Print the total number of errors at the end Cameron Cawley 2022-09-24 16:55:10 +01:00
  • 8d2cb1555e Added an entry for the ZEROPLUS P4 Wired Gamepad Sam Lantinga 2022-09-23 16:56:24 -07:00
  • cb063db64f Moved XInputPS4 controllers into the PS4 controller section Sam Lantinga 2022-09-23 16:52:37 -07:00
  • 5b3b7e6e7c Separated PS4/PS5 effects support into individual capabilities Sam Lantinga 2022-09-23 16:46:36 -07:00
  • 33619aa2e9 Added support for the ZEROPLUS P4 Wired Gamepad to the HIDAPI driver Sam Lantinga 2022-09-23 16:38:15 -07:00
  • e888c99fa6 Fixed the entry for the Nacon PS4 Compact Controller Sam Lantinga 2022-09-23 16:26:41 -07:00
  • 4ea64fee9f Fixed manufacturer/product name deduplication for the Razer Raiju Tournament Edition controller Sam Lantinga 2022-09-23 15:28:32 -07:00
  • 56b91ea720 Fixed feature detection for the Razer Raiju Tournament Edition controller Sam Lantinga 2022-09-23 15:27:40 -07:00
  • f6c9b06562 cmake: output libSDL2-2.0.0.dylib like autotools, not libSDL2-2.0.dylib. Ozkan Sezer 2022-09-23 23:56:04 +03:00
  • 4a06cc0f75 wayland: Apply modifier changes to the text of repeated keys Frank Praznik 2022-09-22 13:03:09 -04:00
  • 467c82c771 wayland: Add mappings for the Escape and NumLock keys Frank Praznik 2022-09-23 12:31:40 -04:00
  • 34f928abb7 Generate the correct name for ASTRO Gaming controllers Sam Lantinga 2022-09-23 09:26:18 -07:00
  • 6ddef7c234 Generate the correct name for Qanba and Mad Catz controllers Sam Lantinga 2022-09-23 09:20:27 -07:00
  • c2ae2ccc32 Added feature support for the Razer Raiju to the HIDAPI driver Sam Lantinga 2022-09-23 09:10:51 -07:00
  • 5ea9886bcf haiku: Fix when screen color depth was 24 bits, SDL_GetWindowSurface would always fail with 'Unknown pixel format' error UnknownShadow200 2022-09-23 13:19:22 +10:00
  • 51fefd1c35 Added support for third party PS3 controllers to the HIDAPI driver Sam Lantinga 2022-09-23 02:39:35 -07:00
  • 5b4c10fc7b Return true from IsSupportedDevice if it's a device that we _might_ support Sam Lantinga 2022-09-23 02:36:53 -07:00
  • 1d34a5249d Fixed shadowed variable warning Sam Lantinga 2022-09-23 00:38:23 -07:00
  • 010d3e6442 Fixed function prototype mismatch Sam Lantinga 2022-09-23 00:36:46 -07:00
  • b7940c29cc Allow HIDAPI controllers to override the default joystick type Sam Lantinga 2022-09-23 00:15:40 -07:00
  • 899a1e7cba Skip PS4/PS5 probe message if we already know it's a supported controller Sam Lantinga 2022-09-22 23:54:26 -07:00
  • fa2063fb44 Improved detection of third party PS4 and PS5 controllers Sam Lantinga 2022-09-22 23:42:25 -07:00
  • 7312b93d32 Fixed crash if a game controller is disconnected while the connect message is in flight Sam Lantinga 2022-09-22 22:50:28 -07:00
  • aa2e2f4843 Make sure HID devices can be opened before making them available to the application Sam Lantinga 2022-09-22 18:22:17 -07:00
  • 2857e3c748 Added an entry for the Mad Catz FightStick TE 2+ PS3 Sam Lantinga 2022-09-22 15:53:32 -07:00
  • 6812f1b5d7 Fixed the entry for the HORI Fighting Commander 4 in PS4 mode Sam Lantinga 2022-09-22 15:16:34 -07:00
  • 99e85cc27b Accidentally reverted 172865ff13 Sam Lantinga 2022-09-22 10:10:20 -07:00
  • 6cbdc66650 Fixed use of uninitialized 'size' variable (thanks @ozkan!) Sam Lantinga 2022-09-22 09:05:06 -07:00
  • 0c4594ac72 Improved PS4 and PS5 third-party controller feature detection Sam Lantinga 2022-09-22 06:45:46 -07:00
  • 399cb2f0de wayland: Only clear the key repeat flag when the repeated key is released Frank Praznik 2022-09-21 13:20:39 -04:00
  • eb25f6c912 Fixed Xbox platform name, courtesy of @walbourn Sam Lantinga 2022-09-21 14:22:38 -07:00
  • 6ba5f08e5d add missing quotes to the fallback CHECK_OBJC_SOURCE_COMPILES macro Ozkan Sezer 2022-09-21 10:37:02 +03:00
  • 098a7a043e add missing quotes to the fallback CHECK_OBJC_SOURCE_COMPILES macro Ozkan Sezer 2022-09-21 10:37:02 +03:00
  • 00b67f5572 Fix potential memory leak in GLES_CreateTexture zhailiangliang 2022-09-21 10:30:38 +08:00
  • 301912a5b9 Fix: Use WIN_ClientPointToSDL for converting additional mouse coordinates past-due 2022-09-18 21:25:55 -04:00
  • 7bf4ca60f6 autotools: stop using AC_FUNC_MEMCMP and AC_FUNC_STRTOD Ozkan Sezer 2022-09-20 20:03:20 +03:00
  • 08a331847b Vita: fix controls on PSTV with opened IME Ivan Epifanov 2022-09-18 21:40:15 +03:00
  • db225dec41 autotools: stop using AC_FUNC_MEMCMP and AC_FUNC_STRTOD Ozkan Sezer 2022-09-20 20:03:20 +03:00
  • dc2a682a82 Use the right kind of 0 Sam Lantinga 2022-09-20 09:22:43 -07:00
  • 2461930601 Fixed build on RISC OS Sam Lantinga 2022-09-20 09:16:10 -07:00
  • 887ae0c6eb fix build failure after commit 2a8d00634d if strtod isn't available. Ozkan Sezer 2022-09-20 18:20:00 +03:00
  • 2a8d00634d Fixed scanning a negative number as an unsigned value Sam Lantinga 2022-09-20 07:25:49 -07:00
  • 3f5c46663e SDL_vsscanf: fix an uninitialized warning Ozkan Sezer 2022-09-20 11:56:40 +03:00
  • 216e3f10bb Implemented size_t format specifiers for SDL_snprintf() and SDL_sscanf() Sam Lantinga 2022-09-19 15:42:11 -07:00
  • c70ffc2a35 Added size_t format specifier test coverage for SDL_snprintf and SDL_sscanf Sam Lantinga 2022-09-19 15:34:17 -07:00
  • 101306edcf Do case insensitive matching on test cases Sam Lantinga 2022-09-19 14:37:10 -07:00
  • 4d78a6fad4 cmake: only add -Wl,--undefined=WinMain when building an executable (cherry picked from commit 3b20e0ecef) Anonymous Maarten 2022-09-19 02:38:36 +02:00
  • 3b20e0ecef cmake: only add -Wl,--undefined=WinMain when building an executable Anonymous Maarten 2022-09-19 02:38:36 +02:00
  • c833294817 tests, watcom: silence lots of W202 warnings from new vulkan headers. Ozkan Sezer 2022-09-18 17:33:04 +03:00
  • 8598f05b47 Support loading 2bpp .bmp files Cameron Cawley 2022-09-17 21:45:08 +01:00
  • 59e04dcc0b Fix SDL_PIXELFORMAT_INDEX1LSB test case Cameron Cawley 2022-09-08 15:53:25 +01:00
  • fa239a2192 Fix incorrect return value in X11_GetPixelFormatFromVisualInfo Cameron Cawley 2022-09-08 15:53:54 +01:00
  • 1f7a7fd931 haiku: Combine HAIKU_ColorSpaceToBitsPerPixel and HAIKU_BPPToSDLPxFormat Cameron Cawley 2022-09-17 21:30:40 +01:00
  • dd51787e07 Fix SDL_PIXELFORMAT_INDEX1LSB test case Cameron Cawley 2022-09-08 15:53:25 +01:00
  • 43fc6d593f Fix incorrect return value in X11_GetPixelFormatFromVisualInfo Cameron Cawley 2022-09-08 15:53:54 +01:00
  • 202dfea502 Vita: drop memory defines Ivan Epifanov 2022-09-17 14:12:13 +03:00
  • 7115ceb775 Vita: restore sceClibMemcmp Ivan Epifanov 2022-09-17 11:52:19 +03:00
  • 45362dfe31 SDL_windows.h: guard WIN32_LEAN_AND_MEAN and STRICT macro defines. Ozkan Sezer 2022-09-16 17:28:20 +03:00
  • 0df4d123db SDL_offscreenwindow.c: swap include order of SDL_egl_c.h/SDL_sysvideo.h Ozkan Sezer 2022-09-16 17:05:02 +03:00
  • 2e9f5b5989 Added support for the HORI Fighting Commander OCTA (Xbox Series X and PS versions) Sam Lantinga 2022-09-16 15:41:35 -07:00
  • 5fba31f6fb SDL_HasPrimarySelectionText: fix -Wunreachable-code-return warning. Ozkan Sezer 2022-09-17 00:51:00 +03:00
  • efe01faa8e Replaced Blit4to4CopyAlpha() with optimized SDL_BlitCopy() Sam Lantinga 2022-09-16 10:08:31 -07:00
  • c0baa6bf5e move SDL_windowstaskdialog.h contents into SDL_windowsmessagebox.c Ozkan Sezer 2022-09-16 20:03:50 +03:00
  • 82b40f097b Fixed runaway CPU usage in the metal renderer when the window is minimized Sam Lantinga 2022-09-16 09:55:20 -07:00
  • 5892ed4373 Fixed Xcode warnings on macOS Sam Lantinga 2022-09-16 09:44:39 -07:00
  • 910d499c54 Fixed comment typo Sam Lantinga 2022-09-16 09:19:20 -07:00
  • 172865ff13 Don't enumerate HID devices on macOS if we don't have input monitoring permissions Sam Lantinga 2022-09-16 09:16:18 -07:00
  • eb046958da Fixed build warning Sam Lantinga 2022-09-16 08:19:45 -07:00
  • 8fc133ac2c Updated Xcode project with new offscreen video driver files Sam Lantinga 2022-09-16 08:18:42 -07:00
  • e2753e19e8 Calculate simulated vsync interval based on display refresh rate Sam Lantinga 2022-09-15 08:02:14 -07:00
  • 208964f038 Reset the simulated vsync presentation timeline if it's been too long since the last present Sam Lantinga 2022-09-15 07:05:55 -07:00
  • 1663cb4196 Reset simulated presentation timeline when vsync status changes Sam Lantinga 2022-09-15 06:30:19 -07:00
  • d744aafb05 Added support for simulated vsync in the renderer Sam Lantinga 2022-09-15 01:00:12 -07:00
  • 339f7a2f6b SDL_windows.h: guard WIN32_LEAN_AND_MEAN and STRICT macro defines. Ozkan Sezer 2022-09-16 17:28:20 +03:00
  • c23fb235c8 SDL_render_d3d12.c: Fix uninitialized warning for CreateEventExFunc Ozkan Sezer 2022-09-16 17:20:56 +03:00
  • d86cb8ec9e SDL_offscreenwindow.c: swap include order of SDL_egl_c.h/SDL_sysvideo.h Ozkan Sezer 2022-09-16 17:05:02 +03:00
  • 5bc85d6788 Only advertise the SDL_PIXELFORMAT_EXTERNAL_OES format if we can build the shader for it Sam Lantinga 2022-09-16 06:15:45 -07:00
  • 6de15ffcd6 Fixed building offscreen video driver without EGL support Sam Lantinga 2022-09-15 12:04:08 -07:00
  • cc9638f2f7 Regenerated configure Sam Lantinga 2022-09-15 11:08:00 -07:00
  • 37effc7700 Build the offscreen video driver by default. quyykk 2022-09-15 19:39:35 +02:00
  • 2970710b5d Pretty print shaders for debugging purposes Sam Lantinga 2022-09-15 07:41:29 -07:00
  • bc57d3e35c Fixed OpenGL ES shader compilation on Linux Sam Lantinga 2022-09-15 06:57:41 -07:00
  • 8a15a738f3 Fixed uninitialized variable warning Sam Lantinga 2022-09-15 06:21:19 -07:00
  • 61201e06ef Removed obsolete extension definitions Sam Lantinga 2022-09-15 06:17:49 -07:00
  • 6dec78ed11 fix permissions of SDL_opengl_glext.h Ozkan Sezer 2022-09-15 11:55:04 +03:00
  • 2e24708af2 Makefile.w32: silence lots of W202 warnings from new vulkan headers Ozkan Sezer 2022-09-15 11:23:50 +03:00
  • c49faabb6d Sync SDL wiki -> header SDL Wiki Bot 2022-09-14 16:29:16 +00:00
  • ac5b9bc4ee Add support for X11 primary selection (#6132) DS 2022-09-14 18:28:35 +02:00
  • 72fe6cc8f1 Updated to the latest version of OpenGL and Vulkan headers from the Khronos registry Sam Lantinga 2022-09-14 09:14:47 -07:00
  • b5102a551b Fixed OpenGLES shaders failing after renderer has been created Sam Lantinga 2022-09-14 08:03:46 -07:00
  • 228b9fb517 Update SDL_windowswindow.c (#6225) xeonmc 2022-09-14 03:43:16 +08:00
  • 929d5b80c6 wayland: Use the backbuffer size for determining if a resize event is required Frank Praznik 2022-09-12 22:39:44 -04:00
  • 4f1b408a72 Fixed button mapping for PS5 controllers Sam Lantinga 2022-09-12 18:19:02 -07:00
  • ffcf32b4ff Fixed building with libusb not dynamicaly loaded Sam Lantinga 2022-09-12 23:55:56 +03:00
  • eb0bf2c29d vita: Drop memcmp redirect to sceClibMemcmp. Rinnegatamante 2022-09-12 21:52:39 +02:00