|
StuBS
|
#include "machine/ps2controller.h"#include "machine/keydecoder.h"#include "machine/ioport.h"#include "debug/output.h"#include "compiler/fix.h"Namespaces | |
| namespace | PS2Controller |
| PS/2 Controller. | |
Functions | |
| static void MAYBE_UNUSED | PS2Controller::sendData (uint8_t value) |
| Send a command or data to a connected PS/2 device. | |
| void | PS2Controller::init () |
| Initialization of connected devices. | |
| bool | PS2Controller::fetch (Key &pressed) |
| Retrieve the keyboard event. | |
| void | PS2Controller::setRepeatRate (Speed speed, Delay delay) |
| Configure the repeat rate of the keyboard. | |
| void | PS2Controller::setLed (enum LED led, bool on) |
| Enable or disable a keyboard LED. | |
Constants | |
| static const IOPort | PS2Controller::ctrl_port (0x64) |
| Access status- (read) and command (write) register. | |
| static const IOPort | PS2Controller::data_port (0x60) |
| Access PS/2 device [keyboard] output- (read) and input (write) buffer. | |
| static KeyDecoder | PS2Controller::key_decoder |
| static uint8_t MAYBE_UNUSED | PS2Controller::leds = 0 |