From 243f2931b527faf4fa6eea5ba25ab74b797dc967 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/hid/emulated_controller.cpp') 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; } -- cgit v1.2.3