Improve the KEY_MASK_CMD documentation

This commit is contained in:
Hugo Locurcio 2019-12-17 18:26:21 +01:00
parent 0dd6079e4e
commit 6cf1499eaf
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C

View File

@ -879,7 +879,7 @@
Ctrl key mask.
</constant>
<constant name="KEY_MASK_CMD" value="268435456" enum="KeyModifierMask">
Cmd key mask.
Command key mask. On macOS, this is equivalent to [constant KEY_MASK_META]. On other platforms, this is equivalent to [constant KEY_MASK_CTRL]. This mask should be preferred to [constant KEY_MASK_META] or [constant KEY_MASK_CTRL] for system shortcuts as it handles all platforms correctly.
</constant>
<constant name="KEY_MASK_KPAD" value="536870912" enum="KeyModifierMask">
Keypad key mask.