This command returns the state of a key of the keyboard. 1st Parameter is the virtual key code of the key being tested. 2nd Parameter receives the result.
!A [] $567 !1 !3