summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_controller.h
diff options
context:
space:
mode:
authorGravatar liamwhite2023-11-25 10:17:11 -0500
committerGravatar GitHub2023-11-25 10:17:11 -0500
commitbc4818b058bef926c320ef742053007b7bb33cc0 (patch)
tree836d1902acbc83005d53a534608bed96ac734911 /src/core/hid/emulated_controller.h
parentMerge pull request #12110 from liamwhite/mali-nullview (diff)
parentcore: hid: Ensure output devices are initialized (diff)
downloadyuzu-bc4818b058bef926c320ef742053007b7bb33cc0.tar.gz
yuzu-bc4818b058bef926c320ef742053007b7bb33cc0.tar.xz
yuzu-bc4818b058bef926c320ef742053007b7bb33cc0.zip
Merge pull request #12151 from german77/no-crash
core: hid: Ensure output devices are initialized
Diffstat (limited to 'src/core/hid/emulated_controller.h')
-rw-r--r--src/core/hid/emulated_controller.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.h
index ea18c2343..d6e20ab66 100644
--- a/src/core/hid/emulated_controller.h
+++ b/src/core/hid/emulated_controller.h
@@ -559,6 +559,7 @@ private:
559 NpadStyleTag supported_style_tag{NpadStyleSet::All}; 559 NpadStyleTag supported_style_tag{NpadStyleSet::All};
560 bool is_connected{false}; 560 bool is_connected{false};
561 bool is_configuring{false}; 561 bool is_configuring{false};
562 bool is_initalized{false};
562 bool system_buttons_enabled{true}; 563 bool system_buttons_enabled{true};
563 f32 motion_sensitivity{Core::HID::MotionInput::IsAtRestStandard}; 564 f32 motion_sensitivity{Core::HID::MotionInput::IsAtRestStandard};
564 u32 turbo_button_state{0}; 565 u32 turbo_button_state{0};