Previous 199869 Revisions Next

r25368 Tuesday 17th September, 2013 at 23:28:45 UTC by Phil Bennett
kungfum: Use 8-way joysticks [Phil Bennett]

Reference: http://www.crazykong.com/manuals/KungFuMaster.man.pdf
[src/mame/drivers]m62.c

trunk/src/mame/drivers/m62.c
r25367r25368
423423static INPUT_PORTS_START( kungfum )
424424   PORT_INCLUDE( common )
425425
426   PORT_MODIFY("P1")
427   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY
428   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY
429   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY
430   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY
431   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */
432   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
433   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */
434   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 )
435
436   PORT_MODIFY("P2")
437   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT ) PORT_4WAY PORT_COCKTAIL
438   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT ) PORT_4WAY PORT_COCKTAIL
439   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN ) PORT_4WAY PORT_COCKTAIL
440   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_UP ) PORT_4WAY PORT_COCKTAIL
441   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
442   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_COCKTAIL
443   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN ) /* probably unused */
444   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_COCKTAIL
445
446426   PORT_MODIFY("DSW2")
447427   /* In slowmo mode, press 2 to slow game speed */
448428   PORT_DIPNAME( 0x08, 0x08, "Slow Motion Mode (Cheat)" ) PORT_DIPLOCATION("SW2:4")

Previous 199869 Revisions Next


© 1997-2024 The MAME Team