diff options
author | Geenz <geenz@geenzo.com> | 2012-12-17 18:00:30 -0500 |
---|---|---|
committer | Geenz <geenz@geenzo.com> | 2012-12-17 18:00:30 -0500 |
commit | c8aa1fb7c8ed44886599ea4e04eed403392e2e34 (patch) | |
tree | 440c4a548e55c2a6ade9f75625aabdd2203d31dd /indra/llwindow/llkeyboardmacosx.h | |
parent | b6abf5c0ee964ced6b8aa25872db597d3f024bfd (diff) |
LLWindow: Move to using Cocoa for window and view creation along with setting up callbacks for event handling as such.
Diffstat (limited to 'indra/llwindow/llkeyboardmacosx.h')
-rw-r--r-- | indra/llwindow/llkeyboardmacosx.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llwindow/llkeyboardmacosx.h b/indra/llwindow/llkeyboardmacosx.h index f09ff720ce..6e1f4d3b96 100644 --- 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: |