fixed common button clash for R77 with keypad

This commit is contained in:
Thomas Jentzsch 2021-05-18 20:58:45 +02:00
parent 9c71f022d5
commit f9491ad25d
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ bool PhysicalJoystickHandler::addJoyMapping(Event::Type event, EventMode mode, i
// erase identical mappings for all controller modes // erase identical mappings for all controller modes
j->joyMap.erase(EventMode::kJoystickMode, button, axis, adir); j->joyMap.erase(EventMode::kJoystickMode, button, axis, adir);
j->joyMap.erase(EventMode::kPaddlesMode, button, axis, adir); j->joyMap.erase(EventMode::kPaddlesMode, button, axis, adir);
j->joyMap.erase(EventMode::kKeypadMode, button, axis, adir); //j->joyMap.erase(EventMode::kKeypadMode, button, axis, adir); // no common buttons in keypad mode!
j->joyMap.erase(EventMode::kCompuMateMode, button, axis, adir); j->joyMap.erase(EventMode::kCompuMateMode, button, axis, adir);
} }
else if (evMode != EventMode::kMenuMode) else if (evMode != EventMode::kMenuMode)