summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-02-01 21:08:34 +0100
committerGitHub <noreply@github.com>2023-02-01 21:08:34 +0100
commit92c5ab33b7d7ff818ace82bc8dabbf4f0291f226 (patch)
treed082352ddac1ea9d1b6320cb99ef7994595b5292 /src/common
parentMerge pull request #9711 from zhaobot/tx-update-20230201062139 (diff)
parentyuzu: config: Draw turbo buttons with a different color (diff)
downloadyuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.tar
yuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.tar.gz
yuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.tar.bz2
yuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.tar.lz
yuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.tar.xz
yuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.tar.zst
yuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/input.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/input.h b/src/common/input.h
index d61cd7ca8..b5748a6c8 100644
--- a/src/common/input.h
+++ b/src/common/input.h
@@ -130,6 +130,8 @@ struct ButtonStatus {
bool inverted{};
// Press once to activate, press again to release
bool toggle{};
+ // Spams the button when active
+ bool turbo{};
// Internal lock for the toggle status
bool locked{};
};