From 8042ce7e1999e7953db804f852799cb33d08f91c Mon Sep 17 00:00:00 2001 From: Narr the Reg Date: Thu, 5 Jan 2023 19:16:55 -0600 Subject: input_common: Create an update engine --- src/core/hid/emulated_controller.cpp | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/core') diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp index 71364c323..7a01f3f4c 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; } -- cgit v1.2.3