diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hid/emulated_controller.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cpp index a70f8807c..db71f1c19 100644 --- a/src/core/hid/emulated_controller.cpp +++ b/src/core/hid/emulated_controller.cpp | |||
| @@ -551,6 +551,8 @@ void EmulatedController::EnableSystemButtons() { | |||
| 551 | void EmulatedController::DisableSystemButtons() { | 551 | void EmulatedController::DisableSystemButtons() { |
| 552 | std::scoped_lock lock{mutex}; | 552 | std::scoped_lock lock{mutex}; |
| 553 | system_buttons_enabled = false; | 553 | system_buttons_enabled = false; |
| 554 | controller.home_button_state.raw = 0; | ||
| 555 | controller.capture_button_state.raw = 0; | ||
| 554 | } | 556 | } |
| 555 | 557 | ||
| 556 | void EmulatedController::ResetSystemButtons() { | 558 | void EmulatedController::ResetSystemButtons() { |
| @@ -734,6 +736,8 @@ void EmulatedController::SetButton(const Common::Input::CallbackStatus& callback | |||
| 734 | if (is_configuring) { | 736 | if (is_configuring) { |
| 735 | controller.npad_button_state.raw = NpadButton::None; | 737 | controller.npad_button_state.raw = NpadButton::None; |
| 736 | controller.debug_pad_button_state.raw = 0; | 738 | controller.debug_pad_button_state.raw = 0; |
| 739 | controller.home_button_state.raw = 0; | ||
| 740 | controller.capture_button_state.raw = 0; | ||
| 737 | lock.unlock(); | 741 | lock.unlock(); |
| 738 | TriggerOnChange(ControllerTriggerType::Button, false); | 742 | TriggerOnChange(ControllerTriggerType::Button, false); |
| 739 | return; | 743 | return; |