summaryrefslogtreecommitdiff
path: root/indra/llwindow/llkeyboardmacosx.h
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2013-09-10 14:59:33 -0700
committerDon Kjer <don@lindenlab.com>2013-09-10 14:59:33 -0700
commit683c36ae2f81bd08d83d7e37c60f447196635834 (patch)
tree05c60ca16e66a297a9ec19f0dc64c3f7664edcf0 /indra/llwindow/llkeyboardmacosx.h
parent3a44c5c2a3e04ed8e7174bedb5753d29e6581019 (diff)
parente6a68e1f09e4d056b4932111e09c3bff98acf29d (diff)
Automated merge
Diffstat (limited to 'indra/llwindow/llkeyboardmacosx.h')
-rwxr-xr-xindra/llwindow/llkeyboardmacosx.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/llwindow/llkeyboardmacosx.h b/indra/llwindow/llkeyboardmacosx.h
index f09ff720ce..f9d014ab70 100755
--- a/indra/llwindow/llkeyboardmacosx.h
+++ b/indra/llwindow/llkeyboardmacosx.h
@@ -29,6 +29,15 @@
#include "llkeyboard.h"
+// These more or less mirror their equivalents in NSEvent.h.
+enum EMacEventKeys {
+ MAC_SHIFT_KEY = 1 << 17,
+ MAC_CTRL_KEY = 1 << 18,
+ MAC_ALT_KEY = 1 << 19,
+ MAC_CMD_KEY = 1 << 20,
+ MAC_FN_KEY = 1 << 23
+};
+
class LLKeyboardMacOSX : public LLKeyboard
{
public:
@@ -40,6 +49,7 @@ public:
/*virtual*/ void resetMaskKeys();
/*virtual*/ MASK currentMask(BOOL for_mouse_event);
/*virtual*/ void scanKeyboard();
+ /*virtual*/ void handleModifier(MASK mask);
protected:
MASK updateModifiers(const U32 mask);