Kernel: Don't forward hijacked keypresses in keyboard driver
This commit is contained in:
parent
67a4256a98
commit
e4826276d1
Notes:
sideshowbarker
2024-07-19 12:43:00 +09:00
Author: https://github.com/deoxxa Commit: https://github.com/SerenityOS/serenity/commit/e4826276d16 Pull-request: https://github.com/SerenityOS/serenity/pull/447
1 changed files with 3 additions and 1 deletions
|
@ -289,10 +289,12 @@ void KeyboardDevice::handle_irq()
|
|||
VirtualConsole::switch_to(map[ch] - '0' - 1);
|
||||
break;
|
||||
default:
|
||||
key_state_changed(ch, pressed);
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
key_state_changed(ch, pressed);
|
||||
}
|
||||
key_state_changed(ch, pressed);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue