getModifiers
Return the current keyboard modifiers mask. It is a combination of the following base-2 values:
KeyHexadecimalDecimal
ShiftLock0x011
Shift0x022
Control0x044
Option0x088
Command0x1016
NumericPad0x2032
Help0x4064
Function0x80128
The Option modifier is also known as Alternate. The ShiftLock modifier is also known as AlphaShift. The Function modifier corresponds to the fn key (not to be confused with the F1, F2, etc. keys).