FabGL
ESP32 Display Controller and Graphics Library
|
|
static |
Initializes PS2 device controller.
Initializes the PS2 controller assigning GPIOs to DAT and CLK lines.
Because PS/2 ports are handled by the ULP processor, just few GPIO ports are actually usable. They are: GPIO_NUM_2, GPIO_NUM_4, GPIO_NUM_12 (with some limitations), GPIO_NUM_13, GPIO_NUM_14, GPIO_NUM_15, GPIO_NUM_25, GPIO_NUM_26, GPIO_NUM_27, GPIO_NUM_32 and GPIO_NUM_33.
port0_clkGPIO | The GPIO number of Clock line for PS/2 port 0. |
port0_datGPIO | The GPIO number of Data line for PS/2 port 0. |
port1_clkGPIO | The GPIO number of Clock line for PS/2 port 1 (GPIO_UNUSED to disable). |
port1_datGPIO | The GPIO number of Data line for PS/2 port 1 (GPIO_UNUSED to disable). |
Definition at line 1115 of file ps2controller.cpp.