ion.constants.modifiers¶
Modifier bitmask values - one bit per modifier. These are not used
by MatchKey or MatchPointer
(those take individual boolean kwargs). The bitmask values are for
direct comparison against event.modifiers inside operator
callbacks and hook handlers, where the raw modifier state is
available as a single integer.
Modifier bitmask constants.
Data¶
- ion.constants.modifiers.ALT¶
- Value:
8
- ion.constants.modifiers.CTRL¶
- Value:
4
- ion.constants.modifiers.LOGO¶
- Value:
64
- ion.constants.modifiers.SHIFT¶
- Value:
1