summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Fabio Priuli <etabeta78@users.noreply.github.com>2009-04-11 16:24:29 +0000
committer Fabio Priuli <etabeta78@users.noreply.github.com>2009-04-11 16:24:29 +0000
commita93ab0341c04c6504ee8a0b9027f01054a0fbe20 (patch)
tree0a3426f9fbbbfa6e64d7777f9429ce0521816b16
parent3c0c8e52cdc815f79aac65ee71574ca1002e8eb9 (diff)
Partial fix to bug MT 3070 (harddriv & racedriv do not show anymore P2 inputs for analog controls). Still thinking about steeltal.
-rw-r--r--src/mame/drivers/harddriv.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/drivers/harddriv.c b/src/mame/drivers/harddriv.c
index 5db21f6271e..a3fb15d0271 100644
--- a/src/mame/drivers/harddriv.c
+++ b/src/mame/drivers/harddriv.c
@@ -598,10 +598,10 @@ static INPUT_PORTS_START( harddriv )
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
PORT_START("8BADC3") /* b00000 - 8 bit ADC 3 - shifter lever Y */
- PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(128) PORT_PLAYER(2)
+ PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(128) PORT_CODE_DEC(KEYCODE_R) PORT_CODE_INC(KEYCODE_F)
PORT_START("8BADC4") /* b00000 - 8 bit ADC 4 - shifter lever X*/
- PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(25) PORT_KEYDELTA(128) PORT_PLAYER(2)
+ PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(25) PORT_KEYDELTA(128) PORT_CODE_DEC(KEYCODE_D) PORT_CODE_INC(KEYCODE_G)
PORT_START("8BADC5") /* b00000 - 8 bit ADC 5 - wheel */
PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x10,0xf0) PORT_SENSITIVITY(25) PORT_KEYDELTA(5)
@@ -654,10 +654,10 @@ static INPUT_PORTS_START( racedriv )
PORT_BIT( 0xff, 0x80, IPT_SPECIAL )
PORT_START("8BADC3") /* b00000 - 8 bit ADC 3 - shifter lever Y */
- PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(128) PORT_PLAYER(2)
+ PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(25) PORT_KEYDELTA(128) PORT_CODE_DEC(KEYCODE_R) PORT_CODE_INC(KEYCODE_F)
PORT_START("8BADC4") /* b00000 - 8 bit ADC 4 - shifter lever X*/
- PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(25) PORT_KEYDELTA(128) PORT_PLAYER(2)
+ PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(25) PORT_KEYDELTA(128) PORT_CODE_DEC(KEYCODE_D) PORT_CODE_INC(KEYCODE_G)
PORT_START("8BADC5") /* b00000 - 8 bit ADC 5 - wheel */
PORT_BIT( 0xff, 0x80, IPT_PADDLE ) PORT_MINMAX(0x10,0xf0) PORT_SENSITIVITY(25) PORT_KEYDELTA(5)
@@ -959,7 +959,7 @@ static INPUT_PORTS_START( hdrivair )
PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNUSED )
PORT_START("8BADC0") /* b00000 - 8 bit ADC 0 - gas pedal */
- PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(20) PORT_PLAYER(1)
+ PORT_BIT( 0xff, 0x00, IPT_PEDAL ) PORT_SENSITIVITY(25) PORT_KEYDELTA(20)
PORT_START("8BADC1") /* b00000 - 8 bit ADC 1 */
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )