do not map QuadTari-only events if no QuadTari is used

This commit is contained in:
thrust26 2021-04-06 19:06:00 +02:00
parent 836137c7fc
commit 1f1fb2c47d
1 changed files with 6 additions and 0 deletions

View File

@ -285,6 +285,9 @@ void PhysicalKeyboardHandler::enableEmulationMappings()
enableMappings(Right2PaddlesEvents, EventMode::kPaddlesMode);
break;
case EventMode::kEmulationMode: // no QuadTari
break;
default:
enableMappings(Right2JoystickEvents, EventMode::kJoystickMode);
break;
@ -296,6 +299,9 @@ void PhysicalKeyboardHandler::enableEmulationMappings()
enableMappings(Left2PaddlesEvents, EventMode::kPaddlesMode);
break;
case EventMode::kEmulationMode: // no QuadTari
break;
default:
enableMappings(Left2JoystickEvents, EventMode::kJoystickMode);
break;