Fixed arrow keys on Tandy machines.

This commit is contained in:
OBattler
2020-12-18 22:40:51 +01:00
parent 76d38b2665
commit 3f45852af7
2 changed files with 9 additions and 4 deletions

View File

@@ -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;