summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/input.h2
-rw-r--r--src/common/settings.h1
2 files changed, 3 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};
diff --git a/src/common/settings.h b/src/common/settings.h
index 64db66f37..6d27dd5ee 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -488,6 +488,7 @@ struct Values {
488 Setting<bool> enable_raw_input{false, "enable_raw_input"}; 488 Setting<bool> enable_raw_input{false, "enable_raw_input"};
489 Setting<bool> controller_navigation{true, "controller_navigation"}; 489 Setting<bool> controller_navigation{true, "controller_navigation"};
490 Setting<bool> enable_joycon_driver{true, "enable_joycon_driver"}; 490 Setting<bool> enable_joycon_driver{true, "enable_joycon_driver"};
491 Setting<bool> enable_procon_driver{false, "enable_procon_driver"};
491 492
492 SwitchableSetting<bool> vibration_enabled{true, "vibration_enabled"}; 493 SwitchableSetting<bool> vibration_enabled{true, "vibration_enabled"};
493 SwitchableSetting<bool> enable_accurate_vibrations{false, "enable_accurate_vibrations"}; 494 SwitchableSetting<bool> enable_accurate_vibrations{false, "enable_accurate_vibrations"};