From e294302ec8940669e7c8c5559eff2441f9ce4988 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 26 Nov 2019 20:52:45 +0100 Subject: Fixed control key --- src/kernel/input/ps2/keyboard.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kernel/input/ps2/keyboard.c b/src/kernel/input/ps2/keyboard.c index 1ca1a1b..7294349 100644 --- a/src/kernel/input/ps2/keyboard.c +++ b/src/kernel/input/ps2/keyboard.c @@ -103,8 +103,7 @@ void keyboard_handler(struct regs *r) vesa_keyboard_char(current_keymap[scan_code]); } else { // RELEASE - // TODO: Fix control release - if (current_keymap[scan_code] == 17) + if (current_keymap[scan_code] == -107) // TODO: IDK WHY -107?! control_pressed = 0; } } -- cgit v1.2.3