KeyModifier

class pyto_ui.KeyModifier(*values)
ALPHA_SHIFT = 65536

A modifier flag that indicates the user pressed the Caps Lock key.

ALTERNATE = 524288

A modifier flag that indicates the user pressed the Option key.

COMMAND = 1048576

A modifier flag that indicates the user pressed the Command key.

CONTROL = 262144

A modifier flag that indicates the user pressed the Control key.

NUMERIC_PAD = 2097152

A modifier flag that indicates the user pressed a key located on the numeric keypad.

SHIFT = 131072

A modifier flag that indicates the user pressed the Shift key.