Previous 199869 Revisions Next

r17899 Saturday 15th September, 2012 at 11:43:02 UTC by Ville Linde
gticlub.c: Hooked up analog controls in Hang Pilot.
[src/mame/drivers]gticlub.c

trunk/src/mame/drivers/gticlub.c
r17898r17899
410410
411411MACHINE_START_MEMBER(gticlub_state,gticlub)
412412{
413
414413   /* set conservative DRC options */
415414   ppcdrc_set_options(machine().device("maincpu"), PPCDRC_COMPATIBLE_OPTIONS);
416415
r17898r17899
671670   PORT_DIPNAME( 0x02, 0x00, "Disable Test Mode" )
672671   PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
673672   PORT_DIPSETTING( 0x00, DEF_STR( On ) )
674   PORT_DIPNAME( 0x01, 0x00, "Disable Machine Init" )
673   PORT_DIPNAME( 0x01, 0x01, "Disable Machine Init" )            // NOTE: Disabling Machine Init also disables analog controls
675674   PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
676675   PORT_DIPSETTING( 0x00, DEF_STR( On ) )
677676
678   PORT_START("AN0")
679   PORT_BIT( 0x3ff, 0x000, IPT_UNKNOWN )
677   PORT_START("AN0")         // Rudder
678   PORT_BIT( 0x3ff, 0x000, IPT_AD_STICK_X ) PORT_MINMAX(0x000,0x3ff) PORT_SENSITIVITY(35) PORT_KEYDELTA(5)
680679
681   PORT_START("AN1")
682   PORT_BIT( 0x3ff, 0x000, IPT_UNKNOWN )
680   PORT_START("AN1")         // Control Bar
681   PORT_BIT( 0x3ff, 0x000, IPT_AD_STICK_Y ) PORT_MINMAX(0x000,0x3ff) PORT_SENSITIVITY(35) PORT_KEYDELTA(5)
683682
684683   PORT_START("AN2")
685684   PORT_BIT( 0x3ff, 0x000, IPT_UNKNOWN )

Previous 199869 Revisions Next


© 1997-2024 The MAME Team