Flesh out keyboard event support a bit more.

This commit is contained in:
Andreas Kling 2019-01-21 07:05:31 +01:00
commit aefbbeb3cb
Notes: sideshowbarker 2024-07-19 15:59:19 +09:00
7 changed files with 196 additions and 84 deletions

View file

@ -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') {