clean: add comment
This commit is contained in:
parent
d3aa5af23a
commit
e287578c46
@ -14,7 +14,7 @@ uint8_t terminal_getkey(void)
|
||||
scan_code = inb(KEYBOARD_PORT);
|
||||
if (scan_code == 0x3A || scan_code == 0x58) {
|
||||
caps_mode = !caps_mode;
|
||||
outb(0xED, (caps_mode << 2));
|
||||
outb(0xED, (caps_mode << 2)); // turn on/off capslock led
|
||||
}
|
||||
else if (scan_code == KEY_RIGHT_SHIFT || scan_code == KET_LEFT_SHIFT)
|
||||
caps_mode = true;
|
||||
|
Loading…
Reference in New Issue
Block a user