FabGL
ESP32 Display Controller and Graphics Library

◆ dataAvailable()

int fabgl::PS2Controller::dataAvailable ( int  PS2Port)

Gets the number of scancodes available in the controller buffer.

Parameters
PS2PortPS2 port number (0 = port 0, 1 = port1).
Returns
The number of scancodes available to read.