Keyboard.WaitForKey
Waits until a key press is detected.
Properties
- Command code: 0x4203
- Command timeout: 66000 ms
- Possible status codes: General status codes
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) | - |