diff options
author | Marvin Borner | 2019-10-24 22:29:37 +0200 |
---|---|---|
committer | Marvin Borner | 2019-10-24 22:29:37 +0200 |
commit | 707ea2cd052d92ddbdf3ad0f5b0108def8674d31 (patch) | |
tree | c4a192cfa05f2864a750844f2c0fdf68f8b15454 /src/kernel/input/ps2/keyboard.c | |
parent | 389554a245cd8660d63e2cf81e6d9ac78bfea04a (diff) |
Added basic VESA keyboard support
Diffstat (limited to 'src/kernel/input/ps2/keyboard.c')
-rw-r--r-- | src/kernel/input/ps2/keyboard.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/input/ps2/keyboard.c b/src/kernel/input/ps2/keyboard.c index 262178d..e2fd18f 100644 --- a/src/kernel/input/ps2/keyboard.c +++ b/src/kernel/input/ps2/keyboard.c @@ -1,6 +1,6 @@ #include "../../interrupts/interrupts.h" #include "../../io/io.h" -#include "../../graphics/graphics.h" +#include "../../graphics/vesa.h" char keymap[128] = { 0 /*E*/, 27, '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '=', '\b', @@ -38,7 +38,7 @@ void keyboard_handler(struct regs *r) { scan_code = receive_b(0x60); if (!(scan_code & 0x80)) { - terminal_put_keyboard_char(keymap[scan_code]); + vesa_keyboard_char(keymap[scan_code]); } } |