Emulator Issues #9669
closedController input state is not reset when device is disconnected
0%
Description
When using XInput or DInput on Windows (and probably other backends on other OSes) inputs remain "stuck" when removing a device.
E.g. When in game or the controller config dialog hold down a button or stick while unplugging your controller.
Buttons continue to show as pressed and sticks are not centered.
This behavior is particularly annoying if a wireless controller's batteries die when moving in game.
I'm currently testing in Dolphin 5.0 on Windows.
This is a regression. UpdateInput calls in ControllerInterface used to "clear" all the inputs of a particular device on failure.
Updated by leoetlino almost 8 years ago
This was removed as part of PR 1560: https://github.com/dolphin-emu/dolphin/commit/61fcfc4bf2058d971af6882af2765ad34d935fcb
Updated by Billiard26 over 5 years ago
- Status changed from New to Work started
- Assignee set to Billiard26
Updated by Billiard26 about 5 years ago
- Status changed from Work started to Fix pending
- Assignee deleted (
Billiard26) - Operating system Windows added
- Operating system deleted (
N/A)
https://github.com/dolphin-emu/dolphin/pull/7776
Completing hotplug support will eliminate this issue.
Updated by Billiard26 about 5 years ago
- Status changed from Fix pending to Fixed
- Fixed in set to 5.0-9869