diff options
Diffstat (limited to 'devices/pckbd.c')
-rw-r--r-- | devices/pckbd.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/devices/pckbd.c b/devices/pckbd.c index d550f91..0e99fe6 100644 --- a/devices/pckbd.c +++ b/devices/pckbd.c @@ -26,22 +26,22 @@ ps2_keyboard_irq_handler() const uint8_t key = ps2_read_port1(); switch (key) { - case 0x2a: // left shift down - case 0x36: // right shift down + case 0x2a: /* left shift down */ + case 0x36: /* right shift down */ shift_case = 1; return; - case 0xaa: // left shift up - case 0xb6: // right shift up + case 0xaa: /* left shift up */ + case 0xb6: /* right shift up */ shift_case = 0; return; - case 0x5b: // left meta - case 0x5c: // right meta + case 0x5b: /* left meta */ + case 0x5c: /* right meta */ return; - case 0x58: // F12 - // vga_clear(VGA_COLOR_LIGHT_BLUE, VGA_COLOR_LIGHT_GREY); + case 0x58: /* F12 */ + /* vga_clear(VGA_COLOR_LIGHT_BLUE, VGA_COLOR_LIGHT_GREY); */ return; } |