Previous 199869 Revisions Next

r17855 Thursday 13th September, 2012 at 03:23:09 UTC by Brian Troha
meritm.c: Give Dodge City a more logical keyboard layout to play. - NW
[src/mame/drivers]meritm.c

trunk/src/mame/drivers/meritm.c
r17854r17855
763763   PORT_INCLUDE(meritm_crt250)
764764
765765   PORT_MODIFY("PIO1_PORTA")
766   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_NAME( "Hold 1 / Take / Lo" )
767   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_NAME( "Hold 2" )
768   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_NAME( "Hold 3" )
769   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME( "Hold 4" )
770   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_NAME( "Hold 5 / Double Up / Hi" )
771   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_NAME( "Bet" )
772   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_NAME( "Deal" )
766   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_CODE(KEYCODE_Z) PORT_NAME( "Hold 1 / Take / Lo" )
767   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_CODE(KEYCODE_X) PORT_NAME( "Hold 2" )
768   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON3 ) PORT_CODE(KEYCODE_C) PORT_NAME( "Hold 3" )
769   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_CODE(KEYCODE_V) PORT_NAME( "Hold 4" )
770   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON5 ) PORT_CODE(KEYCODE_B) PORT_NAME( "Hold 5 / Double Up / Hi" )
771   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON6 ) PORT_CODE(KEYCODE_S) PORT_NAME( "Bet" )
772   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON7 ) PORT_CODE(KEYCODE_D) PORT_NAME( "Deal" )
773773   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
774774
775775   PORT_MODIFY("DSW")
776776   PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:1")
777777   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
778778   PORT_DIPSETTING(    0x01, DEF_STR( On ) )
779   PORT_DIPNAME( 0x02, 0x02, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:2")
779   PORT_DIPNAME( 0x02, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:2")
780780   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
781781   PORT_DIPSETTING(    0x02, DEF_STR( On ) )
782   PORT_DIPNAME( 0x04, 0x04, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:3")
782   PORT_DIPNAME( 0x04, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:3")
783783   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
784784   PORT_DIPSETTING(    0x04, DEF_STR( On ) )
785785   PORT_DIPNAME( 0x08, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:4")
786786   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
787787   PORT_DIPSETTING(    0x08, DEF_STR( On ) )
788   PORT_DIPNAME( 0x10, 0x10, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:5")
788   PORT_DIPNAME( 0x10, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:5")
789789   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
790790   PORT_DIPSETTING(    0x10, DEF_STR( On ) )
791   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:6")
791   PORT_DIPNAME( 0x20, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:6")
792792   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
793793   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
794794   PORT_DIPNAME( 0x40, 0x00, DEF_STR( Unknown ) ) PORT_DIPLOCATION("SW1:7")

Previous 199869 Revisions Next


© 1997-2024 The MAME Team