diff options
author | dec05eba <dec05eba@protonmail.com> | 2025-03-23 03:36:07 +0100 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2025-03-23 03:36:07 +0100 |
commit | 2b63fa048c0f7ca32dc3e96df18fd8d76df19c8c (patch) | |
tree | b9e42f59d1585ac5d5eb0aa053660bb5b7ad03eb | |
parent | 7654639f6f9cc57f31aeabf4489e9ad7fe9b6ef7 (diff) |
-rw-r--r-- | src/GlobalHotkeysJoystick.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GlobalHotkeysJoystick.cpp b/src/GlobalHotkeysJoystick.cpp index 50b1588..d005aa9 100644 --- a/src/GlobalHotkeysJoystick.cpp +++ b/src/GlobalHotkeysJoystick.cpp @@ -188,7 +188,7 @@ namespace gsr { if((event.type & JS_EVENT_BUTTON) == JS_EVENT_BUTTON) { if(event.number == playstation_button) playstation_button_pressed = event.value == button_pressed; - else if(event.number == options_button && event.value == button_pressed) + else if(playstation_button_pressed && event.number == options_button && event.value == button_pressed) toggle_show = true; } else if((event.type & JS_EVENT_AXIS) == JS_EVENT_AXIS && playstation_button_pressed) { const int trigger_threshold = 16383; |