From 2f82430b488878d321276e6efb10c61042ca2930 Mon Sep 17 00:00:00 2001 From: aqua Date: Tue, 1 Nov 2022 21:18:17 +0200 Subject: Enable interrupts after enabling the PIC --- devices/ps2_keyboard.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'devices/ps2_keyboard.c') diff --git a/devices/ps2_keyboard.c b/devices/ps2_keyboard.c index e5af423..4ebcc65 100644 --- a/devices/ps2_keyboard.c +++ b/devices/ps2_keyboard.c @@ -1,4 +1,5 @@ #include "ps2_keyboard.h" +#include "vga.h" #include #include #include @@ -50,6 +51,14 @@ ps2_keyboard_irq_handler() case 0xb6: // right shift up shift_case = 0; return; + + case 0x5b: // left meta + case 0x5c: // right meta + return; + + case 0x58: // F12 + vga_clear(VGA_COLOR_LIGHT_BLUE, VGA_COLOR_LIGHT_GREY); + return; } if (key >= 0x80) return; -- cgit v1.2.1