diff options
| author | 2020-10-23 12:09:28 -0400 | |
|---|---|---|
| committer | 2020-11-15 23:33:21 -0500 | |
| commit | 91c06dae1a68efb2d6ae110d0aa28d7b3aafd573 (patch) | |
| tree | 098d3f93e9b46938c09664bdc98a0ecd18d84c47 /src/input_common/sdl/sdl_impl.cpp | |
| parent | hid: Implement InitializeVibrationDevice and IsVibrationDeviceMounted (diff) | |
| download | yuzu-91c06dae1a68efb2d6ae110d0aa28d7b3aafd573.tar.gz yuzu-91c06dae1a68efb2d6ae110d0aa28d7b3aafd573.tar.xz yuzu-91c06dae1a68efb2d6ae110d0aa28d7b3aafd573.zip | |
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