diff options
author | Angelo Salese <angelosa@users.noreply.github.com> | 2019-10-22 18:58:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-22 18:58:54 +0200 |
commit | 25ebe9007932d71d429b4071f0e8f330e82b50d2 (patch) | |
tree | b9abb31255a05ae5416ebec5be2b0afefb7195d6 /src/mame/drivers/f1gp.cpp | |
parent | 34efe9ae1e450e14b4eb2d3c066b8327b4e8f8a2 (diff) |
f1gp.cpp: switch button order as per service mode (nw)
Diffstat (limited to 'src/mame/drivers/f1gp.cpp')
-rw-r--r-- | src/mame/drivers/f1gp.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/f1gp.cpp b/src/mame/drivers/f1gp.cpp index 0dd158e7ec8..f62dd0e13a3 100644 --- a/src/mame/drivers/f1gp.cpp +++ b/src/mame/drivers/f1gp.cpp @@ -201,8 +201,9 @@ static INPUT_PORTS_START( f1gp ) PORT_BIT( 0x0002, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_CONDITION("JOY_TYPE", 0x01, EQUALS, 0x01) PORT_BIT( 0x0004, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_2WAY PORT_CONDITION("JOY_TYPE", 0x01, EQUALS, 0x01) PORT_BIT( 0x0008, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_2WAY PORT_CONDITION("JOY_TYPE", 0x01, EQUALS, 0x01) - PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Brake Button") - PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Accelerator Button") + // following two are logically arranged as per service mode + PORT_BIT( 0x0010, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME("P1 Brake Button") + PORT_BIT( 0x0020, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("P1 Accelerator Button") PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0080, IP_ACTIVE_LOW, IPT_UNKNOWN ) PORT_BIT( 0x0100, IP_ACTIVE_LOW, IPT_COIN1 ) @@ -300,11 +301,11 @@ static INPUT_PORTS_START( f1gp ) INPUT_PORTS_END -/* the same as f1gp, but with an extra button */ static INPUT_PORTS_START( f1gp2 ) PORT_INCLUDE( f1gp ) PORT_MODIFY("INPUTS") + // additional button, complies with 1992 F1 season PORT_BIT( 0x0040, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME("P1 Turbo Button") PORT_MODIFY("DSW3") |