Project

General

Profile

Actions

Emulator Issues #9669

closed

Controller input state is not reset when device is disconnected

Added by Anonymous almost 8 years ago. Updated about 5 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
Windows
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:
5.0-9869

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.

Actions #2

Updated by Billiard26 over 5 years ago

  • Status changed from New to Work started
  • Assignee set to Billiard26
Actions #3

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.

Actions #4

Updated by Billiard26 about 5 years ago

  • Status changed from Fix pending to Fixed
  • Fixed in set to 5.0-9869
Actions

Also available in: Atom PDF