mirror of
https://github.com/holub/mame
synced 2025-04-18 22:49:58 +03:00
atari/harddriv.cpp: Fixed ranges for strtdriv and hdrivair steering and brake controls. (#12196)
This commit is contained in:
parent
fb1a8b66de
commit
d56e0e3d76
@ -1313,7 +1313,7 @@ static INPUT_PORTS_START( strtdriv )
|
||||
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
|
||||
|
||||
PORT_START("mainpcb:8BADC.2") /* b00000 - 8 bit ADC 2 - brake */
|
||||
PORT_BIT( 0xff, 0x00, IPT_PEDAL2 ) PORT_SENSITIVITY(25) PORT_KEYDELTA(40) PORT_NAME("Brake")
|
||||
PORT_BIT( 0xff, 0x20, IPT_PEDAL2 ) PORT_MINMAX(0x20, 0xf0) PORT_SENSITIVITY(25) PORT_KEYDELTA(40) PORT_NAME("Brake") PORT_REVERSE
|
||||
|
||||
PORT_START("mainpcb:8BADC.3") /* b00000 - 8 bit ADC 3 - volume */
|
||||
PORT_BIT( 0xff, 0x80, IPT_UNUSED )
|
||||
@ -1331,7 +1331,7 @@ static INPUT_PORTS_START( strtdriv )
|
||||
PORT_BIT( 0xff, 0x80, IPT_UNUSED )
|
||||
|
||||
PORT_START("mainpcb:12BADC.0") /* 400000 - steering wheel */
|
||||
PORT_BIT(0xfff, 0x800, IPT_PADDLE) PORT_MINMAX(0x010, 0xff0) PORT_SENSITIVITY(400) PORT_KEYDELTA(5) PORT_NAME("Steering Wheel")
|
||||
PORT_BIT(0xfff, 0x200, IPT_PADDLE) PORT_MINMAX(0x000, 0x3ff) PORT_SENSITIVITY(100) PORT_KEYDELTA(5) PORT_NAME("Steering Wheel")
|
||||
|
||||
/* dummy ADC ports to end up with the same number as the full version */
|
||||
PORT_START("mainpcb:12BADC.1") /* FAKE */
|
||||
@ -1421,7 +1421,7 @@ static INPUT_PORTS_START( hdrivair )
|
||||
PORT_BIT( 0xff, 0x80, IPT_UNUSED )
|
||||
|
||||
PORT_START("mainpcb:12BADC.0") /* 400000 - steering wheel */
|
||||
PORT_BIT(0xfff, 0x800, IPT_PADDLE) PORT_MINMAX(0x010, 0xff0) PORT_SENSITIVITY(400) PORT_KEYDELTA(5) PORT_REVERSE PORT_NAME("Steering Wheel")
|
||||
PORT_BIT(0xfff, 0x200, IPT_PADDLE) PORT_MINMAX(0x000, 0x3ff) PORT_SENSITIVITY(100) PORT_KEYDELTA(5) PORT_NAME("Steering Wheel")
|
||||
|
||||
/* dummy ADC ports to end up with the same number as the full version */
|
||||
PORT_START("mainpcb:12BADC.1")
|
||||
|
Loading…
Reference in New Issue
Block a user