Commit graph

  • 04f0fd13b5 Remember to close the game controller when we're done with it Sam Lantinga 2020-11-27 18:57:42 -0800
  • 1f2f536bd2 Fixed XInput correlation for raw input controllers after hotplug events Sam Lantinga 2020-11-27 18:57:40 -0800
  • 012471e959 Open and test all connected controllers Sam Lantinga 2020-11-27 18:57:38 -0800
  • 1c865c460b Load the raw input device list at init time so it's available when DirectInput is doing device detection Sam Lantinga 2020-11-27 18:57:36 -0800
  • a0c5bfa3bd Moved raw input event processing from the main thread to the joystick thread Sam Lantinga 2020-11-27 13:08:40 -0800
  • 4fbefbe20d Sort the raw input axes by usage, so X comes before Y, etc. Sam Lantinga 2020-11-27 11:33:53 -0800
  • 4ddac485db Backed out minor optimization that prevented correlation_id from being set Sam Lantinga 2020-11-27 11:33:51 -0800
  • 8973a25849 Enable dispatching of WM_INPUT_DEVICE_CHANGE events directly, in case the application hasn't created a window with the normal message loop Sam Lantinga 2020-11-27 10:44:56 -0800
  • e8adc64810 Enable dispatching of WM_INPUT events directly, in case the application hasn't created a window with the normal message loop Sam Lantinga 2020-11-27 10:44:55 -0800
  • 0252235e82 Recheck devices if another API queries raw input for a new device Sam Lantinga 2020-11-27 10:44:53 -0800
  • a7dede7e36 Re-enable axis correlation for raw input controllers, for twin stick shooters that don't need face buttons Sam Lantinga 2020-11-27 10:44:51 -0800
  • ce77966da8 Fixed RAWINPUT_IsDevicePresent() not returning TRUE for Xbox One controllers Sam Lantinga 2020-11-27 10:44:49 -0800
  • 8a449de20d Fixed Xbox 360 wireless controller being picked up by WGI when it's being managed by RAWINPUT Sam Lantinga 2020-11-27 10:44:47 -0800
  • 37c9e4afa3 Fixed processing WM_INPUT_DEVICE_CHANGE at startup Sam Lantinga 2020-11-27 06:03:15 -0800
  • 248fc75bd2 Correlate just based on buttons, joystick axes are not as precise and could potentially cause incorrect uncorrelation. Sam Lantinga 2020-11-27 05:53:56 -0800
  • e7e615de26 Removed extraneous windows message pumping Sam Lantinga 2020-11-27 05:53:54 -0800
  • 2931eccd84 Fixed detecting Bluetooth raw input devices, which have device names longer than 128 characters Sam Lantinga 2020-11-27 05:53:52 -0800
  • 849ce80376 Renamed SDL_JOYSTICK_RAWINPUT_GAMING_INPUT to SDL_JOYSTICK_RAWINPUT_WGI Sam Lantinga 2020-11-27 05:53:50 -0800
  • 219a28dd8a Fixed D-pad uncorrelating raw input controllers (thanks Jimbly!) Sam Lantinga 2020-11-27 03:45:05 -0800
  • 2c079a2f6c SDL_FillRects: prevent empty SDL_surface from raising an error message Sylvain Becker 2020-11-27 09:42:14 +0100
  • 3fbff2a45b SDL_rawinputjoystick.c: fix ambiguous 'else' warning Ozkan Sezer 2020-11-26 10:47:33 +0300
  • 845b903324 Implemented trigger rumble for raw input controllers Sam Lantinga 2020-11-25 16:46:42 -0800
  • 517be80822 Implemented battery status for Bluetooth Xbox One controllers Sam Lantinga 2020-11-25 16:05:19 -0800
  • 24cc0012f0 Some controllers don't always reset their triggers to zero when they are released (e.g. Xbox One S in Bluetooth mode), so only trigger rumble if the trigger is pulled halfway or more. Sam Lantinga 2020-11-25 16:05:15 -0800
  • 6a7f29cdbb Fixed compiling on tvOS Sam Lantinga 2020-11-25 11:31:17 -0800
  • 9ec2cf5629 Fixed building with Windows.Gaming.Input enabled Sam Lantinga 2020-11-25 10:31:59 -0800
  • 3c07dd12f0 Strip an extra '.' off of the HORI manufacturer name Sam Lantinga 2020-11-25 10:28:48 -0800
  • e5783e1179 cmake: add missing checks for wcscasecmp, _wcsicmp, wcsncasecmp, _wcsnicmp Ozkan Sezer 2020-11-25 14:51:56 +0300
  • 7c18088f00 SDL_config_os2.h: define HAVE__WCSICMP and HAVE__WCSNICMP Ozkan Sezer 2020-11-25 14:51:56 +0300
  • 159d1b3df5 Don't set the serial number after the controller is opened Sam Lantinga 2020-11-25 01:35:45 -0800
  • 7d92b14f46 Simplified Xbox One controller initialization state, and don't query for the serial number. Sam Lantinga 2020-11-25 01:18:18 -0800
  • 9fc4a4c92c Revamped Xbox One HIDAPI init sequence Sam Lantinga 2020-11-24 22:25:26 -0800
  • e16afa792f Automatically switch to testing a new controller when it's plugged in Sam Lantinga 2020-11-24 16:38:49 -0800
  • 46a844786b Added SDL_wcscasecmp() and SDL_wcsncasecmp() Sam Lantinga 2020-11-24 12:43:01 -0800
  • e4b7d9a221 Removed usage of TARGET_OS_OSX for building with older SDKs Sam Lantinga 2020-11-24 07:56:59 -0800
  • a7d91ebaa5 winrt: Add EffectiveLocation support for newer Win10 releases Ethan Lee 2020-11-09 17:05:21 -0500
  • 16d789fba9 Disable compiler warning when using -fobjc-weak building C code Sam Lantinga 2020-11-24 07:30:39 -0800
  • a5cde4cb0c Fixed trying to use @available() on older SDK Sam Lantinga 2020-11-24 07:29:55 -0800
  • b4338dda47 Enable -fobjc-weak when building MFI controller code Sam Lantinga 2020-11-24 07:22:29 -0800
  • 97782e6c64 Don't try to call IOS_SupportedHIDDevice() if it's not defined Sam Lantinga 2020-11-24 07:11:49 -0800
  • a063b9fbfb Fixed compiler warning Sam Lantinga 2020-11-24 07:06:31 -0800
  • c63bbb06e9 Including SDL_config_iphoneos.h enables MFI controller code Sam Lantinga 2020-11-24 06:55:33 -0800
  • eba069eaf0 It looks like the Objective C support needed to build MFI controller code is in 10.8 Sam Lantinga 2020-11-24 06:53:48 -0800
  • 23ad4f4b8c configure.ac: check GameController framework support when targeting Darwin Ozkan Sezer 2020-11-24 14:10:30 +0300
  • 711d409032 CMakeLists.txt: add src/joystick/iphoneos/*.m to Darwin joystick sources Ozkan Sezer 2020-11-24 14:10:30 +0300
  • 7a05dbf4b9 Fixed building on FreeBSD Sam Lantinga 2020-11-24 06:42:53 -0800
  • feab9d42c1 5363 - Memory leak of joystick->sensors in SDL_JoystickClose Sam Lantinga 2020-11-24 06:40:13 -0800
  • 34bea84a54 Fixed bug 5335 - Patch: enable joystick/haptic/evdev support by default on FreeBSD Sam Lantinga 2020-11-23 23:03:55 -0800
  • 1e943e2ad2 Fixed building with an older SDK and macOS target Sam Lantinga 2020-11-23 22:59:22 -0800
  • 1fc5ca6484 Fixed building with an older SDK and macOS target Sam Lantinga 2020-11-23 22:24:54 -0800
  • 4121ab6200 Fixed bug 5354 - DirectFB: Add Vulkan support Sam Lantinga 2020-11-23 21:25:07 -0800
  • e44bf8a080 Fixed bug 5359 - Incorrect sensor data from DualShock4 Sam Lantinga 2020-11-23 21:18:37 -0800
  • c8c818d7a4 Fixed bug 5360 - non-libudev joystick detection doesn't see controllers that were already connected Sam Lantinga 2020-11-23 21:14:37 -0800
  • 8e2746cfb6 joystick: Don't use udev in Flatpak or pressure-vessel container Flatpak[1] and pressure-vessel[2] are known to use user namespaces, therefore udev event notification via netlink won't work reliably. Both frameworks provide a filesystem API that libraries can use to detect them. Do that, and automatically fall back from udev-based device discovery to the inotify-based fallback introduced in Bug #5337. Simon McVittie 2020-11-23 21:10:48 -0800
  • e9869e07bf Fixed bug 5335 - enable joystick/haptic/evdev support by default on FreeBSD Sam Lantinga 2020-11-23 21:08:19 -0800
  • 38ab8bf74b Fixed bug 5362 - Mac OS ARM doesn't build Metal/Vulkan back-end/renderers Sam Lantinga 2020-11-23 21:03:43 -0800
  • 62e39b5fa7 Fixed building with an older SDK and macOS target Sam Lantinga 2020-11-23 20:57:14 -0800
  • 268aa45645 Fixed compiling with SDL_JOYSTICK_RAWINPUT disabled Sam Lantinga 2020-11-23 20:26:28 -0800
  • eaa53a1979 joystick: On Linux, don't try to close an invalid inotify file descriptor. Ryan C. Gordon 2020-11-23 22:16:07 -0500
  • 5c9577476f joystick: Fix up Linux joystick code to (mostly) compile on FreeBSD. Ryan C. Gordon 2020-11-23 22:14:22 -0500
  • 179bd66581 Don't enable PS5 controller support if DS4Windows is running - they conflict. Sam Lantinga 2020-11-23 18:27:43 -0800
  • 5b3616c325 Generalized the raw input controller driver and moved XInput/WGI detection into it for XInput devices Sam Lantinga 2020-11-23 18:24:05 -0800
  • 0ff5d55a07 x11: Don't try to grab the pointer on an unmapped window (thanks, Lee!) Ryan C. Gordon 2020-11-23 21:07:28 -0500
  • 04b45b5581 Allow testing a specific controller Sam Lantinga 2020-11-23 14:28:30 -0800
  • ff4bc1389c Fixed mapping controllers after adding the touchpad button Sam Lantinga 2020-11-23 14:28:16 -0800
  • 4c96faee57 remove non-existing tslib support from autofoo and cmake Ozkan Sezer 2020-11-23 20:37:10 +0300
  • fd89446782 Fixed building on Mac OS X on the command line and with an older macOS SDK Sam Lantinga 2020-11-21 14:13:26 -0800
  • 1df593fb16 Fixed bug 5355 - Add GameController Framework support to macOS Sam Lantinga 2020-11-21 13:15:33 -0800
  • 5e0644c15a Disable libusb by default, as it breaks on Linux when trying to use it with non-root permissions on some distributions Sam Lantinga 2020-11-21 12:55:56 -0800
  • 870841c414 Reset the LED state after Bluetooth connection has completed on the PS5 controller Sam Lantinga 2020-11-21 11:59:01 -0800
  • 120dc280ca Enable HIDAPI by default Sam Lantinga 2020-11-21 11:25:26 -0800
  • a94fe009c6 Moved comment with the code it covers Sam Lantinga 2020-11-21 18:40:27 -0800
  • 49f7be6d0d Fixed compile warning C4127: conditional expression is constant Sam Lantinga 2020-11-21 18:37:56 -0800
  • 63b52e8e67 Remove SDL dependency in Windows code Sam Lantinga 2020-11-21 18:34:32 -0800
  • d4954eb090 Removed debug code Sam Lantinga 2020-11-21 18:26:43 -0800
  • b442e617e9 Fixed adding an extra zero byte for feature reports Sam Lantinga 2020-11-21 18:15:55 -0800
  • 75721b191c Allow testing effects on PS4 controllers Sam Lantinga 2020-11-21 18:01:23 -0800
  • 2e8e3854b8 Fixed compile warning Sam Lantinga 2020-11-21 17:59:15 -0800
  • 6b56b98fc3 Fixed is_BLE() return value Sam Lantinga 2020-11-21 09:26:11 -0800
  • 65c9f1d2cc Fixed upstream bug: FD 0 is a valid file descriptor Sam Lantinga 2020-11-21 09:06:48 -0800
  • 549010f2a0 It takes 2 packets to stop audio haptics and start emulated rumble on the PS5 controller Sam Lantinga 2020-11-20 13:24:49 -0800
  • 082558db33 SDL_os2messagebox.c (_makeDlg): fix crash if title and/or message is NULL. Ozkan Sezer 2020-11-20 12:20:02 +0300
  • bf7d198d48 The HORI Fighting Commander should only show up as an XInput Switch Controller on Windows Sam Lantinga 2020-11-19 19:09:42 -0800
  • 6cb7f9e39a Respect SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS for Nintendo Switch Pro controllers using the HIDAPI driver Sam Lantinga 2020-11-19 19:09:40 -0800
  • 9980766533 Respect SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS for the Nintendo Switch Pro controller on Linux Sam Lantinga 2020-11-19 19:09:38 -0800
  • 7366693f3b Added support for a few more controllers on Linux Sam Lantinga 2020-11-19 19:09:36 -0800
  • ffb4d960b2 Disabled Xbox protocol debugging Sam Lantinga 2020-11-19 19:09:34 -0800
  • c9b097e659 Clarify the meaning of the rumble enable bits for the PS5 controller Sam Lantinga 2020-11-19 13:31:16 -0800
  • c85623d790 Re-enable haptic audio after rumble on PS5 controller Sam Lantinga 2020-11-19 13:10:14 -0800
  • b0b76a61c7 Fixed rumble on PS5 controllers connected to Windows over Bluetooth Sam Lantinga 2020-11-19 07:12:53 -0800
  • 8c3196da60 Fixed some compiler warnings Sam Lantinga 2020-11-18 21:33:11 -0800
  • 45f1437549 Experimenting with requesting the serial number on an Xbox One controller Sam Lantinga 2020-11-18 20:34:12 -0800
  • 963d8b3f40 Fixed bits in the initial Xbox One protocol ack Sam Lantinga 2020-11-18 20:34:10 -0800
  • cd51a51f00 Updated with a better understanding of the Xbox One controller protocol Sam Lantinga 2020-11-18 20:34:08 -0800
  • 335cfa107b x11: Don't crash if a messagebox has a NULL title string. Ryan C. Gordon 2020-11-18 11:24:08 -0500
  • 51ea6a6d44 Don't send controller gyro and accelerometer updates if the values haven't changed. Sam Lantinga 2020-11-17 22:09:52 -0800
  • 463d84a860 Added support for the PS5 controller gyro and accelerometer Sam Lantinga 2020-11-17 10:56:56 -0800
  • fcb21aa883 Added API for sensors on game controllers Sam Lantinga 2020-11-17 10:30:20 -0800
  • b79e1baa36 Added weak linking to hidapi framework Sam Lantinga 2020-11-17 10:29:36 -0800
  • 0150455d2c Added SDL_crc32.c to the Windows RT projects Sam Lantinga 2020-11-16 17:42:04 -0800