aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llcommon/indra_constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llcommon/indra_constants.h')
-rw-r--r--linden/indra/llcommon/indra_constants.h10
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.
133const MASK MASK_NONE = 0x0000; 133const MASK MASK_NONE = 0x0000;
134const MASK MASK_CONTROL = 0x0001; 134const MASK MASK_CONTROL = 0x0001; // Mapped to cmd on Macs
135const MASK MASK_ALT = 0x0002; 135const MASK MASK_ALT = 0x0002;
136const MASK MASK_SHIFT = 0x0004; 136const MASK MASK_SHIFT = 0x0004;
137const MASK MASK_NORMALKEYS = 0x0007; // A real mask - only get the bits for normal modifier keys
138const 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
139const KEY KEY_SPECIAL = 0x80; // special keys start here 141const KEY KEY_SPECIAL = 0x80; // special keys start here