Merge pull request #9696 from german77/please_forgive_me_for_this_sin
input_common: Implement turbo buttons
This commit is contained in:
commit
92c5ab33b7
8 changed files with 138 additions and 32 deletions
|
@ -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{};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue