Cool Pool: added 2nd button and button labels [Gamez Fan]

This commit is contained in:
Robbbert 2014-07-06 02:14:54 +00:00
parent cdad65cb85
commit 594a72e934

View File

@ -23,6 +23,7 @@
actually reads 2U/6U/1U/5U. The placement cannot therefore be exactly
determined by the check passing.
***************************************************************************/
#include "emu.h"
@ -732,10 +733,12 @@ INPUT_PORTS_END
static INPUT_PORTS_START( coolpool )
PORT_START("IN0")
PORT_BIT( 0x00ff, IP_ACTIVE_HIGH, IPT_UNKNOWN )
PORT_BIT( 0x0f00, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2)
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1)
PORT_BIT( 0xc000, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x0700, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_BIT( 0x0800, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(2) PORT_NAME("P2 English")
PORT_BIT( 0x1000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(2) PORT_NAME("P2 Lock")
PORT_BIT( 0x2000, IP_ACTIVE_LOW, IPT_BUTTON1 ) PORT_PLAYER(1) PORT_NAME("P1 Lock")
PORT_BIT( 0x4000, IP_ACTIVE_LOW, IPT_BUTTON2 ) PORT_PLAYER(1) PORT_NAME("P1 English")
PORT_BIT( 0x8000, IP_ACTIVE_LOW, IPT_UNKNOWN )
PORT_START("IN1")
PORT_BIT( 0x0001, IP_ACTIVE_LOW, IPT_START1 )