set_keyboard_state


bool set_keyboard_state(byte* state)

This function updates the thread's keyboard input state table.

Parameters

byte* state

A pointer to a buffer containing 256 bytes of keyboard key states.

Return

bool

true The function succeeded.
false The call failed.

Notes

The keyboard state table may be accessed by the functions:

Changes made to the state table do not affect keyboard input of other threads; hence, this function is unable to set indicator lights on the keyboard for: