modifierNumLock constant

int const modifierNumLock

This mask is used to check the metaState field to test whether the NUM LOCK modifier key is on.

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.

Implementation

static const int modifierNumLock = 0x10;