FabGL
ESP32 Display Controller and Graphics Library

◆ getData()

int getData ( int  PS2Port,
int  timeOutMS 
)
static

Gets a scancode from the queue.

Parameters
PS2PortPS2 port number (0 = port 0, 1 = port1).
timeOutMS
Returns
The first scancode of the queue (-1 if no data is available).

Definition at line 1294 of file ps2controller.cpp.