diff options
author | Curt Coder <curtcoder@mail.com> | 2014-11-01 20:13:14 +0200 |
---|---|---|
committer | Curt Coder <curtcoder@mail.com> | 2014-11-01 20:13:35 +0200 |
commit | 322b2222c2dcb27332e131d9f49264f285356606 (patch) | |
tree | efaff3cc947b94da43e32828b5a0230a970283c2 | |
parent | 2bfb54cc84f084b9dd962e997ed5daf59de07605 (diff) |
(MESS) x820: Fixed LOCK key. (nw)
-rw-r--r-- | src/mess/machine/x820kb.c | 9 | ||||
-rw-r--r-- | src/mess/machine/x820kb.h | 1 |
2 files changed, 2 insertions, 8 deletions
diff --git a/src/mess/machine/x820kb.c b/src/mess/machine/x820kb.c index f382e81c99b..67984032025 100644 --- a/src/mess/machine/x820kb.c +++ b/src/mess/machine/x820kb.c @@ -13,7 +13,6 @@ TODO: - - LOCK key - repeat - what are T0/T1/INT? @@ -190,12 +189,9 @@ INPUT_PORTS_START( xerox_820_keyboard ) PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J') PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K') - PORT_START("YD") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("LOCK") PORT_CODE(KEYCODE_Q) PORT_TOGGLE - PORT_START("YF") - PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left SHIFT") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1) - PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Right SHIFT") PORT_CODE(KEYCODE_RSHIFT) + PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("LOCK") PORT_CODE(KEYCODE_CAPSLOCK) PORT_CHAR(UCHAR_MAMEKEY(CAPSLOCK)) PORT_TOGGLE + PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_CHAR(UCHAR_SHIFT_1) PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left CTRL") PORT_CODE(KEYCODE_LCONTROL) PORT_CHAR(UCHAR_MAMEKEY(LCONTROL)) PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) @@ -236,7 +232,6 @@ xerox_820_keyboard_t::xerox_820_keyboard_t(const machine_config &mconfig, const m_y6(*this, "Y6"), m_y7(*this, "Y7"), m_y8(*this, "Y8"), - m_yd(*this, "YD"), m_yf(*this, "YF"), m_kbstb_cb(*this), m_p1(0xff), diff --git a/src/mess/machine/x820kb.h b/src/mess/machine/x820kb.h index 110d6c2cb85..b5df53b45cc 100644 --- a/src/mess/machine/x820kb.h +++ b/src/mess/machine/x820kb.h @@ -73,7 +73,6 @@ private: required_ioport m_y6; required_ioport m_y7; required_ioport m_y8; - required_ioport m_yd; required_ioport m_yf; devcb_write_line m_kbstb_cb; |