diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-10-23 12:09:28 -0400 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-11-15 23:33:21 -0500 |
commit | 91c06dae1a68efb2d6ae110d0aa28d7b3aafd573 (patch) | |
tree | 098d3f93e9b46938c09664bdc98a0ecd18d84c47 /src/input_common/sdl/sdl_impl.cpp | |
parent | 978ca65f59f1388358ce0d45de41816e8b0aa887 (diff) |
input: Disconnect a controller prior to connecting a new one
Some games do not respond to a change in controller type if 1) The controller is not disconnected prior to being reconnected and/or 2) The controller is reconnected instantly after being disconnected.
Since it is not possible to change controllers instantly on hardware and requiring a disconnect prior to connecting a new one, we should emulate this as well with a small delay, fixing the aforementioned issue.
Diffstat (limited to 'src/input_common/sdl/sdl_impl.cpp')
0 files changed, 0 insertions, 0 deletions