mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-18 10:47:55 +00:00
yuzu: Add setting to disable controller navigation
This commit is contained in:
parent
4a497fc961
commit
47ca44ad1d
6 changed files with 28 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue