trunk/src/mess/machine/x820kb.c
r241630 | r241631 | |
13 | 13 | |
14 | 14 | TODO: |
15 | 15 | |
16 | | - LOCK key |
17 | 16 | - repeat |
18 | 17 | - what are T0/T1/INT? |
19 | 18 | |
r241630 | r241631 | |
190 | 189 | PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_J) PORT_CHAR('j') PORT_CHAR('J') |
191 | 190 | PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_K) PORT_CHAR('k') PORT_CHAR('K') |
192 | 191 | |
193 | | PORT_START("YD") |
194 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("LOCK") PORT_CODE(KEYCODE_Q) PORT_TOGGLE |
195 | | |
196 | 192 | PORT_START("YF") |
197 | | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left SHIFT") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1) |
198 | | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Right SHIFT") PORT_CODE(KEYCODE_RSHIFT) |
| 193 | PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("LOCK") PORT_CODE(KEYCODE_CAPSLOCK) PORT_CHAR(UCHAR_MAMEKEY(CAPSLOCK)) PORT_TOGGLE |
| 194 | PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_CODE(KEYCODE_LSHIFT) PORT_CODE(KEYCODE_RSHIFT) PORT_CHAR(UCHAR_SHIFT_1) |
199 | 195 | PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_KEYBOARD ) PORT_NAME("Left CTRL") PORT_CODE(KEYCODE_LCONTROL) PORT_CHAR(UCHAR_MAMEKEY(LCONTROL)) |
200 | 196 | PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_UNUSED ) |
201 | 197 | PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_UNUSED ) |
r241630 | r241631 | |
236 | 232 | m_y6(*this, "Y6"), |
237 | 233 | m_y7(*this, "Y7"), |
238 | 234 | m_y8(*this, "Y8"), |
239 | | m_yd(*this, "YD"), |
240 | 235 | m_yf(*this, "YF"), |
241 | 236 | m_kbstb_cb(*this), |
242 | 237 | m_p1(0xff), |