A PS/2 host keyboard and mouse driver. More...
Public Member Functions | |
bool | receive (MessageIrq &msg) |
bool | receive (MessageLegacy &msg) |
HostKeyboard (DBus< MessageIOIn > &bus_hwioin, DBus< MessageIOOut > &bus_hwioout, DBus< MessageInput > &bus_input, Clock *clock, unsigned hostdev, unsigned short base, unsigned irq, unsigned irqaux, unsigned char scset, bool verbose) |
A PS/2 host keyboard and mouse driver.
Translates SCS2 keycodes to single extended keycode and mouse movements to mouse packets. Both are forwarded on the keycode bus.
State: stable Features: scancode set1+2, simple PS2 mouse Missing: z-axis Documentation: PS2 hitrc chapter 7+11, scancodes-13.html
HostKeyboard::HostKeyboard | ( | DBus< MessageIOIn > & | bus_hwioin, | |
DBus< MessageIOOut > & | bus_hwioout, | |||
DBus< MessageInput > & | bus_input, | |||
Clock * | clock, | |||
unsigned | hostdev, | |||
unsigned short | base, | |||
unsigned | irq, | |||
unsigned | irqaux, | |||
unsigned char | scset, | |||
bool | verbose | |||
) | [inline] |
bool HostKeyboard::receive | ( | MessageIrq & | msg | ) | [inline] |
bool HostKeyboard::receive | ( | MessageLegacy & | msg | ) | [inline] |