Mike Kosek
864bb65ce9
Removed crc
2025-02-08 07:56:40 -08:00
Mike Kosek
006605c3bf
Corrected alphabetical order
2025-02-08 07:56:40 -08:00
Mike Kosek
dc035c5ca6
Added mapping for Dreamcast Controller USB
2025-02-08 07:56:40 -08:00
Sam Lantinga
8397e1fcc0
Fix up SDL2 style mappings for HIDAPI controllers
...
Fixes https://github.com/libsdl-org/sdl2-compat/issues/316
2025-02-06 09:21:52 -08:00
Sam Lantinga
7691cabe4a
Removed incorrect HIDAPI gamepad mapping
2025-02-06 08:37:10 -08:00
Sam Lantinga
6782cfe2c5
Don't use the HIDAPI driver for Thrustmaster wheels
...
Closes https://github.com/libsdl-org/SDL/pull/12173
2025-02-05 17:19:59 -08:00
Sam Lantinga
94409d3504
Added Switch Input-only controller entries for Zuiki MasCon controller for Nintendo Switch.
...
The device string indicates RED on the one I have and is PIDs 0003 and some other posts online say 0001 for the normal model, so I'll try 0001-0003 to get all 3 color variants
2025-02-03 16:49:29 -08:00
Sam Lantinga
a8a2874ef4
Added distinct VID/PIDs for the PS4 vs Xbox eSwap Pro controllers
2025-02-03 13:26:04 -08:00
Sam Lantinga
84bc2abdad
Corrected the entry for the PXN V900 racing wheel
2025-02-03 13:11:02 -08:00
Sam Lantinga
eac07bda0a
Sort the controller lists by VID/PID
2025-02-03 12:39:53 -08:00
Petar Popovic
a336b62d8b
Remove newlines from error messages
2025-01-23 11:45:04 -08:00
Petar Popovic
983cfe8b1c
Remove even more newlines from log messages
2025-01-23 09:32:50 -08:00
nightmareci
718034f5fa
Remove newlines from log messages
2025-01-22 20:25:04 -08:00
Sam Lantinga
6f3d0b3cdb
Fixed build when using an older Xcode SDK
...
Fixes https://github.com/libsdl-org/SDL/issues/12048
2025-01-21 18:17:02 -08:00
Sam Lantinga
cd0db8d35e
Added Linux evdev mappings for the Wireless HORIPAD For Steam
2025-01-18 08:09:25 -08:00
Sam Lantinga
c7d1fd90ea
Added support for the 8BitDo Ultimate 2C Wireless in Bluetooth mode
...
Closes https://github.com/libsdl-org/SDL/pull/11415
2025-01-18 07:06:46 -08:00
Sam Lantinga
0eaa6197c5
Removed unnecessary __builtin_available check
2025-01-14 17:00:30 -08:00
Sam Lantinga
ffe194c52e
Fixed build when SDL_JOYSTICK_MFI isn't enabled
2025-01-14 17:00:30 -08:00
Sam Lantinga
49dd24e195
Fixed potentially overlapping memcpy() to use memmove()
2025-01-14 14:31:20 -08:00
Sam Lantinga
cdde6dd7bb
Bumped deployment requirements for Apple platforms
...
We require at least Xcode 12.2 and macOS SDK 11 to build. We support deploying to macOS 10.13, iOS 11.0, and tvOS 11.0.
This cleans up the code significantly
2025-01-14 12:03:07 -08:00
Sam Lantinga
e5a4f09363
Call SDL_UDEV_Quit() if we don't end up using it
2025-01-13 10:22:10 -08:00
Sam Lantinga
21cc1878f1
Reset enhanced mode state when closing a controller
...
Fixes https://github.com/libsdl-org/SDL/issues/11912
2025-01-12 10:45:54 -08:00
Sam Lantinga
2c0a8363a5
Added SDL_HINT_JOYSTICK_ENHANCED_REPORTS
...
This hint defaults on, enabling advanced controller features.
This replaces SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE and SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE, and is supported by PlayStation and Nintendo Switch controllers.
Fixes https://github.com/libsdl-org/SDL/issues/10086
2025-01-02 17:18:09 -08:00
Sam Lantinga
4797970bfa
Enable SDL_HINT_JOYSTICK_THREAD by default
...
If you're not using SDL for video you won't get raw input messages without this hint, and this is tripping up enough people it makes sense to have this enabled by default. There isn't much downside to this, other than having another thread processing Xbox controller input.
Fixes https://github.com/libsdl-org/SDL/issues/10576
2025-01-02 10:25:18 -08:00
Sam Lantinga
6b4b9b5f2b
Improved XInput controller detection
...
Sometimes we'll get a Windows.Gaming.Input callback before the raw input device is even in the list, so try some other methods to better detect XInput devices.
2025-01-02 10:25:18 -08:00
Sam Lantinga
0281071243
Lock joysticks when they are connected/disconnected on emscripten
...
Fixes https://github.com/libsdl-org/SDL/issues/11499
2025-01-01 13:51:47 -08:00
Sam Lantinga
f2074d7af3
Updated copyright for 2025
2025-01-01 07:45:52 -08:00
Sam Lantinga
9a4d29699d
Don't use connection state from the Nintendo Switch Pro report
...
This isn't reliable for third party controllers like the 8BitDo Pro 2.
Fixes https://github.com/libsdl-org/SDL/issues/10862
2024-12-27 13:58:49 -08:00
Sam Lantinga
22f6eed1d9
Use the NVIDIA Shield home button as the guide button
2024-12-27 12:42:06 -08:00
Sam Lantinga
c148837546
Added a Bluetooth mapping for the NVIDIA Shield Controller on Linux
2024-12-27 12:18:08 -08:00
Sam Lantinga
82a1e9f6df
Fixed the guide button for the NVIDIA Shield Controller on Linux
...
This works with firmware v1.25 and v1.35
2024-12-27 12:17:51 -08:00
Sam Lantinga
1413bfb185
Don't overwrite non-CRC gamepad mapping with a new mapping that specifies a CRC
...
Fixes https://github.com/libsdl-org/SDL/issues/11723
2024-12-26 20:18:26 -08:00
L zard
c2508d5d99
Fix various #if defineds
2024-12-24 07:19:38 -08:00
Sam Lantinga
3a1810f9a9
Fixed the Linux mapping for the NVIDIA Controller v1.03
2024-12-23 15:43:17 -08:00
Sam Lantinga
37b87f79fb
Fixed Bluetooth Steam Controller detection on iOS and Android
2024-12-23 12:55:25 -08:00
Sam Lantinga
61511c48a4
SDL_HashTable is now optionally thread-safe
...
Fixes https://github.com/libsdl-org/SDL/issues/11635
2024-12-12 14:39:53 -08:00
Sam Lantinga
3060105cfa
Don't filter out controllers when launched by Steam under Proton
...
Fixes https://github.com/libsdl-org/SDL/issues/11579
2024-12-05 19:50:15 -08:00
Sam Lantinga
235e5c6a6c
Fixed crash if a device doesn't have a USB product or manufacturer string
...
This happens with the Razer Huntsman V3 Pro Tenkeyless keyboard
2024-12-05 10:42:02 -08:00
Sam Lantinga
5ee4d176f1
Added support for the Razer Wolverine V3 Pro
2024-11-21 05:51:57 -08:00
Sam Lantinga
35e6c92c3c
Added the ROG Ally X to the list of Xbox controllers
...
This prevents Steam from opening the DirectInput versions of this controller that are added by installing Zenless Zone Zero.
2024-11-20 12:09:30 -08:00
Sam Lantinga
7a074f582e
Steam Controller handling improvements
...
* Only handle the controller interfaces on a Steam Controller and wireless dongle
* Wait until we get the connected status when initializing a wireless dongle
2024-11-18 21:36:23 -08:00
Sam Lantinga
0c53d9a1ee
Implemented SendEffect for Steam Controllers
2024-11-18 18:26:07 -08:00
Sam Lantinga
d8f8cf3e99
Added SDL_HINT_JOYSTICK_HIDAPI_STEAM_HOME_LED
2024-11-18 14:50:37 -08:00
Sam Lantinga
184da780f5
Fixed a crash when unplugging a Steam Controller dongle
2024-11-18 12:13:42 -08:00
Ozkan Sezer
0f9e551d71
joystick/gdk/SDL_gameinputjoystick.c: fix build errors due to -Wformat
2024-11-17 00:45:02 +03:00
Sam Lantinga
af6ce629c4
Make sure pairing remains enabled for the entire time dongle pairing is active
2024-11-16 13:42:12 -08:00
Sam Lantinga
2b10a040ff
Fixed rare case of wireless Steam Controller not being detected at startup
2024-11-16 13:10:02 -08:00
Cameron Gutman
e0166256ff
joystick: Fix connection type for Steam Controller and Xbox 360 dongles
2024-11-15 17:54:14 -06:00
Sam Lantinga
8657fa8b3b
Improved reliability of the Steam Controller driver
2024-11-15 15:55:13 -08:00
Sam Lantinga
b54f6044a5
Removed Linux Steam Controller support
...
The HIDAPI driver has all the functionality we need on Linux
2024-11-15 08:53:40 -08:00