mirror of
https://github.com/RGBCube/serenity
synced 2025-07-10 09:37:34 +00:00
Flesh out keyboard event support a bit more.
This commit is contained in:
parent
76a2881793
commit
aefbbeb3cb
7 changed files with 196 additions and 84 deletions
|
@ -476,7 +476,7 @@ void VirtualConsole::on_char(byte ch)
|
|||
set_cursor(m_cursor_row, m_cursor_column);
|
||||
}
|
||||
|
||||
void VirtualConsole::on_key_pressed(Keyboard::Key key)
|
||||
void VirtualConsole::on_key_pressed(Keyboard::Event key)
|
||||
{
|
||||
if (key.ctrl()) {
|
||||
if (key.character >= 'a' && key.character <= 'z') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue