Keyboard.WaitForKey

Waits until a key press is detected.

Properties

Parameters (request frame)

Name Type/Size Description
Timeout Integer (16 bits) Time in milliseconds to wait for a key press. If no key press is detected within this time, Keyboard.WaitForKey returns KBD_KEY_NONE (0).

Returned values (response frame)

Name Type/Size Description
Key Integer (8 bits) -