diff options
author | bunnei <bunneidev@gmail.com> | 2023-01-07 22:41:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-07 22:41:27 +0100 |
commit | 66e4a48b75d7f60cab1349ce896be696b761fb39 (patch) | |
tree | bba44049730b407d379d4aab995c12515b46fc7b /src/core/hid/emulated_controller.cpp | |
parent | Merge pull request #9578 from bylaws/patch-2 (diff) | |
parent | input_common: Create an update engine (diff) | |
download | yuzu-66e4a48b75d7f60cab1349ce896be696b761fb39.tar yuzu-66e4a48b75d7f60cab1349ce896be696b761fb39.tar.gz yuzu-66e4a48b75d7f60cab1349ce896be696b761fb39.tar.bz2 yuzu-66e4a48b75d7f60cab1349ce896be696b761fb39.tar.lz yuzu-66e4a48b75d7f60cab1349ce896be696b761fb39.tar.xz yuzu-66e4a48b75d7f60cab1349ce896be696b761fb39.tar.zst yuzu-66e4a48b75d7f60cab1349ce896be696b761fb39.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hid/emulated_controller.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
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; } |