summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2024-01-16 14:44:35 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2024-01-16 14:44:54 -0600
commit0b0e9ef18d2bef7ebcaf041d9c9a2b410329742a (patch)
tree39b3f0d7ee4e4a9603a5709e00aec8fe2c3f7956
parent2c29c2b8dd280d0aeff432569f324cd85d83b415 (diff)
core: hid: Disable special features before disconnecting the controllers
-rw-r--r--src/hid_core/frontend/emulated_controller.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hid_core/frontend/emulated_controller.cpp b/src/hid_core/frontend/emulated_controller.cpp
index 2ab93402d..b001cf2fd 100644
--- a/src/hid_core/frontend/emulated_controller.cpp
+++ b/src/hid_core/frontend/emulated_controller.cpp
@@ -110,6 +110,7 @@ void EmulatedController::ReloadFromSettings() {
original_npad_type = npad_type;
}
+ SetPollingMode(EmulatedDeviceIndex::RightIndex, Common::Input::PollingMode::Active);
Disconnect();
if (player.connected) {
Connect();