Commit Graph
16 Commits
Author SHA1 Message Date
Henrik RydgårdandClaude Opus 5.5 3f1b40b54d Windows HID input: Fix stuck keys on disconnect, don't treat odd reports as disconnects
ReleaseAllKeys released on the XInput device IDs while input arrives on PAD
IDs, so whatever was held at a disconnect stayed held. Short reads and
report types we don't parse made the pad "disconnect" for several seconds,
and a simple DualSense BT report zeroed the state (pressing DPAD up, since
hat 0 is up). These now keep the previous state.

With HID input turned off we no longer open and block reading the device on
the shared input thread.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-12 01:56:32 +02:00
Henrik Rydgård eb6e9d9c4f Add some bindings for the right analog stick by default (for right-stick patches) 2026-06-03 18:49:10 +02:00
Luke 670e089276 Windows: Cache unsupported HID device paths during HID controller polling 2026-05-22 20:55:05 +10:00
Henrik Rydgård bc62602935 Add checkboxes to enable/disable the three input backends.
Can probably serve as a workaround for #21494
2026-05-01 21:28:25 +02:00
Henrik Rydgård 2cc8e87389 WASAPI: Improve error handling and sysinfo display 2026-03-14 23:50:10 +01:00
Henrik Rydgård 0a1448bae9 HID: Add id for DualSense Edge, minor code cleanup 2026-03-13 20:38:39 +01:00
Henrik Rydgård 82069c3503 Windows input optimizations
Fixes a bug where the thread wouldn't sleep when it should in some
configurations.

Also increases the time between polls for new controllers.
2026-03-09 11:02:04 +01:00
Henrik Rydgård fff0261be5 Minor code cleanups 2026-03-04 11:24:32 +01:00
Henrik Rydgård b05dbb8713 Warning fix 2026-02-05 14:04:50 +01:00
Henrik Rydgård 0fc5e86ca5 Add support for the touchpad button for DualSHock/DualSense controllers 2026-02-05 02:05:28 +01:00
Henrik Rydgård 7adbf0e27e Enable tilt input for Switch Pro controllers 2026-02-05 01:33:40 +01:00
haorui wang 7f2b504a01 Fix build in windows with cmake 2026-02-04 23:11:22 +08:00
Henrik Rydgård 3f545af25c Minor cleanup in DualShock code 2026-02-04 10:53:05 +01:00
Henrik Rydgård 4f57499f9f Make DualSense over Bluetooth work on Windows 2026-02-03 09:42:04 +01:00
Henrik Rydgård 62a570904c Windows: Attempt to add support for DualSense over Bluetooth 2026-02-03 00:30:24 +01:00
Henrik Rydgård 1f43b1cf23 Split the Hid code up in a few files to make it more practical to work on 2026-02-03 00:30:19 +01:00