diff options
author | Marvin Borner | 2019-11-26 20:52:45 +0100 |
---|---|---|
committer | Marvin Borner | 2019-11-26 20:52:45 +0100 |
commit | e294302ec8940669e7c8c5559eff2441f9ce4988 (patch) | |
tree | 22e32ce91c998a929deae313f8ffb0679c62ac56 /src | |
parent | ac441fe297e937a8cd17f968e0644be6f485d573 (diff) |
Fixed control key
Diffstat (limited to 'src')
-rw-r--r-- | src/kernel/input/ps2/keyboard.c | 3 |
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; } } |