Cameron Gutman
6dbdb94cae
joystick: Fix conflicting rumble and LED on Sony PS4 gamepads
...
(cherry picked from commit 189877b1d3 )
2026-05-30 17:21:03 -07:00
Vicki Pfau
30c2648fbe
joystick: Fix underflow with 0 delta timestamp
...
Some sensors will occasionally report two identical timestamps in a row.
This leads to the timestamp wrapping calculation to underflow, subtracting
0x80000000 from the timestamp whenever it happens. By adjusting the wrap
test, we can just directly add zero to the timestamp, fixing the underflow.
(cherry picked from commit 687a59f277 )
2026-05-29 21:48:44 -07:00
replicacoil
11cb97888b
Added rumble to Gamecube Adapter PC_Mode ( #15431 )
...
(cherry picked from commit c43ab978fd )
2026-05-29 17:29:19 -07:00
Sam Lantinga
f38994c15c
Fixed Steam Controller not detected on macOS under Steam
...
(cherry picked from commit 8a701808a6 )
2026-05-29 12:13:54 -07:00
tmkk
5e55c12d78
Detect steam virtual gamepads more accurately on macOS
...
(cherry picked from commit bbcc205de9 )
2026-05-29 12:13:49 -07:00
tmkk
cefdc61f5e
Bring back support for 360Controller driver on macOS
...
(cherry picked from commit 50d0e2ede2 )
2026-05-29 12:13:10 -07:00
Sam Lantinga
bfdd7ee8b4
Fixed detecting the Steam virtual gamepad when HIDAPI is disabled
...
(cherry picked from commit ec0066aa0b )
2026-05-29 10:56:38 -07:00
Sam Lantinga
45c28b2eb9
Added HIDAPI support for the PDP Afterglow Wave Wireless Controller for Switch
...
(cherry picked from commit ed6e03436e )
2026-05-29 09:56:21 -07:00
Sam Lantinga
6675ea9147
Added DEBUG_STEAM_PROTOCOL for the new Steam Controller
...
(cherry picked from commit 634dff3725 )
2026-05-28 19:51:56 -07:00
Sam Lantinga
05d140a128
Add support for new Steam Controller input report on mobile devices
...
(cherry picked from commit f6ffa69890 )
2026-05-28 11:46:05 -07:00
Sam Lantinga
463d8ddf85
Fix mistyped output report message for Steam Controller
...
This caused hiccups in BlueZ BT driver for Linux
(cherry picked from commit bb3c61390a )
2026-05-27 18:21:13 -07:00
Sam Lantinga
385f7db161
Add support for new Steam Controller input report
...
(cherry picked from commit f7a8801227 )
2026-05-27 18:21:13 -07:00
Sam Lantinga
33ea9c3e63
Don't use the HIDAPI driver with Backbone One PlayStation Edition Gen 2
...
This product doesn't appear to use the DualSense protocol. On Android this shows up as two interfaces that don't send reports that we can parse.
(cherry picked from commit a84dafd5b9 )
2026-05-26 14:17:19 -07:00
Sam Lantinga
5720f54059
Fixed building with older versions of GameInput
...
(cherry picked from commit f8d5628163 )
2026-05-22 16:07:46 -07:00
Bitwolf
386be0070b
Update Famicom controllers to a more user friendly name.
...
(cherry picked from commit 2f13731d23 )
2026-05-22 07:15:35 -07:00
kholo
05191b0c7d
Ignore Huion Tablet Kamvas Pro 22
...
(cherry picked from commit 2bb6df90ad )
2026-05-22 07:06:35 -07:00
Sam Lantinga
cbea661f54
Fixed build
...
(cherry picked from commit fe1918a47f )
2026-05-21 10:05:29 -07:00
Sam Lantinga
48888a3865
Fixed Ipega controllers being ignored in keyboard mode (thanks @AntTheAlchemist!)
...
(cherry picked from commit 13f91a67fc )
2026-05-21 09:56:53 -07:00
Ozkan Sezer
6545e5b0b8
SDL_rawinputjoystick.c: fixed a type redefinition error
...
(cherry picked from commit f19dca3ca0 )
2026-05-19 18:55:50 +03:00
Ozkan Sezer
eb8caad5a4
SDL_windows_gaming_input.c: work-around to build against old SDKs.
...
Fixes https://github.com/libsdl-org/SDL/issues/15646
(cherry picked from commit 42c4a0e30f )
2026-05-19 17:26:28 +03:00
Kuratius
49aa0c0667
Fix touchpad finger detection on Steam Deck
...
(cherry picked from commit 6ed1de089c )
2026-05-19 06:54:09 -07:00
Kuratius
d147bb2a06
Fix Steam Controller 2 touchpad finger detection ( #15644 )
...
(cherry picked from commit a20530cf15 )
2026-05-18 07:04:16 -07:00
Tap
273eeebe71
Correct steam triton haptic commands
...
The listed report IDs are incorrect - there is no skipped ID
(cherry picked from commit 1f7a42a7b9 )
2026-05-17 06:24:22 -07:00
Christian Semmler
581c18f693
emscripten: Fix crash on Safari when probing gamepad rumble support
...
Safari's older Gamepad API exposes `vibrationActuator` with `playEffect`
and `reset` but no `effects` enumeration array. The probe added in
651136ac7 dereferences `vibrationActuator['effects']['includes']`
unconditionally, throwing `TypeError: undefined is not an object` on
every Safari client that opens a connected gamepad. Add the missing
`['effects']` null check so the probe returns false on Safari instead
of aborting.
(cherry picked from commit db7ac820f9 )
2026-05-16 15:48:06 -07:00
ceski
f30c0e4ee2
Add Steam Deck capacitive touch sticks, trackpad clicks, and mapping ( #15612 )
...
(cherry picked from commit 2ebf23014f )
2026-05-16 09:04:44 -07:00
ceski
cdbc651f65
Add Steam Controller mapping ( #15601 )
...
Also fixed Hori QAM button mapping
(cherry picked from commit c00d7b4bf5 )
2026-05-15 19:18:56 -07:00
Rachel Blackman
819bb962fa
Add Gamesir Supernova in Xinput mode to controller list
...
(cherry picked from commit d83e7bf79e )
2026-05-15 13:26:10 -07:00
Sam Lantinga
a7f93c5c55
Detect the GameSir Super Nova in Xbox 360 mode
...
(cherry picked from commit a95ce7e734 )
2026-05-15 10:13:53 -07:00
Rachel Blackman
b84e981ed8
Fix HIDAPI support for Flydigi Vader 5 Pro ( #15594 )
...
(cherry picked from commit eb340388fc )
2026-05-14 17:33:36 -07:00
ceski
1226f4a56d
Add Steam Controller touchpads, capacitive touch for sticks, and grip sense ( #15528 )
...
(cherry picked from commit f3faf67c64 )
2026-05-14 16:30:02 -07:00
Brenton Bostick
775a8d0ef7
make sure #endif comment matches the macro name
...
(cherry picked from commit 3ac4e684ab )
2026-05-14 16:29:53 -07:00
Sam Lantinga
2e7bd8902c
Use the correct report format for BLE Steam Controller reports
...
(cherry picked from commit 79f5f674bd )
2026-05-14 16:29:26 -07:00
Vlad-Florin Ilie
f35b77c417
Fix Steam Controller 2026 (triton) rumble ( #15558 )
...
(cherry picked from commit b333c04ccc )
2026-05-13 23:42:14 -07:00
Sam Lantinga
f55416bf00
Added controller sensor support for GameInput v3
...
Verified working with the DualSense controller
(cherry picked from commit 0defb4ddfc )
2026-05-13 23:41:39 -07:00
Sam Lantinga
c02d2b8c73
Added SDL_SendGamepadEffect() support for the new Steam Controller
...
(cherry picked from commit 4884dbbe56 )
2026-05-13 20:15:43 -07:00
Sam Lantinga
90c68dce38
Removed Wooting 60HE (ARM) from the controller blacklist
...
Fixes https://github.com/libsdl-org/SDL/issues/15555
(cherry picked from commit f30ec9940a )
2026-05-11 22:11:01 -07:00
Sam Lantinga
ef3196bedd
Fixed a crash if we get a HID device with no path
...
This can happen on Linux if udev_device_get_devnode() fails.
(cherry picked from commit bb4eedd67d )
2026-05-11 16:48:43 -07:00
Rachel Blackman
7e101bdce9
Ensure Android gamepad mappings don't lose the first button.
...
(cherry picked from commit fd3cfb97c1 )
2026-05-11 12:59:59 -07:00
Nintorch
b52e6d10ce
Ignore Keychron K10 Pro and Huion Tablet_GS1331
...
(cherry picked from commit 287e2573cd )
2026-05-11 11:11:24 -07:00
Sam Lantinga
a730905a2b
Fixed build
...
(cherry picked from commit ab19d09939 )
2026-05-06 19:42:51 -07:00
Sam Lantinga
ef9963df0d
Don't report 10% battery for Xbox controllers using XInput
...
(cherry picked from commit 386f198622 )
2026-05-06 18:12:29 -07:00
Nintorch
3013f975ac
Fix JoyCon mappings on Android
...
(cherry picked from commit 3c1636a958 )
2026-05-04 11:49:45 -07:00
Nintorch
52b6bceedf
Add support for joystick motion sensors on Android
...
(cherry picked from commit c699512adc )
2026-05-03 15:11:59 -07:00
Nintorch
c239edd6e0
Fix Xbox controller names in MFI joystick backend ( #15499 )
...
controller.vendorName returns a generic name for Xbox controllers ("Controller"), so we have to give them proper names.
(cherry picked from commit c805a4d632 )
2026-05-03 09:26:38 -07:00
Sam Lantinga
1d75b6bc59
Fixed crash on Windows when a controller is connected
...
(cherry picked from commit 4a52a5ee04 )
2026-05-01 16:57:47 -07:00
Sam Lantinga
65eda5fbd4
Fixed copyright on SDL_hidapi_steam_triton.c
...
Fixes https://github.com/libsdl-org/SDL/issues/15486
Closes https://github.com/libsdl-org/SDL/pull/15487
(cherry picked from commit e9a6d7eda0 )
2026-04-30 19:56:07 -07:00
Sam Lantinga
d7af22f927
Disable accidentally enabled debug logging
...
(cherry picked from commit e1e6cbe6ec )
2026-04-28 17:26:48 -07:00
Sam Lantinga
3164b74256
Don't use the fake HID endpoint for Xbox controllers on Windows
...
(cherry picked from commit d5fca9628a )
2026-04-28 14:10:29 -07:00
ShulkerSakura
1d228f8a7d
Add keychron Q3 blacklist ( #15462 )
...
(cherry picked from commit 543a05bf08 )
2026-04-26 07:45:43 -07:00
Sam Lantinga
eebe7558d5
Fixed the menu controller button state on recent Apple platforms
...
The OS reports the button state as of macOS 11.0, iOS 14.0, and tvOS 14.0, so use that instead of the deprecated pause handler.
(cherry picked from commit 1146ea484a )
2026-04-24 11:38:13 -07:00