Previous 15994 Revisions Next

r6195 Tuesday 27th October, 2009 at 12:00:25 UTC by Robbbert
[GAMECOM] Added crosshairs. Added mouseclick for stylus touch. Can confirm that all menu items (except calculator) are working. The game Lights Out also works.
[src/mess/drivers]gamecom.c

src/mess/drivers/gamecom.c
r6194r6195
5757   PORT_START("IN2")
5858   PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME( "Power(?)" ) PORT_CODE( KEYCODE_N )
5959   PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_BUTTON4 ) PORT_NAME( "Button D" )
60   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME( "Stylus press" ) PORT_CODE( KEYCODE_Z )
60   PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME( "Stylus press" ) PORT_CODE( KEYCODE_Z ) PORT_CODE( MOUSECODE_BUTTON1 )
6161
6262   PORT_START("STYX")
63   PORT_BIT( 0xff, 100, IPT_LIGHTGUN_X ) PORT_MINMAX(0,199) PORT_SENSITIVITY(50) PORT_KEYDELTA(8)
63   PORT_BIT( 0xff, 100, IPT_LIGHTGUN_X ) PORT_CROSSHAIR(X, 1, 0, 0) PORT_MINMAX(0,199) PORT_SENSITIVITY(50) PORT_KEYDELTA(8)
6464
6565   PORT_START("STYY")
66   PORT_BIT( 0xff, 80, IPT_LIGHTGUN_Y ) PORT_MINMAX(0,159) PORT_SENSITIVITY(50) PORT_KEYDELTA(8)
66   PORT_BIT( 0xff, 80, IPT_LIGHTGUN_Y ) PORT_CROSSHAIR(Y, 1, 0, 0) PORT_MINMAX(0,159) PORT_SENSITIVITY(50) PORT_KEYDELTA(8)
6767INPUT_PORTS_END
6868
6969#define GAMECOM_PALETTE_LENGTH   5

Previous 15994 Revisions Next


© 1998-2018 The MESS Team