FabGL
ESP32 Display Controller and Graphics Library
|
|
static |
Initializes PS2 device controller using default GPIOs.
Initializes the PS2 controller assigning:
preset | Specifies what is connected to PS/2 ports (mouse, keyboard or boths). |
keyboardMode | Specifies how handle keyboard virtual keys. |
Example:
// Keyboard connected to port 0 and mouse to port1 PSController.begin(PS2Preset::KeyboardPort0_MousePort1);
Definition at line 1200 of file ps2controller.cpp.