diff options
Diffstat (limited to 'src/kernel/input/ps2')
-rw-r--r-- | src/kernel/input/ps2/keyboard.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/input/ps2/keyboard.c b/src/kernel/input/ps2/keyboard.c index e7f789a..2a093e5 100644 --- a/src/kernel/input/ps2/keyboard.c +++ b/src/kernel/input/ps2/keyboard.c @@ -2,7 +2,7 @@ #include <kernel/io/io.h> #include <kernel/graphics/vesa.h> -int shift_pressed = 0; +int shift_pressed; char keymap[128] = { 0 /*E*/, 27, '1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '=', '\b', @@ -101,5 +101,6 @@ void keyboard_rate() { void keyboard_install() { keyboard_rate(); irq_install_handler(1, keyboard_handler); + shift_pressed = 0; info("Installed keyboard handler"); } |