summaryrefslogtreecommitdiff
path: root/src/common/input.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2023-02-01 12:08:34 -0800
committerGitHub <noreply@github.com>2023-02-01 12:08:34 -0800
commit92c5ab33b7d7ff818ace82bc8dabbf4f0291f226 (patch)
treed082352ddac1ea9d1b6320cb99ef7994595b5292 /src/common/input.h
parentc4aa833d6161091443c2a36ed3e6e5425dabc35d (diff)
parentce1895497dd6a1ab87a6ab56d344b6f5e1e36ee7 (diff)
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 {
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{};
};