mirror of
https://github.com/RGBCube/serenity
synced 2025-07-03 01:32:07 +00:00
Kernel: Don't forward hijacked keypresses in keyboard driver
This commit is contained in:
parent
67a4256a98
commit
e4826276d1
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
Add a link
Reference in a new issue