Commit Graph

  • 3f89d1704d Fixed building with libusb not dynamicaly loaded Sam Lantinga 2022-09-01 11:30:02 -07:00
  • 7708bf0f8a Try matching game controller mappings on CRC and version and fall back to no CRC and no version, in that order. Sam Lantinga 2022-09-01 08:18:58 -07:00
  • 6c2c01e0d1 Fixed documentation to match function parameter Sam Lantinga 2022-08-31 15:04:12 -07:00
  • 7861f924ea Removed debug print statements Sam Lantinga 2022-08-31 13:34:43 -07:00
  • 62f2379e4c Try up to 20 times to read the controller type Sam Lantinga 2022-08-31 13:24:23 -07:00
  • e5f161bda4 Restored accidentally removed code to guess XInput device Sam Lantinga 2022-08-30 19:12:22 -07:00
  • 973a677a2d SDL_xinputjoystick.c: commented out GuessXInputDevice() Ozkan Sezer 2022-08-31 02:32:28 +03:00
  • 42d09a8f42 wgi: refcount the delegate objects Shawn Hoffman 2022-08-30 13:54:32 -07:00
  • ca915b1884 WGI_JoystickUpdate: bounds-check array sizes Shawn Hoffman 2022-08-30 13:54:58 -07:00
  • cdaafcec0d The Kinvoca Joy-Cons are handled by the Joy-Con driver, not the Switch Pro driver. Sam Lantinga 2022-08-30 14:56:11 -07:00
  • b2c3237b75 Added support for the Kinvoca Joy-Cons Sam Lantinga 2022-08-30 14:14:38 -07:00
  • 92d3fc4883 Fixed deadlock when shutting down the Windows joystick system Sam Lantinga 2022-08-30 12:58:38 -07:00
  • 371735e95b Silence unused variable warning Brad Smith 2022-08-30 15:45:16 -04:00
  • 0e4baf1c4e Don't crash if SDL functions are passed a closed joystick or gamecontroller Sam Lantinga 2022-08-30 12:39:23 -07:00
  • 675d90c708 Revert "wgi: refcount the delegate objects" Sam Lantinga 2022-08-30 12:09:07 -07:00
  • 3fe6768caf Sync SDL wiki -> header SDL Wiki Bot 2022-08-30 18:47:15 +00:00
  • 40bd4feedc Revamped joystick locking Sam Lantinga 2022-08-30 11:42:13 -07:00
  • ff233fe306 wgi: refcount the delegate objects assert if calls become unbalanced. Shawn Hoffman 2022-08-28 22:20:58 -07:00
  • f1e4685806 Adding specific SDL_Hint for the dynamic VSYNC Francisco Javier Trujillo Mata 2022-08-26 17:58:59 +02:00
  • 2f08bf2313 Added the share button to the Linux mapping for the third party Nintendo Switch Pro controllers Sam Lantinga 2022-08-29 22:15:35 -07:00
  • 803924b223 CMake: Make SDL_SHARED/STATIC/TEST options Gleb Mazovetskiy 2022-08-30 00:50:44 +01:00
  • b2ac758f61 Added support for the Hori Fighting Stick Alpha to the HIDAPI driver Sam Lantinga 2022-08-29 17:33:00 -07:00
  • 3c78ba570b dbus: Use xdg-desktop-portal Inhibit when running under Flatpak or Snap Ludovico de Nittis 2022-08-29 11:08:24 +02:00
  • e8cb4da71f Add utility function to detect if SDL is inside a sandbox Ludovico de Nittis 2022-08-26 12:28:33 +02:00
  • a3ce700ded dbus: Add generic internal function to send messages with reply Ludovico de Nittis 2022-08-25 16:18:45 +02:00
  • 1153aaae0d Fixed compiling with USB_GET_DEVICEINFO on DragonFly BSD Sam Lantinga 2022-08-29 00:15:56 -07:00
  • 57cbec1095 Added controller mappings for Xbox 360, PS4, and PS5 controllers on OpenBSD Sam Lantinga 2022-08-28 23:18:40 -07:00
  • 0b8b321f9e Allow the product version to be different when trying to find a controller mapping Sam Lantinga 2022-08-28 23:01:30 -07:00
  • 761b9d1e49 Use the HID usage for the button as the button number Sam Lantinga 2022-08-28 22:33:17 -07:00
  • a9d3935a84 Improved code to get the name and guid for joysticks on OpenBSD and NetBSD Sam Lantinga 2022-08-28 18:17:50 -07:00
  • 32700294e2 Don't crash if SDL_CreateJoystickGUID() is passed a NULL name Sam Lantinga 2022-08-28 17:56:11 -07:00
  • bac8df4abd Fixed memory leak when out of memory Sam Lantinga 2022-08-28 17:55:49 -07:00
  • ffbad3617c Use the correct type for the device_instance Sam Lantinga 2022-08-28 16:21:05 -07:00
  • 4a800ae149 Created a consolidated define enabling BSD gameport joystick support Sam Lantinga 2022-08-28 16:11:12 -07:00
  • 42f90c6292 Removed unused path variable Sam Lantinga 2022-08-28 16:01:03 -07:00
  • b7c1fbf9f0 WGI: Fix a couple of reference leaks Cameron Gutman 2022-08-28 17:38:02 -05:00
  • 0db1813049 Applied OpenBSD patch Sam Lantinga 2022-08-28 07:27:01 -07:00
  • b8af865f18 Fix candidate list size for Windows IME Mathieu Eyraud 2022-08-28 13:02:57 +02:00
  • 644a4e5b31 Sync SDL wiki -> header SDL Wiki Bot 2022-08-28 02:01:12 +00:00
  • 3cbfd75d0f Re-added the CRC to the joystick guid Sam Lantinga 2022-08-27 18:55:55 -07:00
  • b9e3cae572 Add more valid configurations to PS2 audio driver Francisco Javier Trujillo Mata 2022-08-26 16:58:21 +02:00
  • d7fae33967 Regenerated configure Sam Lantinga 2022-08-27 15:18:22 -07:00
  • 732e1530e3 autotools: Require GNU sort Simon McVittie 2022-08-25 14:44:43 +01:00
  • b188a916ff Fixed uhid device name for non-OpenBSD platforms Sam Lantinga 2022-08-27 09:46:28 -07:00
  • 3f93ec470a Add support for OpenBSD's ujoy(4) Brad Smith 2022-08-26 20:52:56 -04:00
  • 9a01eac57d Temporarily disable joystick GUID CRCs Sam Lantinga 2022-08-26 13:45:05 -07:00
  • 3d516b841a Fixed macOS framework detection in sdl2.m4 Sam Lantinga 2022-08-26 09:12:56 -07:00
  • d75fb0995d emscripten: Add a hint for specifying the canvas selector Charlie Birks 2022-02-26 14:52:08 +00:00
  • b5aedaad59 emscripten: Modify UpdateWindowFramebuffer Charlie Birks 2018-04-08 16:54:29 +01:00
  • 539efc1bba emscripten: Return an error for webgl context limitations Charlie Birks 2022-02-26 12:24:32 +00:00
  • eebbf3457c emscripten: Use emscripten_webgl_ API directly Charlie Birks 2022-02-25 17:19:25 +00:00
  • f6c2c22d38 Don't try to use the charging port for the PowerA wireless controller as an input device Sam Lantinga 2022-08-25 22:25:25 -07:00
  • f1aa843415 Don't report rumble capability for Nintendo Online controllers Sam Lantinga 2022-08-25 21:51:20 -07:00
  • 9ce9c2530a SDL_windowsmodes: fix WIN_GetDisplayNameVista source identifier number Steven Noonan 2022-08-25 18:41:32 -07:00
  • 32c4996c04 cmake: add SDL_IBUS option to enable/disable DBUS + test sys/inotify.h Anonymous Maarten 2022-08-26 02:38:54 +02:00
  • c8b56ee5e6 cmake: add SDL_DBUS option to enable/disable DBUS Anonymous Maarten 2022-08-26 02:37:57 +02:00
  • 032ff64041 cmake: OpenIndiana announces SunOS, which is the former name of Solaris Anonymous Maarten 2022-08-26 02:37:17 +02:00
  • ce227aa69e wayland: fix build with SDL_WAYLAND_SHARED=OFF/--enable-wayland-shared=no Anonymous Maarten 2022-08-26 01:57:09 +02:00
  • 711846c1f4 cmake: fix build with SDL_WAYLAND_SHARED=OFF Anonymous Maarten 2022-08-26 01:56:20 +02:00
  • 679582e702 Fixed crash if there are no devices available Sam Lantinga 2022-08-25 11:07:20 -07:00
  • 111626f4cf Sync SDL wiki -> header SDL Wiki Bot 2022-08-25 17:17:12 +00:00
  • e4b85091fd Document the range of trigger axes for virtual joysticks Sam Lantinga 2022-08-25 10:15:45 -07:00
  • 40b2499273 Fix building with SDL_DISABLE_WINDOWS_IME DomGries 2022-08-25 10:03:33 +02:00
  • babaa7d2bd Fixed PS3 accelerometer values on little endian systems Sam Lantinga 2022-08-24 16:10:47 -07:00
  • d1e9015639 Update .gitignore Julio C. Rocha 2022-08-24 15:14:48 -07:00
  • 05983fb8ee Add Mayflash PC043 adapter Julio C. Rocha 2022-08-24 15:03:12 -07:00
  • e7332cd814 Fixed zero CRC matching in the controller mapping database Sam Lantinga 2022-08-24 15:28:56 -07:00
  • a4f84803c4 Disable fileXio and patch fio Francisco Javier Trujillo Mata 2022-08-24 20:42:08 +02:00
  • e6864d17b6 Update minimal required Android SDK version Yevhen Babiichuk (DustDFG) 2022-08-24 15:47:08 +03:00
  • 2ceea46061 cmake: Enable CET compatibility for x86/x64 targets using VS 16.7+ Cameron Gutman 2022-08-21 14:15:06 -05:00
  • 00452e47fa Adding SDL_GetWindowSizeInPixels for window size in pixels (#6112) Noel Berry 2022-08-24 11:25:13 -07:00
  • 70c781c803 Fixed build warning because of redefining string functions Sam Lantinga 2022-08-24 10:25:56 -07:00
  • 5f79cd1600 Fixed spacing antonino 2022-08-24 18:50:02 +02:00
  • dd68eb5c01 free drm prop before returning antonino 2022-08-24 17:57:52 +02:00
  • 970344719a Fixed the Nintendo Switch Pro mappings on iOS/tvOS Sam Lantinga 2022-08-24 09:39:01 -07:00
  • 62302d08f1 cmake: always create SDL2::SDL2main target in autotools' cmake config script Anonymous Maarten 2022-08-24 04:14:52 +02:00
  • b19e2f1e56 cmake: create SDL2::SDL2main target in Apple framework official release Anonymous Maarten 2022-08-24 04:12:58 +02:00
  • 1fc7f68118 Document that it's not possible to use the HIDAPI driver for PS3 controllers on Windows Sam Lantinga 2022-08-24 06:38:36 -07:00
  • 5eb0f4328d cmake: always create SDL2::SDL2main target in autotools' cmake config script Anonymous Maarten 2022-08-24 04:14:52 +02:00
  • dc2ef31c29 cmake: create SDL2::SDL2main target in Apple framework official release Anonymous Maarten 2022-08-24 04:12:58 +02:00
  • 645b0f6abf Enable HIDAPI PS3 support by default on macOS Sam Lantinga 2022-08-24 01:30:29 -07:00
  • 3ed8e219a5 Fixed building HIDAPI libusb support on Windows Sam Lantinga 2022-08-24 01:25:14 -07:00
  • 3d62ebdbf6 Fixed HIDAPI PS3 support on macOS Sam Lantinga 2022-08-24 00:34:30 -07:00
  • 6ac6accd33 Added SDL_hidapi_ps3.c to the Xcode project Sam Lantinga 2022-08-23 23:05:11 -07:00
  • aaee6e242c Added missing file Sam Lantinga 2022-08-23 22:56:32 -07:00
  • 7cfef177c1 Added SDL_hidapi_ps3.c to the Windows projects Sam Lantinga 2022-08-23 22:53:43 -07:00
  • b6f96b69aa Initial HIDAPI driver support for the PS3 controller Sam Lantinga 2022-08-23 22:45:37 -07:00
  • 50c5d23f7d Round coordinates so very small floating point values don't turn into 0x80000000 Sam Lantinga 2022-08-23 07:42:48 -07:00
  • b6a3d76225 Look up mappings by GUID in two passes: first with CRC, second without Sam Lantinga 2022-08-23 07:24:21 -07:00
  • 4df64027fc .editorconfig: Use correct path for wayland-protocols Ludovico de Nittis 2022-08-23 13:53:43 +02:00
  • 277b033e78 Refactor joystick GUID creation Sam Lantinga 2022-08-22 19:28:21 -07:00
  • aae566e196 Use SDL_bool antonino 2022-08-23 02:26:29 +02:00
  • e3ea9b5b7c restore vrr state on exit antonino 2022-08-23 00:37:43 +02:00
  • 450e9857cc Use SDL_TRUE and SDL_FALSE antonino 2022-08-22 17:58:41 +02:00
  • 605b50fcd9 kmsdrm: added missing checks antonino 2022-08-22 17:49:49 +02:00
  • c1e0873940 Added the CRC of the joystick name to the GUID Sam Lantinga 2022-08-22 16:46:55 -07:00
  • ac44b22a24 Use __ARM_ARCH instead of __ARM_ARCH__ Oleg Derevenetz 2022-08-19 22:16:04 +03:00
  • 20715fa014 Fixed build errors Sam Lantinga 2022-08-22 17:09:42 -07:00
  • 92b3c53c92 Added a hint SDL_HINT_MOUSE_RELATIVE_SYSTEM_SCALE to control whether to use system mouse acceleration on raw relative motion. Sam Lantinga 2022-08-22 16:25:25 -07:00
  • 3ce3594e38 Split SDLSurface to public class Add SDLActivity method createSDLSurface yurii levchenko 2022-08-23 00:25:29 +03:00