Sam Lantinga
7a51ad6a50
Fixed the game controller menu button on tvOS 13.2 (thanks Romain Tisserand)
2019-12-06 13:48:10 -08:00
Sam Lantinga
8342fa7c7e
Fixed controller mapping issues caused by PS3 gyro jitter
2019-12-05 13:48:08 -08:00
Sam Lantinga
6d00166813
Get full axis range for PS3 controller triggers on Linux
2019-12-05 13:18:53 -08:00
Cameron Gutman
55eb76218d
Use stat() to minimize input device opens when not using udev
...
Calling open() on input devices can generate device I/O which blocks
the main thread and causes dropped frames. Using stat() we can avoid
opening anything unless /dev/input has changed since we last polled.
We could have used something fancy like inotify, but it didn't seem
worth the added complexity for this uncommon non-udev case.
2019-11-20 20:27:45 -08:00
Sam Lantinga
b98808f639
Updated DPAD binding for 8Bitdo Zero controller
2019-11-28 14:23:24 -08:00
Sam Lantinga
2fd3f756d2
Fixed trying to use the HIDAPI driver for the original Xbox One S Bluetooth controller
2019-11-28 11:44:17 -08:00
Sam Lantinga
8aaf945b2f
Fixed mapping controllers that have axes that start at -32768 and then snap to 0 at the first input report
2019-11-28 11:44:15 -08:00
Sam Lantinga
a3a8fcef77
Added support for the 8Bitdo SN30 Pro, wired connection
2019-11-28 10:04:05 -08:00
Sam Lantinga
4a77613881
Added the full Xbox One Elite Series 2 controller initialization sequence, to start input reports after switching out of Bluetooth mode.
2019-11-27 18:26:57 -08:00
Sam Lantinga
b8d65da459
Check for duplicates in the supported controller list
2019-11-27 15:27:21 -08:00
Sam Lantinga
0b863f8a5c
Sorted controller entries by type and VID/PID to more easily find entries in the list
2019-11-27 15:27:19 -08:00
Sam Lantinga
84f8e53c85
Fixed detection of the Mad Catz FightPad Pro
2019-11-27 15:27:16 -08:00
Sam Lantinga
98cc9cf208
Added support for the Google Stadia Controller
2019-11-27 12:38:53 -08:00
Sam Lantinga
43cb7b3c51
Added support for the Hori Fighting Commander
2019-11-27 12:38:51 -08:00
Sam Lantinga
a76e547477
Added support for the PowerA XB1 Fusion Fight Pad
2019-11-27 12:38:48 -08:00
Sam Lantinga
a5e6b87ce6
Added support for a variant of the PowerA FUSION Pro Controller
2019-11-26 08:35:41 -08:00
Sam Lantinga
f3d95396d6
Added some missing controller names
2019-11-25 15:02:54 -08:00
Sam Lantinga
8243a3e801
Added support for the Hyperkin X91
2019-11-25 15:02:50 -08:00
Sam Lantinga
2713a1aae0
Moved the SteelSeries controllers into the "known controller" section
2019-11-25 13:27:26 -08:00
Sam Lantinga
26d53fbb83
Updated identification for the SteelSeries Stratus Duo
2019-11-25 11:12:09 -08:00
Sam Lantinga
359ae75bb2
Fixed DragonRise Generic USB PCB showing up as a PS3 controller
2019-11-23 12:11:16 -08:00
Sam Lantinga
8e153922e4
This packet didn't end up being needed to initialize input for the Xbox One Elite Series 2 controller
2019-11-22 17:46:30 -08:00
Sam Lantinga
6dce9733d9
Use SDL_zeroa() appropriately
2019-11-22 16:23:37 -08:00
Sam Lantinga
733f25252a
Fixed build
2019-11-22 14:09:24 -08:00
Sam Lantinga
13006ba9e1
Added support for the PDP Versus Fighting Pad
2019-11-22 13:44:40 -08:00
Sam Lantinga
b5aff9d7c3
Added SDL_GameControllerTypeForIndex() and SDL_GameControllerGetType() to return the type of controller attached.
2019-11-22 13:12:12 -08:00
Sam Lantinga
c0650aca21
Added support for the PDP Battlefield One controller
2019-11-21 14:04:48 -08:00
Sam Lantinga
a132b183cd
Fixed the guide button on the NVIDIA Controller v01.04
2019-11-21 13:09:00 -08:00
Sam Lantinga
cc4f890521
Added support for the NVIDIA Controller v01.04 on Linux and Mac OS X
2019-11-21 12:11:47 -08:00
Sam Lantinga
2a7b635b9b
Added support for the NVIDIA Controller v01.04 on Android
2019-11-21 11:52:50 -08:00
Sam Lantinga
51487a71b9
Added support for the MOGA XP5-A Plus
2019-11-21 10:14:57 -08:00
Sam Lantinga
650964461e
Improved XInput VID/PID detection and added SDL_wcsstr() and SDL_wcsncmp()
2019-11-20 16:42:50 -08:00
Sam Lantinga
ce8411c587
Fixed Xbox One Elite Series 2 showing up as 2 devices in Bluetooth mode on Windows
2019-11-20 08:43:24 -08:00
Sam Lantinga
972a70d844
Added support for the Xbox One Elite Series 2 controller on Mac OSX
2019-11-19 15:15:00 -08:00
Sam Lantinga
68d8fc5c7b
Added support for the Xbox One Elite Series 2 controller in wired mode
2019-11-18 15:46:13 -08:00
Sam Lantinga
2bfcf5cd96
Added Linux controller mapping for the Xbox One Elite Series 2 controller in Bluetooth mode
2019-11-18 14:08:05 -08:00
Sam Lantinga
1e24a1514d
Added names for some missing Xbox controllers
2019-11-18 11:51:39 -08:00
Sam Lantinga
144956442d
Added identifiers for the Xbox One Elite Series 2 controller
2019-11-18 11:44:51 -08:00
Sam Lantinga
a9ac9e3865
Don't try to use this driver with the Xbox One S in Bluetooth mode on Linux
2019-11-16 19:58:29 -08:00
Sam Lantinga
9ca5373024
Added support for the Xbox One S controller in Bluetooth mode on Linux
2019-11-16 19:55:53 -08:00
Sam Lantinga
cf33f1f0ef
Added a utility function to simplify the hint handling logic
2019-11-13 21:53:01 -08:00
Sam Lantinga
9a76bebfbc
SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS defaults to true, to match Steam's default behavior
2019-11-13 14:24:48 -08:00
Sylvain Becker
60d3965ece
Readability: remove redundant return, continue, enum declaration
2019-10-30 15:36:17 +01:00
Sylvain Becker
0f871c033c
Fixed bug 4843 - Passing NULL to memset in SDL_PrivateLoadButtonMapping
...
(Thanks!)
2019-10-23 09:53:23 +02:00
Sylvain Becker
b7ab3b3984
Fixed bug 4838 - Use after free in SDL_JoystickUpdate (Thanks!)
2019-10-23 08:50:57 +02:00
Sam Lantinga
5025109f29
Fixed accidental whitespace
2019-10-22 15:43:58 -07:00
Sam Lantinga
9da4bfc141
Added support for the Power A Nintendo Switch Enhanced Wireless Controller
2019-10-22 10:57:07 -07:00
Sam Lantinga
f96da11f93
Reordered Power A Switch controllers so they're grouped together
2019-10-22 10:28:51 -07:00
Sam Lantinga
9e7894efac
Added support for the PowerA - Super Mario Controller
2019-10-22 10:27:30 -07:00
Sam Lantinga
cdc7181e6d
Don't try to use the Xbox HID protocol with the NVIDIA Shield controllers
2019-10-19 01:54:02 -07:00