diff options
| author | 2021-10-24 11:22:20 -0500 | |
|---|---|---|
| committer | 2021-11-24 20:30:25 -0600 | |
| commit | 464c4d26ac8e7af6302390684445b357e5cda4e4 (patch) | |
| tree | 160f98a8bce324756f46b7b5aee889bb5b53f8af /src/input_common/input_engine.cpp | |
| parent | web_applet: Replace HIDButton with NpadButton (diff) | |
| download | yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.gz yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.xz yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.zip | |
settings: Fix mouse and keyboard mappings
Diffstat (limited to '')
| -rw-r--r-- | src/input_common/input_engine.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_common/input_engine.cpp b/src/input_common/input_engine.cpp index 1534f24b0..9cfe0f232 100644 --- a/src/input_common/input_engine.cpp +++ b/src/input_common/input_engine.cpp | |||
| @@ -202,6 +202,8 @@ void InputEngine::TriggerOnButtonChange(const PadIdentifier& identifier, int but | |||
| 202 | if (!configuring || !mapping_callback.on_data) { | 202 | if (!configuring || !mapping_callback.on_data) { |
| 203 | return; | 203 | return; |
| 204 | } | 204 | } |
| 205 | |||
| 206 | PreSetButton(identifier, button); | ||
| 205 | if (value == GetButton(identifier, button)) { | 207 | if (value == GetButton(identifier, button)) { |
| 206 | return; | 208 | return; |
| 207 | } | 209 | } |