shift_status

Definition

INT shift_status

shift_status is defined in the mod_key module and indicates whether a modifier key is being pressed. If more than a modifier key is pressed at the same time shift_status will return the sum.

List

KeyValue
Right Control20 *
Left Control36
Right Alt72 *
Left Alt136
NUM LOCK256
CAPS LOCK512
Right Shift1025
Left Shift1026

Note: At the time of the writing of this article, right alt and right control didn’t return anything. It is unknown whether it is a bug or just deprecated.