aboutsummaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.cpp
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-01-05 19:16:55 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2023-01-05 19:24:29 -0600
commit8042ce7e1999e7953db804f852799cb33d08f91c (patch)
tree96ab15b1de43b16cae51d873332c67e301b4afcc /src/core/hid/emulated_controller.cpp
parentbbeb6e460cf1fd8f796978980e745410bc77ce08 (diff)
input_common: Create an update engine
Diffstat (limited to 'src/core/hid/emulated_controller.cpp')
-rw-r--r--src/core/hid/emulated_controller.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp
index 71364c323b..7a01f3f4c8 100644
--- a/src/core/hid/emulated_controller.cpp
+++ b/src/core/hid/emulated_controller.cpp
@@ -1434,16 +1434,6 @@ AnalogSticks EmulatedController::GetSticks() const {
return {};
}
- // Some drivers like stick from buttons need constant refreshing
- for (auto& device : stick_devices) {
- if (!device) {
- continue;
- }
- lock.unlock();
- device->SoftUpdate();
- lock.lock();
- }
-
return controller.analog_stick_state;
}