summaryrefslogtreecommitdiffstats
path: root/src/input_common/input_engine.cpp
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-10-24 18:22:20 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-25 03:30:25 +0100
commit464c4d26ac8e7af6302390684445b357e5cda4e4 (patch)
tree160f98a8bce324756f46b7b5aee889bb5b53f8af /src/input_common/input_engine.cpp
parentweb_applet: Replace HIDButton with NpadButton (diff)
downloadyuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar
yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.gz
yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.bz2
yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.lz
yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.xz
yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.tar.zst
yuzu-464c4d26ac8e7af6302390684445b357e5cda4e4.zip
Diffstat (limited to 'src/input_common/input_engine.cpp')
-rw-r--r--src/input_common/input_engine.cpp2
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
if (!configuring || !mapping_callback.on_data) {
return;
}
+
+ PreSetButton(identifier, button);
if (value == GetButton(identifier, button)) {
return;
}