modifierShift constant

int const modifierShift

This mask is used to check the metaState field to test whether one of the SHIFT modifier keys is pressed.

Use this value if you need to decode the metaState field yourself, but it's much easier to use isModifierPressed if you just want to know if a modifier is pressed.


static const int modifierShift = 0x01;