From 6fa974fc64b172a7324b28d40f08f2a861d87f8d Mon Sep 17 00:00:00 2001 From: Josh Bell Date: Thu, 8 Mar 2007 00:25:12 +0000 Subject: svn merge -r 58859:58902 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance --> release --- indra/llwindow/llkeyboardwin32.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'indra/llwindow') diff --git a/indra/llwindow/llkeyboardwin32.cpp b/indra/llwindow/llkeyboardwin32.cpp index 448345eeeb..6c7662f5a9 100644 --- a/indra/llwindow/llkeyboardwin32.cpp +++ b/indra/llwindow/llkeyboardwin32.cpp @@ -168,10 +168,7 @@ MASK LLKeyboardWin32::updateModifiers() // Scan the modifier keys as of the last Windows key message // (keydown encoded in high order bit of short) - //setModifierKeyLevel( KEY_SHIFT, GetKeyState(VK_SHIFT) & 0x8000 ); - //setModifierKeyLevel( KEY_CONTROL, GetKeyState(VK_CONTROL) & 0x8000 ); - //setModifierKeyLevel( KEY_ALT, GetKeyState(VK_MENU) & 0x8000 ); - //setModifierKeyLevel( KEY_CAPSLOCK, GetKeyState(VK_CAPITAL) & 0x0001); // Low order bit carries the toggle state. + mKeyLevel[KEY_CAPSLOCK] = (GetKeyState(VK_CAPITAL) & 0x0001) != 0; // Low order bit carries the toggle state. // Get mask for keyboard events MASK mask = currentMask(FALSE); return mask; -- cgit v1.2.3