FabGL
ESP32 Display Controller and Graphics Library
|
int getNextScancode | ( | int | timeOutMS = -1 , |
bool | requestResendOnTimeOut = false |
||
) |
Gets a scancode from the queue.
Scancodes are always generated but they can be consumed by the scancode-to-virtualkeys task. So, in order to use this method Keyboard.begin() method should be called with generateVirtualKeys = false and createVKQueue = false.
timeOutMS | Timeout in milliseconds. -1 means no timeout (infinite time). |
requestResendOnTimeOut | If true and timeout has expired then asks the keyboard to resend the scancode. |
Definition at line 207 of file keyboard.cpp.