summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Ville Linde <villelin@mamedev.org>2012-09-15 11:43:02 +0000
committer Ville Linde <villelin@mamedev.org>2012-09-15 11:43:02 +0000
commit69642bdfbe29c3676cea6152cd2da740d1a49dcc (patch)
treec1453b1d4571d21568dfe68a7b1dc5677271d75c /src
parentc49f9229cdd793c31ddcfe47db8af94bf2c3b7e3 (diff)
gticlub.c: Hooked up analog controls in Hang Pilot.
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/gticlub.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mame/drivers/gticlub.c b/src/mame/drivers/gticlub.c
index 48f2bb193b8..b3dc97e95bc 100644
--- a/src/mame/drivers/gticlub.c
+++ b/src/mame/drivers/gticlub.c
@@ -410,7 +410,6 @@ WRITE8_MEMBER(gticlub_state::sysreg_w)
MACHINE_START_MEMBER(gticlub_state,gticlub)
{
-
/* set conservative DRC options */
ppcdrc_set_options(machine().device("maincpu"), PPCDRC_COMPATIBLE_OPTIONS);
@@ -671,15 +670,15 @@ static INPUT_PORTS_START( hangplt )
PORT_DIPNAME( 0x02, 0x00, "Disable Test Mode" )
PORT_DIPSETTING( 0x02, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_DIPNAME( 0x01, 0x00, "Disable Machine Init" )
+ PORT_DIPNAME( 0x01, 0x01, "Disable Machine Init" ) // NOTE: Disabling Machine Init also disables analog controls
PORT_DIPSETTING( 0x01, DEF_STR( Off ) )
PORT_DIPSETTING( 0x00, DEF_STR( On ) )
- PORT_START("AN0")
- PORT_BIT( 0x3ff, 0x000, IPT_UNKNOWN )
+ PORT_START("AN0") // Rudder
+ PORT_BIT( 0x3ff, 0x000, IPT_AD_STICK_X ) PORT_MINMAX(0x000,0x3ff) PORT_SENSITIVITY(35) PORT_KEYDELTA(5)
- PORT_START("AN1")
- PORT_BIT( 0x3ff, 0x000, IPT_UNKNOWN )
+ PORT_START("AN1") // Control Bar
+ PORT_BIT( 0x3ff, 0x000, IPT_AD_STICK_Y ) PORT_MINMAX(0x000,0x3ff) PORT_SENSITIVITY(35) PORT_KEYDELTA(5)
PORT_START("AN2")
PORT_BIT( 0x3ff, 0x000, IPT_UNKNOWN )