mirror of https://github.com/stella-emu/stella.git
fixed common button clash for R77 with keypad
This commit is contained in:
parent
9c71f022d5
commit
f9491ad25d
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue