input_common: Create an update engine
This commit is contained in:
1 parent
bbeb6e460c
commit
8042ce7e19
4 files changed
+37
-19
No files matched your search
@@ -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