mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-21 16:55:46 +00:00
input_common: Implement turbo buttons
This commit is contained in:
parent
5ec8db80dd
commit
db99ab5431
6 changed files with 115 additions and 18 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