diff options
Diffstat (limited to 'devices/ps2_keyboard.c')
-rw-r--r-- | devices/ps2_keyboard.c | 9 |
1 files changed, 9 insertions, 0 deletions
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 <stdint.h> #include <stdio.h> #include <sys/io.h> @@ -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; |