1
0
Fork 1
forked from suyu/suyu

Merge pull request #12989 from german77/hotcake

yuzu: Allow non npad hotkeys and disable controller navigation requirement
This commit is contained in:
liamwhite 2024-02-13 08:17:50 -05:00 committed by GitHub
commit 3511d5552a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -190,10 +190,8 @@ void ControllerShortcut::ControllerUpdateEvent(Core::HID::ControllerTriggerType
if (type != Core::HID::ControllerTriggerType::Button) {
return;
}
if (!Settings::values.controller_navigation) {
return;
}
if (button_sequence.npad.raw == Core::HID::NpadButton::None) {
if (button_sequence.npad.raw == Core::HID::NpadButton::None &&
button_sequence.capture.raw == 0 && button_sequence.home.raw == 0) {
return;
}