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