summaryrefslogtreecommitdiff
path: root/src/common/input.h
diff options
context:
space:
mode:
authorGravatar bunnei2023-02-01 12:08:34 -0800
committerGravatar GitHub2023-02-01 12:08:34 -0800
commit92c5ab33b7d7ff818ace82bc8dabbf4f0291f226 (patch)
treed082352ddac1ea9d1b6320cb99ef7994595b5292 /src/common/input.h
parentMerge pull request #9711 from zhaobot/tx-update-20230201062139 (diff)
parentyuzu: config: Draw turbo buttons with a different color (diff)
downloadyuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.tar.gz
yuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.tar.xz
yuzu-92c5ab33b7d7ff818ace82bc8dabbf4f0291f226.zip
Merge pull request #9696 from german77/please_forgive_me_for_this_sin
input_common: Implement turbo buttons
Diffstat (limited to 'src/common/input.h')
-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 {
130 bool inverted{}; 130 bool inverted{};
131 // Press once to activate, press again to release 131 // Press once to activate, press again to release
132 bool toggle{}; 132 bool toggle{};
133 // Spams the button when active
134 bool turbo{};
133 // Internal lock for the toggle status 135 // Internal lock for the toggle status
134 bool locked{}; 136 bool locked{};
135}; 137};