mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 07:59:57 +00:00
Merge pull request #12989 from german77/hotcake
yuzu: Allow non npad hotkeys and disable controller navigation requirement
This commit is contained in:
commit
3511d5552a
1 changed files with 2 additions and 4 deletions
|
@ -190,10 +190,8 @@ void ControllerShortcut::ControllerUpdateEvent(Core::HID::ControllerTriggerType
|
||||||
if (type != Core::HID::ControllerTriggerType::Button) {
|
if (type != Core::HID::ControllerTriggerType::Button) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (!Settings::values.controller_navigation) {
|
if (button_sequence.npad.raw == Core::HID::NpadButton::None &&
|
||||||
return;
|
button_sequence.capture.raw == 0 && button_sequence.home.raw == 0) {
|
||||||
}
|
|
||||||
if (button_sequence.npad.raw == Core::HID::NpadButton::None) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue