summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/segas16b.h
diff options
context:
space:
mode:
author angelosa <lordkale4@gmail.com>2020-02-27 14:10:07 +0100
committer angelosa <lordkale4@gmail.com>2020-02-27 14:10:07 +0100
commitbf102135b616fba63c794adbf107825d5f79a69a (patch)
treec6cbb832472c51f43b5f9023ee75cd414719f52b /src/mame/includes/segas16b.h
parent8d5485ada592b6c435c5f946e26eff55c1b2a618 (diff)
segas16b.cpp: improved Heavyweight Champ input handling, added Y handle limits that allows player to change stance, block and attack directions [Angelo Salese]
Diffstat (limited to 'src/mame/includes/segas16b.h')
-rw-r--r--src/mame/includes/segas16b.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mame/includes/segas16b.h b/src/mame/includes/segas16b.h
index 5b96106f6dc..f73fa81a911 100644
--- a/src/mame/includes/segas16b.h
+++ b/src/mame/includes/segas16b.h
@@ -67,6 +67,8 @@ public:
, m_hwc_monitor(*this, "MONITOR")
, m_hwc_left(*this, "LEFT")
, m_hwc_right(*this, "RIGHT")
+ , m_hwc_left_limit(*this, "LEFT_LIMIT")
+ , m_hwc_right_limit(*this, "RIGHT_LIMIT")
, m_mj_input_num(0)
, m_mj_last_val(0)
, m_mj_inputs(*this, "MJ%u", 0U)
@@ -271,6 +273,8 @@ protected:
optional_ioport m_hwc_monitor;
optional_ioport m_hwc_left;
optional_ioport m_hwc_right;
+ optional_ioport m_hwc_left_limit;
+ optional_ioport m_hwc_right_limit;
uint8_t m_mj_input_num;
uint8_t m_mj_last_val;
optional_ioport_array<6> m_mj_inputs;