aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/kernel/input/ps2/keyboard.c3
1 files changed, 1 insertions, 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;
}
}