Get Keyboard State

\i I K ?

Returns the state of all keys asynchronously.

Note

Response: [ACK] state_column_0 state_column_1 ... state_column_15 [ACK]

Response Example

[ACK][00][00][00][01][00][06][00][00][00][00][00][00][00][00][00][00][ACK]

In column #3, the button connecting to row #0 is pressed. In column #5, the buttons connecting to rows #1 and #2 are pressed.

See also:

Enable/Disable Keyboard
Enable/Disable Keyboard Reporting