diff options
Diffstat (limited to 'devices/pckbd.c')
-rw-r--r-- | devices/pckbd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devices/pckbd.c b/devices/pckbd.c index 916e8e6..c4fce5b 100644 --- a/devices/pckbd.c +++ b/devices/pckbd.c @@ -1,4 +1,5 @@ #include "keyboard.h" +#include "ps2_controller.h" #include "vga.h" #include <stdint.h> #include <stdio.h> @@ -23,7 +24,7 @@ ps2_keyboard_init() void ps2_keyboard_irq_handler() { - const uint8_t key = kbd_read_next(); + const uint8_t key = ps2_read_port1(); switch (key) { case 0x2a: // left shift down |