External Device Keyboard

Sends information about the computer keyboard state.

Settings

key

Keyboard key number.

shift

Sends 1 if shift key is pressed 0 otherwise.

ctrl

Sends 1 if Ctrl key is pressed 0 otherwise.

alt

Sends 1 if Alt key is pressed 0 otherwise.

pressed

Sends 1 if a key is pressed 0 otherwise.

key up

Sends 1 if a key is released (key up) 0 otherwise.

key list

List of pressed keys, as an array of key codes.

For example if keys 'Q,W,E,R,T' are pressed the output will be [81; 87; 69; 82; 84].

panic

Clears all fields and keyboard state values. (Sometime, the OS forget to send KeyUp messages...)

See also

Edit All Pages