summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/merit.c
diff options
context:
space:
mode:
author Brian Troha <briantro@users.noreply.github.com>2012-09-13 19:15:14 +0000
committer Brian Troha <briantro@users.noreply.github.com>2012-09-13 19:15:14 +0000
commit1c9490ac315b6c212f5dd88db12a2bb93b26511b (patch)
treeacb0f06274730f9744def5652b6ff9f04c740164 /src/mame/drivers/merit.c
parentbf5ff16a7298bb2ad732bf032fd20d3c1416daa5 (diff)
meritm.c: Use standard defined "gambler" keys for Dodge City - NW
Diffstat (limited to 'src/mame/drivers/merit.c')
-rw-r--r--src/mame/drivers/merit.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/mame/drivers/merit.c b/src/mame/drivers/merit.c
index ccaaf6b6520..fc334eecc42 100644
--- a/src/mame/drivers/merit.c
+++ b/src/mame/drivers/merit.c
@@ -857,7 +857,7 @@ static INPUT_PORTS_START( dtrvwh5 )
PORT_DIPSETTING( 0x00, "Single Side Cocktail" )
INPUT_PORTS_END
-static INPUT_PORTS_START( pitboss )
+static INPUT_PORTS_START( pitboss ) /* PCB pinout maps 12 lamp outputs, Diagnostics & Books Switches - Where are they mapped? */
PORT_START("IN0")
PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1/P2 Button 1")
PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1/P2 Button 2")
@@ -893,7 +893,12 @@ static INPUT_PORTS_START( pitboss )
PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_COCKTAIL PORT_CODE(KEYCODE_F) PORT_NAME("P2 Button 4")
PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_COCKTAIL PORT_CODE(KEYCODE_G) PORT_NAME("P2 Button 5")
PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_COCKTAIL PORT_CODE(KEYCODE_W) PORT_NAME("P2 Play")
- PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNKNOWN )
+ PORT_DIPNAME( 0x40, 0x40, "1-7" )
+ PORT_DIPSETTING( 0x40, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x00, DEF_STR( On ) )
+ PORT_DIPNAME( 0x80, 0x80, "1-8" )
+ PORT_DIPSETTING( 0x80, DEF_STR( Off ) )
+ PORT_DIPSETTING( 0x00, DEF_STR( On ) )
PORT_START("DSW")
PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coin_A ) ) PORT_DIPLOCATION("SW:1")