Previous 199869 Revisions Next

r17869 Thursday 13th September, 2012 at 19:15:14 UTC by Brian Troha
meritm.c: Use standard defined "gambler" keys for Dodge City - NW
[src/mame/drivers]merit.c meritm.c

trunk/src/mame/drivers/meritm.c
r17868r17869
768768   PORT_INCLUDE(meritm_crt250)
769769
770770   PORT_MODIFY("PIO1_PORTA")
771   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME( "Hold 1 / Take / Lo" )
772   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME( "Hold 2" )
773   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME( "Hold 3" )
774   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME( "Hold 4" )
775   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME( "Hold 5 / Double Up / Hi" )
776   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_S) PORT_NAME( "Bet" )
777   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_D) PORT_NAME( "Deal" )
771   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_POKER_HOLD1 ) PORT_NAME( "Hold 1 / Take / Lo" )
772   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_POKER_HOLD2 )
773   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_POKER_HOLD3 )
774   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_POKER_HOLD4 )
775   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_POKER_HOLD5 ) PORT_NAME( "Hold 5 / Double Up / Hi" )
776   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_GAMBLE_BET )
777   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_GAMBLE_DEAL )
778778   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
779779
780780   PORT_MODIFY("DSW")
trunk/src/mame/drivers/merit.c
r17868r17869
857857   PORT_DIPSETTING(    0x00, "Single Side Cocktail" )
858858INPUT_PORTS_END
859859
860static INPUT_PORTS_START( pitboss )
860static INPUT_PORTS_START( pitboss ) /* PCB pinout maps 12 lamp outputs, Diagnostics & Books Switches - Where are they mapped? */
861861   PORT_START("IN0")
862862   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME("P1/P2 Button 1")
863863   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME("P1/P2 Button 2")
r17868r17869
893893   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_COCKTAIL PORT_CODE(KEYCODE_F) PORT_NAME("P2 Button 4")
894894   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_COCKTAIL PORT_CODE(KEYCODE_G) PORT_NAME("P2 Button 5")
895895   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_COCKTAIL PORT_CODE(KEYCODE_W) PORT_NAME("P2 Play")
896   PORT_BIT( 0xc0, IP_ACTIVE_LOW, IPT_UNKNOWN )
896   PORT_DIPNAME( 0x40, 0x40, "1-7" )
897   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
898   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
899   PORT_DIPNAME( 0x80, 0x80, "1-8" )
900   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
901   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
897902
898903   PORT_START("DSW")
899904   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Coin_A ) )      PORT_DIPLOCATION("SW:1")

Previous 199869 Revisions Next


© 1997-2024 The MAME Team