Only allow P1 to be assigned KBM

This commit is contained in:
Eidolon 2023-03-08 18:39:51 -06:00
parent 7ff7679ed1
commit f952be1e2c

View file

@ -584,6 +584,12 @@ static boolean M_HandlePressStart(setup_player_t *p, UINT8 num)
device = G_GetAvailableGamepadDevice(i - 1);
}
if (device == KEYBOARD_MOUSE_DEVICE && num != 0)
{
// Only player 1 can be assigned to the KBM device.
continue;
}
if (G_IsDeviceResponding(device) != true)
{
// No buttons are being pushed.