Keyboard.CurrentKey
Returns the keycode of the currently pressed key. This function
does not perform any key buffering or key repeating avoidance
operation.
Properties
- Command code: 0x4201
- Command timeout: 100 ms
- Possible status codes: General status codes
Parameters (request frame)
None
Returned values (response frame)
Name | Type/Size | Description |
---|---|---|
Key | Integer (8 bits) | The keycode of the currently pressed key. |