Previous 199869 Revisions Next

r24055 Wednesday 3rd July, 2013 at 15:42:06 UTC by hap
improve inputs
[src/mame/drivers]seabattl.c

trunk/src/mame/drivers/seabattl.c
r24054r24055
443443
444444static INPUT_PORTS_START( seabattl )
445445   PORT_START("IN0")
446   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_UNKNOWN ) // must be high or coins don't work
447   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
448   PORT_BIT( 0x04, IP_ACTIVE_HIGH, IPT_BUTTON2 ) PORT_NAME("TORPEDO")
449   PORT_BIT( 0x08, IP_ACTIVE_HIGH, IPT_BUTTON1 ) PORT_NAME("MISSILE")
450   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN1 )
451   PORT_BIT( 0x20, IP_ACTIVE_HIGH, IPT_UNUSED )
452   PORT_BIT( 0x40, IP_ACTIVE_HIGH, IPT_UNUSED )
453   PORT_BIT( 0x80, IP_ACTIVE_HIGH, IPT_UNUSED )
446   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
447   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_UNKNOWN )
448   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_BUTTON1 )
449   PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_BUTTON2 )
450   PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN2 )
451   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
452   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
453   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
454454
455455   PORT_START("IN1")
456456   PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_MINMAX(0x00,0xff) PORT_SENSITIVITY(20) PORT_KEYDELTA(20) PORT_CENTERDELTA(0) PORT_PLAYER(1)

Previous 199869 Revisions Next


© 1997-2024 The MAME Team