FabGL
ESP32 Display Controller and Graphics Library

◆ read() [2/2]

int read ( int  timeOutMS)

Reads codes from keyboard specyfing timeout.

Keyboard queue is available only after Terminal.connectLocally() call.

Parameters
timeOutMSTimeout in milliseconds. -1 = no timeout (infinite wait).
Returns
The first code of incoming data available (or -1 if no data is available after timeout has expired).

Definition at line 1584 of file terminal.cpp.