FabGL
ESP32 Display Controller and Graphics Library

◆ sendCommand() [1/2]

bool sendCommand ( uint8_t  cmd,
uint8_t  expectedReply 
)

Sends a raw command to the PS/2 device and wait for reply.

Parameters
cmdThe command byte
expectedReplyExpected reply from PS/2 device
Returns
True on success

Definition at line 167 of file ps2device.cpp.