20 #ifndef MACHINE_X86_KEYBOARD_H 21 #define MACHINE_X86_KEYBOARD_H 23 #include "pedigree/kernel/compiler.h" 24 #include "pedigree/kernel/machine/Keyboard.h" 25 #include "pedigree/kernel/machine/KeymapManager.h" 26 #include "pedigree/kernel/machine/types.h" 27 #include "pedigree/kernel/processor/types.h" 46 virtual bool getDebugState();
54 void startReaderThread();
57 static int readerThreadTrampoline(
void *)
NORETURN;
char scancodeToAscii(uint8_t scancode)
Converts a scancode into an ASCII character (for use in debug state)
virtual void setLedState(char state)
virtual char getCharNonBlock()
Ps2Controller * m_pPs2Controller
Parent PS/2 controller.
KeymapManager::EscapeState m_Escape
The current escape state.
virtual char getLedState()
virtual void setDebugState(bool enableDebugState)
char m_LedState
Current LED state.
virtual void initialise()
Initialises the device.