diff options
| author | Narr the Reg <juangerman-13@hotmail.com> | 2023-02-09 19:05:20 -0600 |
|---|---|---|
| committer | Narr the Reg <juangerman-13@hotmail.com> | 2023-02-09 19:07:50 -0600 |
| commit | 420560f4d364e0d1697d177dd9b4e5da3e2aa31f (patch) | |
| tree | 90a707a21b66803010bbe707c36563e1ff583559 /src/core/hid/emulated_controller.h | |
| parent | 3d2f7c41709c86758690d5b035c6bd8a456ed91f (diff) | |
core: hid: Use gyro thresholds modes set by the game
Diffstat (limited to 'src/core/hid/emulated_controller.h')
| -rw-r--r-- | src/core/hid/emulated_controller.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h index b02bf35c40..a9da465a2a 100644 --- a/src/core/hid/emulated_controller.h +++ b/src/core/hid/emulated_controller.h @@ -398,6 +398,9 @@ public: /// Asks the output device to change the player led pattern void SetLedPattern(); + /// Changes sensitivity of the motion sensor + void SetGyroscopeZeroDriftMode(GyroscopeZeroDriftMode mode); + /** * Adds a callback to the list of events * @param update_callback A ConsoleUpdateCallback that will be triggered @@ -523,7 +526,7 @@ private: bool is_connected{false}; bool is_configuring{false}; bool system_buttons_enabled{true}; - f32 motion_sensitivity{0.01f}; + f32 motion_sensitivity{Core::HID::MotionInput::IsAtRestStandard}; bool force_update_motion{false}; u32 turbo_button_state{0}; |
