diff options
Diffstat (limited to 'src/core/hid/emulated_controller.h')
| -rw-r--r-- | src/core/hid/emulated_controller.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h index 6e01f4e12..fa4ad7fae 100644 --- a/src/core/hid/emulated_controller.h +++ b/src/core/hid/emulated_controller.h | |||
| @@ -415,8 +415,8 @@ public: | |||
| 415 | */ | 415 | */ |
| 416 | void DeleteCallback(int key); | 416 | void DeleteCallback(int key); |
| 417 | 417 | ||
| 418 | /// Swaps the state of the turbo buttons | 418 | /// Swaps the state of the turbo buttons and updates motion input |
| 419 | void TurboButtonUpdate(); | 419 | void StatusUpdate(); |
| 420 | 420 | ||
| 421 | private: | 421 | private: |
| 422 | /// creates input devices from params | 422 | /// creates input devices from params |
| @@ -528,7 +528,6 @@ private: | |||
| 528 | bool is_configuring{false}; | 528 | bool is_configuring{false}; |
| 529 | bool system_buttons_enabled{true}; | 529 | bool system_buttons_enabled{true}; |
| 530 | f32 motion_sensitivity{Core::HID::MotionInput::IsAtRestStandard}; | 530 | f32 motion_sensitivity{Core::HID::MotionInput::IsAtRestStandard}; |
| 531 | bool force_update_motion{false}; | ||
| 532 | u32 turbo_button_state{0}; | 531 | u32 turbo_button_state{0}; |
| 533 | 532 | ||
| 534 | // Temporary values to avoid doing changes while the controller is in configuring mode | 533 | // Temporary values to avoid doing changes while the controller is in configuring mode |