summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author MASH <mameinfo@ewetel.net>2020-03-14 02:49:40 +0100
committer GitHub <noreply@github.com>2020-03-14 02:49:40 +0100
commitb47fa605713d1b83a4bae28ffc7a10d871de04dc (patch)
treeb07c2575ab8231a10a9a4c024c8b6b6819edf03a
parent854a56a1df8265b93341b4d56094d5cff2e51c48 (diff)
Added Star Wars controller to Turbo Su
Added Star Wars flight yoke controller to Turbo Sub. This fixed the inverted input since MAME 0.192. See http://www.turbosub.com/turbosubmain.html "Most of the cabinets that have surfaced have been converted from Star Wars cabinets, this makes sense considering the game utilizes the same flight yoke". See also MAMETesters bug #06913
-rw-r--r--src/mame/drivers/esripsys.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/esripsys.cpp b/src/mame/drivers/esripsys.cpp
index 6c6b0885775..e5609ee93c1 100644
--- a/src/mame/drivers/esripsys.cpp
+++ b/src/mame/drivers/esripsys.cpp
@@ -284,9 +284,9 @@ READ8_MEMBER(esripsys_state::g_iobus_r)
case 0x10:
return ioport("IO_1")->read();
case 0x11:
- return ioport("JOYSTICK_X")->read();
+ return ioport("STICKX")->read();
case 0x12:
- return ioport("JOYSTICK_Y")->read();
+ return ioport("STICKY")->read();
case 0x16:
return m_io_firq_status;
case 0x18:
@@ -453,11 +453,11 @@ static INPUT_PORTS_START( turbosub )
PORT_START("IO_2")
PORT_BIT( 0xff, IP_ACTIVE_LOW, IPT_UNUSED )
- PORT_START("JOYSTICK_X")
- PORT_BIT( 0xff, 0x00, IPT_AD_STICK_X ) PORT_MINMAX(0xff, 0x00) PORT_SENSITIVITY(25) PORT_KEYDELTA(200)
+ PORT_START("STICKX")
+ PORT_BIT( 0xff, 0x80, IPT_AD_STICK_X ) PORT_SENSITIVITY(50) PORT_KEYDELTA(30)
- PORT_START("JOYSTICK_Y")
- PORT_BIT( 0xff, 0x00, IPT_AD_STICK_Y ) PORT_MINMAX(0xff, 0x00) PORT_SENSITIVITY(25) PORT_KEYDELTA(200)
+ PORT_START("STICKY")
+ PORT_BIT( 0xff, 0x80, IPT_AD_STICK_Y ) PORT_SENSITIVITY(70) PORT_KEYDELTA(30)
INPUT_PORTS_END