yuzu: Add setting to disable controller navigation

This commit is contained in:
german77
2022-01-23 21:08:49 -06:00
parent 2136ebccd6
commit b998aa5504
6 changed files with 28 additions and 3 deletions

View File

@ -190,6 +190,9 @@ 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 &&
button_sequence.capture.raw == 0 && button_sequence.home.raw == 0) {
return;