Fix incorrect MODIFIER_MASK value
This commit is contained in:
parent
533c616cb8
commit
3c6f926309
2 changed files with 2 additions and 2 deletions
|
@ -249,7 +249,7 @@ enum class Key {
|
|||
|
||||
enum class KeyModifierMask {
|
||||
CODE_MASK = ((1 << 23) - 1), ///< Apply this mask to any keycode to remove modifiers.
|
||||
MODIFIER_MASK = (0x7F << 22), ///< Apply this mask to isolate modifiers.
|
||||
MODIFIER_MASK = (0x7E << 22), ///< Apply this mask to isolate modifiers.
|
||||
//RESERVED = (1 << 23),
|
||||
CMD_OR_CTRL = (1 << 24),
|
||||
SHIFT = (1 << 25),
|
||||
|
|
|
@ -2355,7 +2355,7 @@
|
|||
<constant name="KEY_CODE_MASK" value="8388607" enum="KeyModifierMask" is_bitfield="true">
|
||||
Key Code mask.
|
||||
</constant>
|
||||
<constant name="KEY_MODIFIER_MASK" value="532676608" enum="KeyModifierMask" is_bitfield="true">
|
||||
<constant name="KEY_MODIFIER_MASK" value="528482304" enum="KeyModifierMask" is_bitfield="true">
|
||||
Modifier key mask.
|
||||
</constant>
|
||||
<constant name="KEY_MASK_CMD_OR_CTRL" value="16777216" enum="KeyModifierMask" is_bitfield="true">
|
||||
|
|
Loading…
Reference in a new issue