Key state
Returns state of a keyboard key.
A1 [in,1u]A2 [in,1u]AY [in,4i]A3 [out,1b]A4 [out,1b]This message allows to check the state of a particular keyboard key.
Toggle state can be useful to check the state of a key like
[CapsLock].
Received state can become from the time e.g. when last input message was generated. So if you want to check the state of a key in every frame of a real-time program, you should use asynch key state output message instead.