MouseFlag

Mouse flag bits (mouse buttons and keyboard modifiers) for MouseEvent

Values

ValueMeaning
LButton0x0001

Left mouse button is down

MButton0x0010

Middle mouse button is down

RButton0x0002

Right mouse button is down

XButton10x0020

X1 mouse button is down

XButton20x0040

X2 mouse button is down

Control0x0008

Ctrl key is down

Shift0x0004

Shift key is down

Alt0x0080

Alt key is down

ButtonsMaskLButton | MButton | RButton | XButton1 | XButton2

Mask for mouse button flags

KeyMaskControl | Shift | Alt

Mask for keyboard flags

Meta