summaryrefslogtreecommitdiff
path: root/src/common/input.h
diff options
context:
space:
mode:
authorGravatar german772023-01-28 18:19:15 -0600
committerGravatar Narr the Reg2023-02-01 12:42:05 -0600
commit75e81885b0bd38ece84a94b2d323b05d788f8741 (patch)
treec0ed8431e0a29906b41f5a6f74d9f2ddd449e99b /src/common/input.h
parentMerge pull request #9707 from german77/clang15 (diff)
downloadyuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.tar.gz
yuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.tar.xz
yuzu-75e81885b0bd38ece84a94b2d323b05d788f8741.zip
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};