pcsx2
pcsx2 copied to clipboard
[BUG]: Xinput source does not drop existing input values on disconnect events
Describe the Bug
Xinput source does not drop existing input values on disconnect events. Any inputs held on disconnect will be preserved until the pad is reconnected, AND those buttons states are changed. Simply reconnecting the pad will not fix the stuck buttons either.
Reproduction Steps
Map controller with Xinput. Boot padtest elf. Hold button, unplug controller.
Expected Behavior
Unplugging controller should clear inputs from the source.
PCSX2 Revision
2.1.50
Operating System
Windows 10 (64bit)
If Linux - Specify Distro
No response
Logs & Dumps
No response