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