Go to the documentation of this file.
18 #ifndef __SERVER_PS2_KEYBOARD_H
19 #define __SERVER_PS2_KEYBOARD_H
21 #include <FreeNOS/System.h>
41 #define PS2_RELEASE 0x80
virtual FileSystem::Result read(IOBuffer &buffer, Size &size, const Size offset)
Read a character from the keyboard.
Input/Output operations specific to the ARM architecture.
Arch::IO m_io
Port I/O object.
Abstract device class interface.
bool pending
Do we have a byte ready?
virtual FileSystem::Result interrupt(const Size vector)
Executed when a key state has changed.
u8 shiftState
State of the shift key.
PS2 Keyboard device driver.
Abstract Input/Output buffer.
unsigned int u32
Unsigned 32-bit number.
unsigned int Size
Any sane size indicator cannot go negative.
static const char keymap[0x3a][2]
Keyboard map table.
Result
Result code for filesystem Actions.
unsigned char u8
Unsigned 8-bit number.
virtual FileSystem::Result initialize()
Initialize the device.
Keyboard(const u32 inode)
Constructor.