diff options
| author | german77 <juangerman-13@hotmail.com> | 2023-01-28 18:19:15 -0600 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-02-01 12:42:05 -0600 |
| commit | db99ab5431c020255688879e39225780bf7589e6 (patch) | |
| tree | c0ed8431e0a29906b41f5a6f74d9f2ddd449e99b /src/common/input.h | |
| parent | 5ec8db80ddbde5217d46670be5a35b66b32eb029 (diff) | |
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 d61cd7ca88..b5748a6c84 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{}; }; |
