diff options
| author | 2020-07-02 16:51:16 -0400 | |
|---|---|---|
| committer | 2020-07-02 16:51:16 -0400 | |
| commit | 6e1639c7b004d13aba77549131ecee793fcc4065 (patch) | |
| tree | 986eb64d29751cad2463e3e03f801e42b2089e05 /src/input_common/keyboard.cpp | |
| parent | Add LR triggers as axes, half press to initiate a press, add GC axis id in co... (diff) | |
| download | yuzu-6e1639c7b004d13aba77549131ecee793fcc4065.tar.gz yuzu-6e1639c7b004d13aba77549131ecee793fcc4065.tar.xz yuzu-6e1639c7b004d13aba77549131ecee793fcc4065.zip | |
Fix unnecessary diffs
Diffstat (limited to 'src/input_common/keyboard.cpp')
| -rw-r--r-- | src/input_common/keyboard.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_common/keyboard.cpp b/src/input_common/keyboard.cpp index eb6c3112b..afb8e6612 100644 --- a/src/input_common/keyboard.cpp +++ b/src/input_common/keyboard.cpp | |||
| @@ -49,9 +49,8 @@ public: | |||
| 49 | void ChangeKeyStatus(int key_code, bool pressed) { | 49 | void ChangeKeyStatus(int key_code, bool pressed) { |
| 50 | std::lock_guard guard{mutex}; | 50 | std::lock_guard guard{mutex}; |
| 51 | for (const KeyButtonPair& pair : list) { | 51 | for (const KeyButtonPair& pair : list) { |
| 52 | if (pair.key_code == key_code) { | 52 | if (pair.key_code == key_code) |
| 53 | pair.key_button->status.store(pressed); | 53 | pair.key_button->status.store(pressed); |
| 54 | } | ||
| 55 | } | 54 | } |
| 56 | } | 55 | } |
| 57 | 56 | ||