Skip to content

Commit 619de99

Browse files
committed
autokbd: Fix shifted keys on natural keyboard
1 parent d2f5ed3 commit 619de99

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/devices/bus/a2kbd/autokbd.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ static INPUT_PORTS_START(a2autokbd)
195195
PORT_BIT(0x80, IP_ACTIVE_LOW, IPT_UNUSED)
196196

197197
PORT_START("MODIFIERS")
198-
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Left Shift") PORT_CODE(KEYCODE_LSHIFT)
198+
PORT_BIT(0x01, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Left Shift") PORT_CODE(KEYCODE_LSHIFT) PORT_CHAR(UCHAR_SHIFT_1)
199199
PORT_BIT(0x02, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Right Shift") PORT_CODE(KEYCODE_RSHIFT)
200200
PORT_BIT(0x04, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Ctrl") PORT_CODE(KEYCODE_LCONTROL) PORT_CHAR(UCHAR_SHIFT_2) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(a2autokbd_device::reset_changed), 0)
201201
PORT_BIT(0x08, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_NAME("Reset") PORT_CODE(KEYCODE_F12) PORT_CHANGED_MEMBER(DEVICE_SELF, FUNC(a2autokbd_device::reset_changed), 0)

0 commit comments

Comments
 (0)