bakatrouble
354895d975
Add Flydigi VADER 4 Pro HIDAPI support ( #12874 )
2025-05-22 09:56:17 -07:00
Vicki Pfau
955a49c883
joystick: Add quirk for no impulse vibration on the Spectra Pro
2025-05-08 16:41:26 -07:00
Vicki Pfau
72dd79752e
joystick: Add initial support for GIP flight sticks
...
At the moment, only the ThrustMaster T.Flight Hotas One has full support. The
documentation says you can query the extra buttons via a specific command, but
the stick appears to reject the command. Further investigation is needed for
automatically querying this state.
2025-05-08 16:41:26 -07:00
Vicki Pfau
2248d3812e
joystick: Rework GIP code to allow separate states for individual attachments
...
This is needed for future work bringing up things like the chatpad.
This commit also fixes a few minor things, such as still sending motor packets
to devices that don't support it, enabling quirks that hide trigger rumble on
devices that are marked as not having it, and fixing #12942 .
2025-05-08 16:41:26 -07:00
Sam Lantinga
5bee85408c
Cleanup 8BitDo HIDAPI support for SF30 Pro and SN30 Pro
...
This sets the correct number of buttons for older controllers, and adds parsing for older firmware USB reports
2025-05-07 12:11:27 -07:00
8BitDo
2b3c481215
add 8BitDo Controller ( #12964 )
...
add SN30 Pro, SF30 Pro, Pro 2.
Supported versions:
Pro 2 v3.06 above
SF30 Pro/SN30 Pro v2.05 above
2025-05-06 19:47:10 -07:00
Vicki Pfau
00f3a82ada
Joystick: Add new GIP driver to replace old Xbox One wired driver
...
This new driver is based on official documentation released by Microsoft in
September, though it still lacks several important features, notably the
Security handshake for wireless dongles and audio support. It is, however, more
reliable and extensible than the old driver.
2025-05-01 11:04:33 -07:00
Sam Lantinga
31650d566c
Added SDL_GAMEPAD_TYPE_GAMECUBE
...
The GameCube controller has a different face button layout than the Xbox or Nintendo Switch style controllers. It has the B button on the left and the X button on the right, so we should map those to SDL_GAMEPAD_BUTTON_WEST with SDL_GAMEPAD_BUTTON_LABEL_B and SDL_GAMEPAD_BUTTON_EAST with SDL_GAMEPAD_BUTTON_LABEL_X respectively.
Fixes https://github.com/libsdl-org/SDL/issues/12847
2025-04-27 11:01:50 -07:00
Sam Lantinga
40e08ee7af
Assume new XBox controllers have a share button
...
The list of old XBox controllers was taken from controller_list.h, removing controllers already known to have a share button.
2025-04-03 12:31:45 -07:00
Sam Lantinga
82b245d13a
Added support for the HORI Taiko No Tatsujin Drum Controller
2025-04-02 08:30:26 -07:00
8BitDo
e18c6bd2e7
8BitDo ( #12661 )
...
Added HIDAPI support for the 8BitDo Ultimate 2 Wireless Controller running firmware v1.03 or newer over Bluetooth.
2025-03-31 09:56:01 -07: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
f2074d7af3
Updated copyright for 2025
2025-01-01 07:45:52 -08:00
Sam Lantinga
5ee4d176f1
Added support for the Razer Wolverine V3 Pro
2024-11-21 05:51:57 -08:00
Cameron Gutman
68c2cf84f6
hidapi: Add support for the Steam Controller wireless dongle
2024-11-14 06:57:22 -08:00
Sam Lantinga
d3b882b4f9
Added support for the PowerA Fusion Pro 4 and Fusion Pro Wireless controllers
2024-11-04 10:48:50 -08:00
Sam Lantinga
398dff7c25
Added support for the HORI licensed Steam Controller
2024-09-18 14:08:32 -07:00
Sam Lantinga
6501e90018
Use C++ style comments consistently in SDL source code
...
Implemented using this script:
find . -type f -exec sed -i'' -e 's,/\* *\([^*]*\)\*/ *$,// \1,' -e 's, \+$,,' {} \;
git checkout \
core/linux/SDL_evdev_kbd_default_keymap.h \
events/imKStoUCS.* \
hidapi \
joystick/controller_type.c \
joystick/controller_type.h \
joystick/hidapi/steam/controller_constants.h \
joystick/hidapi/steam/controller_structs.h \
joystick/SDL_gamepad_db.h \
libm \
render/*/*Shader*.h \
render/vitagxm/SDL_render_vita_gxm_shaders.h \
render/metal/SDL_shaders_metal_*.h \
stdlib/SDL_malloc.c \
stdlib/SDL_qsort.c \
stdlib/SDL_strtokr.c \
test/ \
video/directx/SDL_d3d12_xbox_cmacros.h \
video/directx/d3d12.h \
video/directx/d3d12sdklayers.h \
video/khronos \
video/x11/edid-parse.c \
video/x11/xsettings-client.* \
video/yuv2rgb
sed -i'' -e 's,/\* *\([^*]*\)\*/ *$,// \1,' -e 's, \+$,,' hidapi/SDL_hidapi.c
2024-08-22 13:30:02 -07:00
Sam Lantinga
e75175129f
Added support for the Retro-bit Controller in PS3 mode
...
Fixes https://github.com/libsdl-org/SDL/issues/10557
2024-08-19 16:40:50 -07:00
Sam Lantinga
a04596c9a7
Added support for the ROG RAIKIRI
2024-07-03 13:54:00 -07:00
Sam Lantinga
e3beaa1972
Added support for the Razer Kitsune in PS5 mode
2024-05-31 15:18:15 -07:00
Marcel Hild
67e425bcf8
Add support for MadCatz Saitek Side Panel Control Deck
...
Signed-off-by: Marcel Hild <hild@b4mad.net>
2024-03-22 09:15:39 -07:00
Ningyuan Li
d6ebbc2fa4
mayflash adapter PS4 support
2024-01-24 19:25:35 -08:00
Sam Lantinga
5b3ee51c6c
Updated copyright for 2024
2024-01-01 13:15:26 -08:00
Dimitriy Ryazantcev
43309d38ed
joystick: Extract 0x02a9 and 0x0291 PIDs into separate defines.
...
Cleanup controller list comments block.
2023-12-18 05:43:38 -08:00
Dimitriy Ryazantcev
c790572674
Use existing XUSB driver software PID 0x02a1 instead of PID 0x02fe
...
0x02fe is actually PID of Xbox Wireless Adapter for Windows 10 (Model 1790) and creates confusion.
Here is USB descriptor dump: https://github.com/DJm00n/ControllersInfo/blob/master/xboxone/DescriptorDump_Adapter%20(Xbox%20Wireless%20Adapter%20for%20Windows).txt
2023-12-11 11:45:05 -08:00
Sam Lantinga
f0e47f8ee0
Added support for the NACON Revolution 5 Pro controller
2023-11-27 12:10:00 -08:00
Sam Lantinga
fbb6934905
Added support for the Dragonrise GameCube adapter with VID 0x1843
2023-11-10 16:39:32 -08:00
Sam Lantinga
15bc12165a
Actually we need to enumerate the 8BitDo Xbox SKUs
...
At the point we're calling SDL_IsJoystickXboxSeriesX(), we don't know for sure that the controller is an Xbox controller.
Fixes https://github.com/libsdl-org/SDL/issues/8174
2023-11-08 00:42:42 -08:00
Sam Lantinga
8049af3355
Assume all 8BitDo Xbox controllers have a share button
...
Fixes https://github.com/libsdl-org/SDL/issues/8174
2023-11-08 00:34:50 -08:00
Sam Lantinga
0b460f34ba
The HP HyperX controllers have a share button
2023-11-03 14:47:20 -07:00
Sam Lantinga
44bae1e8a9
Corrected the Victrix FS Pro as a PS4 controller instead of a PS3 controller
2023-06-23 14:27:21 -07:00
Sam Lantinga
517a2afcbd
Added support for the PowerA MOGA XP-Ultra Controller
2023-05-19 14:38:50 -07:00
Sam Lantinga
2e6c48dcb4
Added support for the GameSir-G7 Controller for Xbox
2023-05-11 17:44:56 -07:00
Sam Lantinga
b6ca360228
Added support for the Saitek Cyborg V.3 Rumble Pad in PS3 mode
2023-05-03 09:47:16 -07:00
Sam Lantinga
a4b4dff4a2
Added support for the Astro C40 in Xbox 360 mode
2023-04-27 17:10:44 -07:00
Sam Lantinga
da134a3039
Fixed locking up the Logitech F310 with the PlayStation controller detection
2023-02-28 08:36:31 -08:00
Sam Lantinga
516e48515e
Changed the VID/PID used for the Backbone One controller on iOS
2023-02-23 12:24:15 -08:00
Sam Lantinga
59bf1c2853
Added support for the Backbone One PlayStation Edition
2023-02-23 11:57:48 -08:00
Sam Lantinga
4994654d4f
Added support for the Razer Wolverine V2 controllers
2023-02-20 15:14:20 -08:00
Sam Lantinga
5fded632d6
Added support for the Turtle Beach REACT-R and Recon Xbox controllers
2023-02-06 20:14:12 -08:00
Sam Lantinga
0208a0eeb3
Added support for the Logitech ChillStream
2023-02-06 13:28:59 -08:00
Sam Lantinga
fde78d12f2
Updated copyright for 2023
2023-01-09 09:41:41 -08:00
Sam Lantinga
dacdb1c310
Added support for the ThrustMaster eSwap PRO Controller Xbox
2023-01-03 15:12:18 -08:00
Sam Lantinga
63724c113b
Removed the vi format comments from the source
...
Vim users can use the [editorconfig plugin](https://github.com/editorconfig/editorconfig-vim ) to automatically set tab spacing for the SDL coding style.
Fixes https://github.com/libsdl-org/SDL/issues/6903
2022-12-26 11:17:23 -08:00
Sam Lantinga
83b29f9ce1
Don't send Razer devices the Sony third-party query feature report
...
Some of them lock up or reset, and the vast majority of devices are not actually game controllers.
Fixes https://github.com/libsdl-org/SDL/issues/6733
2022-12-19 09:14:55 -08:00
Sam Lantinga
618340bf99
Added support for the STRIKEPAD PS4 Grip Add-on to the HIDAPI driver
2022-12-12 10:55:38 -08:00
Sam Lantinga
9339085593
Added support for the DualSense Edge paddles
2022-12-07 14:25:53 -08:00
Sam Lantinga
36c5d5cc65
Added support for the Logitech Cordless Precision PS3 controller
2022-11-30 17:18:00 -08:00
Sam Lantinga
4f9c2b3e2e
Added support for the HORIPAD Pro for Xbox Series X
2022-11-30 17:17:44 -08:00