aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow/llkeyboardwin32.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/llwindow/llkeyboardwin32.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/llwindow/llkeyboardwin32.cpp b/linden/indra/llwindow/llkeyboardwin32.cpp
index 1b68112..68cedf1 100644
--- a/linden/indra/llwindow/llkeyboardwin32.cpp
+++ b/linden/indra/llwindow/llkeyboardwin32.cpp
@@ -77,7 +77,7 @@ LLKeyboardWin32::LLKeyboardWin32()
77 mTranslateKeyMap[VK_OEM_COMMA] = ','; 77 mTranslateKeyMap[VK_OEM_COMMA] = ',';
78 mTranslateKeyMap[VK_OEM_MINUS] = '-'; 78 mTranslateKeyMap[VK_OEM_MINUS] = '-';
79 mTranslateKeyMap[VK_OEM_PERIOD] = '.'; 79 mTranslateKeyMap[VK_OEM_PERIOD] = '.';
80 mTranslateKeyMap[VK_OEM_2] = '/'; 80 mTranslateKeyMap[VK_OEM_2] = KEY_PAD_DIVIDE;
81 mTranslateKeyMap[VK_OEM_3] = '`'; 81 mTranslateKeyMap[VK_OEM_3] = '`';
82 mTranslateKeyMap[VK_OEM_4] = '['; 82 mTranslateKeyMap[VK_OEM_4] = '[';
83 mTranslateKeyMap[VK_OEM_5] = '\\'; 83 mTranslateKeyMap[VK_OEM_5] = '\\';
@@ -137,7 +137,11 @@ LLKeyboardWin32::LLKeyboardWin32()
137 mTranslateNumpadMap[0x67] = KEY_PAD_HOME; // keypad 7 137 mTranslateNumpadMap[0x67] = KEY_PAD_HOME; // keypad 7
138 mTranslateNumpadMap[0x68] = KEY_PAD_UP; // keypad 8 138 mTranslateNumpadMap[0x68] = KEY_PAD_UP; // keypad 8
139 mTranslateNumpadMap[0x69] = KEY_PAD_PGUP; // keypad 9 139 mTranslateNumpadMap[0x69] = KEY_PAD_PGUP; // keypad 9
140 mTranslateNumpadMap[0x6A] = KEY_PAD_MULTIPLY; // keypad *
141 mTranslateNumpadMap[0x6B] = KEY_PAD_ADD; // keypad +
142 mTranslateNumpadMap[0x6D] = KEY_PAD_SUBTRACT; // keypad -
140 mTranslateNumpadMap[0x6E] = KEY_PAD_DEL; // keypad . 143 mTranslateNumpadMap[0x6E] = KEY_PAD_DEL; // keypad .
144 mTranslateNumpadMap[0x6F] = KEY_PAD_DIVIDE; // keypad /
141 145
142 for (iter = mTranslateNumpadMap.begin(); iter != mTranslateNumpadMap.end(); iter++) 146 for (iter = mTranslateNumpadMap.begin(); iter != mTranslateNumpadMap.end(); iter++)
143 { 147 {