FabGL
ESP32 Display Controller and Graphics Library

◆ dataAvailable()

int 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.

Definition at line 955 of file ps2controller.cpp.