diff --git a/src/device/keyboard_xt.c b/src/device/keyboard_xt.c index 9a234b6eb..ce920f10a 100644 --- a/src/device/keyboard_xt.c +++ b/src/device/keyboard_xt.c @@ -425,6 +425,11 @@ kbd_adddata_process(uint16_t val, void (*adddata)(uint16_t val)) if (!adddata) return; + if (is_t1x00) { + adddata(val); + return; + } + keyboard_get_states(NULL, &num_lock, NULL); shift_states = keyboard_get_shift() & STATE_SHIFT_MASK; diff --git a/src/machine/m_tandy.c b/src/machine/m_tandy.c index 470cd099c..fbfb6054d 100644 --- a/src/machine/m_tandy.c +++ b/src/machine/m_tandy.c @@ -298,11 +298,11 @@ static const scancode scancode_tandy[512] = { { {0}, {0} }, { {0}, {0} }, /*140*/ { {0}, {0} }, { {0}, {0} }, { {0x46, 0}, {0xc6, 0} }, { {0x47, 0}, {0xc7, 0} }, /*144*/ - { {0x48, 0}, {0xc8, 0} }, { {0x49, 0}, {0xc9, 0} }, - { {0}, {0} }, { {0x4b, 0}, {0xcb, 0} }, /*148*/ - { {0}, {0} }, { {0x4d, 0}, {0xcd, 0} }, + { {0x29, 0}, {0xa9, 0} }, { {0x49, 0}, {0xc9, 0} }, + { {0}, {0} }, { {0x2b, 0}, {0xab, 0} }, /*148*/ + { {0}, {0} }, { {0x4e, 0}, {0xce, 0} }, { {0}, {0} }, { {0x4f, 0}, {0xcf, 0} }, /*14c*/ - { {0x50, 0}, {0xd0, 0} }, { {0x51, 0}, {0xd1, 0} }, + { {0x4a, 0}, {0xca, 0} }, { {0x51, 0}, {0xd1, 0} }, { {0x52, 0}, {0xd2, 0} }, { {0x53, 0}, {0xd3, 0} }, /*150*/ { {0}, {0} }, { {0}, {0} }, { {0}, {0} }, { {0}, {0} }, /*154*/