diff options
author | bunnei <bunneidev@gmail.com> | 2023-02-01 12:08:34 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 12:08:34 -0800 |
commit | 92c5ab33b7d7ff818ace82bc8dabbf4f0291f226 (patch) | |
tree | d082352ddac1ea9d1b6320cb99ef7994595b5292 /src/common/input.h | |
parent | c4aa833d6161091443c2a36ed3e6e5425dabc35d (diff) | |
parent | ce1895497dd6a1ab87a6ab56d344b6f5e1e36ee7 (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.h | 2 |
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{}; }; |