mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Only allow P1 to be assigned KBM
This commit is contained in:
parent
7ff7679ed1
commit
f952be1e2c
1 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue