diff options
Diffstat (limited to 'linden/indra/llcommon/indra_constants.h')
-rw-r--r-- | linden/indra/llcommon/indra_constants.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/linden/indra/llcommon/indra_constants.h b/linden/indra/llcommon/indra_constants.h index 9024b12..21635b5 100644 --- a/linden/indra/llcommon/indra_constants.h +++ b/linden/indra/llcommon/indra_constants.h | |||
@@ -130,10 +130,12 @@ const char CLOUD_LAYER_CODE = '8'; | |||
130 | 130 | ||
131 | // keys | 131 | // keys |
132 | // Bit masks for various keyboard modifier keys. | 132 | // Bit masks for various keyboard modifier keys. |
133 | const MASK MASK_NONE = 0x0000; | 133 | const MASK MASK_NONE = 0x0000; |
134 | const MASK MASK_CONTROL = 0x0001; | 134 | const MASK MASK_CONTROL = 0x0001; // Mapped to cmd on Macs |
135 | const MASK MASK_ALT = 0x0002; | 135 | const MASK MASK_ALT = 0x0002; |
136 | const MASK MASK_SHIFT = 0x0004; | 136 | const MASK MASK_SHIFT = 0x0004; |
137 | const MASK MASK_NORMALKEYS = 0x0007; // A real mask - only get the bits for normal modifier keys | ||
138 | const MASK MASK_MAC_CONTROL = 0x0008; // Un-mapped Ctrl key on Macs, not used on Windows | ||
137 | 139 | ||
138 | // Special keys go into >128 | 140 | // Special keys go into >128 |
139 | const KEY KEY_SPECIAL = 0x80; // special keys start here | 141 | const KEY KEY_SPECIAL = 0x80; // special keys start here |