C++ Crashkurs
ps2controller.h File Reference
PS/2 Controller (Intel 8042, also known as Keyboard Controller) More...
Include dependency graph for ps2controller.h:
Namespaces | |
namespace | PS2Controller |
PS/2 Controller. | |
Functions | |
void | PS2Controller::init () |
Initialization of connected devices. More... | |
bool | PS2Controller::fetch (Key &pressed) |
Retrieve the keyboard event. More... | |
bool | PS2Controller::fetch (Pointer &state) |
Retrieve the mouse event. More... | |
void | PS2Controller::setRepeatRate (Speed speed, Delay delay) |
Configure the repeat rate of the keyboard. More... | |
void | PS2Controller::setLed (enum LED led, bool on) |
Enable or disable a keyboard LED. More... | |
void | PS2Controller::drainBuffer () |
Empties the keyboard buffer. More... | |
bool | PS2Controller::isPressed (Key::Scancode key) |
Check if a key is currently pressed. More... | |
Detailed Description
PS/2 Controller (Intel 8042, also known as Keyboard Controller)