summaryrefslogtreecommitdiffstats
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2023-05-08 00:38:41 +0200
committergerman77 <juangerman-13@hotmail.com>2023-05-08 01:01:57 +0200
commitcf023aa8ec93193d4827b3034c9e7d35a0edfc2a (patch)
tree66c90375ec6d8a8f1bae96e8c6fc9194b8407756 /src/core/hid/emulated_controller.h
parentMerge pull request #10097 from german77/nfp_full (diff)
downloadyuzu-cf023aa8ec93193d4827b3034c9e7d35a0edfc2a.tar
yuzu-cf023aa8ec93193d4827b3034c9e7d35a0edfc2a.tar.gz
yuzu-cf023aa8ec93193d4827b3034c9e7d35a0edfc2a.tar.bz2
yuzu-cf023aa8ec93193d4827b3034c9e7d35a0edfc2a.tar.lz
yuzu-cf023aa8ec93193d4827b3034c9e7d35a0edfc2a.tar.xz
yuzu-cf023aa8ec93193d4827b3034c9e7d35a0edfc2a.tar.zst
yuzu-cf023aa8ec93193d4827b3034c9e7d35a0edfc2a.zip
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r--src/core/hid/emulated_controller.h5
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