summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2013-12-24 07:00:35 +0000
committer Ivan Vangelista <mesgnet@yahoo.it>2013-12-24 07:00:35 +0000
commitefaac9818f3f4511f7ad5201fcfe3bbd22c007a4 (patch)
tree2fbc01a78fac68790a4cc014977cb403094ffcf2
parent39bf80cf5ca0c9b275708485b99bb0f2f0b28a54 (diff)
changela.c: updated previous commit with port-condition.(nw)
-rw-r--r--src/mame/drivers/changela.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/changela.c b/src/mame/drivers/changela.c
index 1911ba6e857..8609b061d92 100644
--- a/src/mame/drivers/changela.c
+++ b/src/mame/drivers/changela.c
@@ -363,8 +363,8 @@ static INPUT_PORTS_START( changela )
PORT_START("IN0") /* 0xDx2C */
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME("Gear Shift") PORT_CODE(KEYCODE_SPACE) PORT_TOGGLE /* Gear shift */
- PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1)
- PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1)
+ PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_PLAYER(1) PORT_CONDITION("DSWA", 0x20, EQUALS, 0x20)
+ PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_PLAYER(1) PORT_CONDITION("DSWA", 0x20, EQUALS, 0x20)
PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* FWD - negated bit 7 */
PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNKNOWN ) /* REV - gear position */
@@ -376,7 +376,7 @@ static INPUT_PORTS_START( changela )
//PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_BUTTON2 ) //gas2
PORT_START("WHEEL") /* 0xDx30 DRIVING_WHEEL */
- PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(50) PORT_KEYDELTA(8)
+ PORT_BIT( 0xff, 0x00, IPT_DIAL ) PORT_MINMAX(0x00, 0xff) PORT_SENSITIVITY(50) PORT_KEYDELTA(8) PORT_CONDITION("DSWA", 0x20, EQUALS, 0x00)
INPUT_PORTS_END