mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:58:12 +00:00
Kernel: Rename Keyboard to KeyboardDevice.
This commit is contained in:
parent
2dc0ef8813
commit
10b43f3d1d
6 changed files with 24 additions and 24 deletions
|
@ -3,7 +3,7 @@
|
|||
#include "i386.h"
|
||||
#include "IO.h"
|
||||
#include "StdLib.h"
|
||||
#include "Keyboard.h"
|
||||
#include "KeyboardDevice.h"
|
||||
#include <AK/AKString.h>
|
||||
|
||||
static byte* s_vga_buffer;
|
||||
|
@ -476,7 +476,7 @@ void VirtualConsole::on_char(byte ch)
|
|||
set_cursor(m_cursor_row, m_cursor_column);
|
||||
}
|
||||
|
||||
void VirtualConsole::on_key_pressed(Keyboard::Event key)
|
||||
void VirtualConsole::on_key_pressed(KeyboardDevice::Event key)
|
||||
{
|
||||
if (key.ctrl()) {
|
||||
if (key.character >= 'a' && key.character <= 'z') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue