From 0e636f1bb33fefc5ce20be6c2e7c871b3fa00dbf Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 17 Jan 2024 22:19:15 +0100 Subject: [PATCH] Made the A/B and X/Y button swap setting not affect keyboard input --- es-core/src/InputConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/InputConfig.cpp b/es-core/src/InputConfig.cpp index e8d334183..e15523729 100644 --- a/es-core/src/InputConfig.cpp +++ b/es-core/src/InputConfig.cpp @@ -148,7 +148,7 @@ bool InputConfig::getInputByName(const std::string& name, Input* result) { std::string nameInput {name}; - if (Settings::getInstance()->getBool("InputSwapButtons")) { + if (Settings::getInstance()->getBool("InputSwapButtons") && mDeviceId != DEVICE_KEYBOARD) { if (name == "a") nameInput = "b"; else if (name == "b")