summaryrefslogtreecommitdiff
path: root/indra/llwindow/llkeyboardmacosx.cpp
diff options
context:
space:
mode:
authorGeenz <geenz@geenzo.com>2013-02-22 16:41:49 -0500
committerGeenz <geenz@geenzo.com>2013-02-22 16:41:49 -0500
commit4a935b68151f9d6951a1d1312a3437a8e8150f41 (patch)
treed9d4967eb7e72eb896952b1f5aba7568b28ea685 /indra/llwindow/llkeyboardmacosx.cpp
parente17d69d1d16c607aa304936ebf2ab151684f9c76 (diff)
Fix inconsistent handling of Control, Alt, and Shift keys through a new modifier update callback.
Diffstat (limited to 'indra/llwindow/llkeyboardmacosx.cpp')
-rw-r--r--indra/llwindow/llkeyboardmacosx.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llwindow/llkeyboardmacosx.cpp b/indra/llwindow/llkeyboardmacosx.cpp
index 59cc2acaec..d4c8214461 100644
--- a/indra/llwindow/llkeyboardmacosx.cpp
+++ b/indra/llwindow/llkeyboardmacosx.cpp
@@ -198,6 +198,11 @@ static BOOL translateKeyMac(const U16 key, const U32 mask, KEY &outKey, U32 &out
}
*/
+void LLKeyboardMacOSX::handleModifier(MASK mask)
+{
+ updateModifiers(mask);
+}
+
MASK LLKeyboardMacOSX::updateModifiers(const U32 mask)
{
// translate the mask