diff options
author | ajrhacker <ajrhacker@users.noreply.github.com> | 2020-03-13 22:10:36 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-13 22:10:36 -0400 |
commit | d1a38e9422ed8c199b7683d3af76fa8860290b36 (patch) | |
tree | b07c2575ab8231a10a9a4c024c8b6b6819edf03a | |
parent | 854a56a1df8265b93341b4d56094d5cff2e51c48 (diff) | |
parent | b47fa605713d1b83a4bae28ffc7a10d871de04dc (diff) |
Merge pull request #6439 from MASHinfo/master
Added Star Wars controller to Turbo Su
-rw-r--r-- | src/mame/drivers/esripsys.cpp | 12 |
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 |