@@ -266,7 +266,7 @@ static INPUT_PORTS_START(keytronic_l2207)
266
266
PORT_BIT(0x80 , IP_ACTIVE_LOW, IPT_UNUSED)
267
267
268
268
PORT_START(" KEYS2" )
269
- PORT_BIT(0x01 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' 2' ) PORT_CHAR(' @' ) PORT_CODE(KEYCODE_2)
269
+ PORT_BIT(0x01 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME( " 2 @ " ) PORT_CHAR(' 2' ) PORT_CHAR(' @' ) PORT_CHAR( 0x00 ) PORT_CODE(KEYCODE_2)
270
270
PORT_BIT(0x02 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(u8" 3 # £" ) PORT_CHAR(' 3' ) PORT_CHAR(' #' , 0x00a3 ) PORT_CODE(KEYCODE_3)
271
271
PORT_BIT(0x04 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" W" ) PORT_CHAR(' w' ) PORT_CHAR(' W' ) PORT_CHAR(0x17 ) PORT_CODE(KEYCODE_W)
272
272
PORT_BIT(0x08 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" E" ) PORT_CHAR(' e' ) PORT_CHAR(' E' ) PORT_CHAR(0x05 ) PORT_CODE(KEYCODE_E)
@@ -286,7 +286,7 @@ static INPUT_PORTS_START(keytronic_l2207)
286
286
PORT_BIT(0x80 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" V" ) PORT_CHAR(' v' ) PORT_CHAR(' V' ) PORT_CHAR(0x16 ) PORT_CODE(KEYCODE_V)
287
287
288
288
PORT_START(" KEYS4" )
289
- PORT_BIT(0x01 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' 6' ) PORT_CHAR(' ^' ) PORT_CODE(KEYCODE_6)
289
+ PORT_BIT(0x01 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME( " 6 ^ " ) PORT_CHAR(' 6' ) PORT_CHAR(' ^' ) PORT_CHAR( 0x1e ) PORT_CODE(KEYCODE_6)
290
290
PORT_BIT(0x02 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' 7' ) PORT_CHAR(' &' ) PORT_CODE(KEYCODE_7)
291
291
PORT_BIT(0x04 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" Y" ) PORT_CHAR(' y' ) PORT_CHAR(' y' ) PORT_CHAR(0x19 ) PORT_CODE(KEYCODE_Y)
292
292
PORT_BIT(0x08 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" U" ) PORT_CHAR(' u' ) PORT_CHAR(' u' ) PORT_CHAR(0x15 ) PORT_CODE(KEYCODE_U)
@@ -307,7 +307,7 @@ static INPUT_PORTS_START(keytronic_l2207)
307
307
308
308
PORT_START(" KEYS6" )
309
309
PORT_BIT(0x01 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' 0' ) PORT_CHAR(' )' ) PORT_CODE(KEYCODE_0)
310
- PORT_BIT(0x02 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' -' ) PORT_CHAR(' _' ) PORT_CODE(KEYCODE_MINUS)
310
+ PORT_BIT(0x02 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME( " - _ " ) PORT_CHAR(' -' ) PORT_CHAR(' _' ) PORT_CHAR( 0x1f ) PORT_CODE(KEYCODE_MINUS)
311
311
PORT_BIT(0x04 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" P" ) PORT_CHAR(' p' ) PORT_CHAR(' P' ) PORT_CHAR(0x10 ) PORT_CODE(KEYCODE_P)
312
312
PORT_BIT(0x08 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' [' ) PORT_CHAR(' {' ) PORT_CODE(KEYCODE_OPENBRACE)
313
313
PORT_BIT(0x10 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' \' ' ) PORT_CHAR(' "' ) PORT_CODE(KEYCODE_QUOTE)
@@ -318,9 +318,9 @@ static INPUT_PORTS_START(keytronic_l2207)
318
318
PORT_START(" KEYS7" )
319
319
PORT_BIT(0x01 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' =' ) PORT_CHAR(' +' ) PORT_CODE(KEYCODE_EQUALS)
320
320
PORT_BIT(0x02 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' `' ) PORT_CHAR(' ~' ) PORT_CODE(KEYCODE_BACKSLASH)
321
- PORT_BIT(0x04 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' ]' ) PORT_CHAR(' }' ) PORT_CODE(KEYCODE_CLOSEBRACE)
321
+ PORT_BIT(0x04 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME( " ] } " ) PORT_CHAR(' ]' ) PORT_CHAR(' }' ) PORT_CHAR( 0x1d ) PORT_CODE(KEYCODE_CLOSEBRACE)
322
322
PORT_BIT(0x08 , IP_ACTIVE_LOW, IPT_UNUSED)
323
- PORT_BIT(0x10 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(' \\ ' ) PORT_CHAR(' |' ) PORT_CODE(KEYCODE_PGUP)
323
+ PORT_BIT(0x10 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME( " \\ | " ) PORT_CHAR(' \\ ' ) PORT_CHAR(' |' ) PORT_CHAR( 0x1c ) PORT_CODE(KEYCODE_PGUP)
324
324
PORT_BIT(0x20 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(UCHAR_MAMEKEY(1_PAD)) PORT_CODE(KEYCODE_1_PAD)
325
325
PORT_BIT(0x40 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CHAR(UCHAR_MAMEKEY(0_PAD)) PORT_CODE(KEYCODE_0_PAD)
326
326
PORT_BIT(0x80 , IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME(" Line Feed" ) PORT_CHAR(0x0a ) PORT_CODE(KEYCODE_PGDN)
@@ -451,4 +451,4 @@ const tiny_rom_entry *kayproii_keyboard_device::device_rom_region() const
451
451
452
452
// device type definitions
453
453
DEFINE_DEVICE_TYPE_PRIVATE (KEYTRONIC_L2207, device_keytronic_interface, keytronic_l2207_device, " keytronic_l2207" , " Keytronic L2207 serial keyboard" )
454
- DEFINE_DEVICE_TYPE_PRIVATE(KAYPROII_KEYBOARD, device_keytronic_interface, kayproii_keyboard_device, " kayproiikbd" , " Kaypro II keyboard " )
454
+ DEFINE_DEVICE_TYPE_PRIVATE(KAYPROII_KEYBOARD, device_keytronic_interface, kayproii_keyboard_device, " kayproiikbd" , " Kaypro II Keyboard " )
0 commit comments