mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 13:08:10 -05:00
input_common: Create an update engine
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user