aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow/llkeyboardwin32.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:42 -0500
committerJacek Antonelli2008-08-15 23:45:42 -0500
commitce28e056c20bf2723f565bbf464b87781ec248a2 (patch)
treeef7b0501c4de4b631a916305cbc2a5fdc125e52d /linden/indra/llwindow/llkeyboardwin32.cpp
parentSecond Life viewer sources 1.19.1.4b (diff)
downloadmeta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.zip
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.gz
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.bz2
meta-impy-ce28e056c20bf2723f565bbf464b87781ec248a2.tar.xz
Second Life viewer sources 1.20.2
Diffstat (limited to 'linden/indra/llwindow/llkeyboardwin32.cpp')
-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 {