mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Made the A/B and X/Y button swap setting not affect keyboard input
This commit is contained in:
parent
dcb2aaedef
commit
0e636f1bb3
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue