diff options
| author | german77 <juangerman-13@hotmail.com> | 2023-05-07 16:38:41 -0600 |
|---|---|---|
| committer | german77 <juangerman-13@hotmail.com> | 2023-05-07 17:01:57 -0600 |
| commit | cf023aa8ec93193d4827b3034c9e7d35a0edfc2a (patch) | |
| tree | 66c90375ec6d8a8f1bae96e8c6fc9194b8407756 /src/core/hid/emulated_controller.h | |
| parent | e58090c9c731701662d0824c2fd081467f21f5c3 (diff) | |
core: hid: Update motion on a better place
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: */ void DeleteCallback(int key); - /// Swaps the state of the turbo buttons - void TurboButtonUpdate(); + /// Swaps the state of the turbo buttons and updates motion input + void StatusUpdate(); private: /// creates input devices from params @@ -528,7 +528,6 @@ private: bool is_configuring{false}; bool system_buttons_enabled{true}; f32 motion_sensitivity{Core::HID::MotionInput::IsAtRestStandard}; - bool force_update_motion{false}; u32 turbo_button_state{0}; // Temporary values to avoid doing changes while the controller is in configuring mode |
