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

@ -40,6 +40,9 @@ void ControllerNavigation::TriggerButton(Settings::NativeButton::Values native_b
void ControllerNavigation::ControllerUpdateEvent(Core::HID::ControllerTriggerType type) {
std::lock_guard lock{mutex};
if (!Settings::values.controller_navigation) {
return;
}
if (type == Core::HID::ControllerTriggerType::Button) {
ControllerUpdateButton();
return;