summaryrefslogtreecommitdiff
path: root/src/common/input.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-01-28 18:19:15 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2023-02-01 12:42:05 -0600
commit75e81885b0bd38ece84a94b2d323b05d788f8741 (patch)
treec0ed8431e0a29906b41f5a6f74d9f2ddd449e99b /src/common/input.h
parent4069c3ac8b041bb22801663f4486ef115b863b23 (diff)
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{};
};