diff --git a/abstract-machine/am/src/platform/nemu/ioe/input.c b/abstract-machine/am/src/platform/nemu/ioe/input.c index 2513c4a..cebafa7 100644 --- a/abstract-machine/am/src/platform/nemu/ioe/input.c +++ b/abstract-machine/am/src/platform/nemu/ioe/input.c @@ -4,6 +4,6 @@ #define KEYDOWN_MASK 0x8000 void __am_input_keybrd(AM_INPUT_KEYBRD_T *kbd) { - kbd->keycode = AM_KEY_NONE; + kbd->keycode = inl(KBD_ADDR); kbd->keydown = 0; // kbd->keycode & KEYDOWN_MASK; }