From 499784a824c541001c2fd52ae95eba88dcfc952b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sat, 21 Dec 2019 22:22:03 +0100 Subject: Many debugging/serial improvements Sorry for the little information, but I did many things :) --- src/kernel/input/ps2/keyboard.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/kernel/input/ps2/keyboard.c') diff --git a/src/kernel/input/ps2/keyboard.c b/src/kernel/input/ps2/keyboard.c index bafecd5..4cbbf04 100644 --- a/src/kernel/input/ps2/keyboard.c +++ b/src/kernel/input/ps2/keyboard.c @@ -4,8 +4,6 @@ #include #include #include -#include -#include int shift_pressed; int control_pressed; @@ -109,7 +107,7 @@ void keyboard_handler(struct regs *r) keyboard_char_buffer = current_keymap[scan_code]; keyboard_buffer[strlen(keyboard_buffer)] = keyboard_char_buffer; } else { // RELEASE - if (current_keymap[scan_code] == -107) // TODO: IDK WHY -107?! + if (current_keymap[scan_code] == (int) 0xffffffb5) // TODO: IDK WHY -107?! control_pressed = 0; } } -- cgit v1.2.3