summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon TURNEY <jon.turney@dronecode.org.uk>2010-04-20 22:00:55 +0100
committerJon TURNEY <jon.turney@dronecode.org.uk>2010-07-19 14:17:08 +0100
commit492e2d7b067a262d70de8502e4a5f66f524a3edc (patch)
tree5244717354f22013b55fa899c22954b70b8c0007
parentc712664c2a9d99a87aee24b2bf06e84404279ad1 (diff)
Reform VK_ to X keycode mapping table as a structure, remove column which just contains the indexmultimedia-keycodes
Add symbolic labels for all known VK_ codes
-rw-r--r--hw/xwin/winkeybd.c4
-rw-r--r--hw/xwin/winkeybd.h527
2 files changed, 268 insertions, 263 deletions
diff --git a/hw/xwin/winkeybd.c b/hw/xwin/winkeybd.c
index 7319cdfa8..89757803d 100644
--- a/hw/xwin/winkeybd.c
+++ b/hw/xwin/winkeybd.c
@@ -68,8 +68,8 @@ winKeybdCtrl (DeviceIntPtr pDevice, KeybdCtrl *pCtrl);
void
winTranslateKey (WPARAM wParam, LPARAM lParam, int *piScanCode)
{
- int iKeyFixup = g_iKeyMap[wParam * WIN_KEYMAP_COLS + 1];
- int iKeyFixupEx = g_iKeyMap[wParam * WIN_KEYMAP_COLS + 2];
+ int iKeyFixup = g_iKeyMap[wParam].keycode;
+ int iKeyFixupEx = g_iKeyMap[wParam].extended_keycode;
int iParam = HIWORD (lParam);
int iParamScanCode = LOBYTE (iParam);
diff --git a/hw/xwin/winkeybd.h b/hw/xwin/winkeybd.h
index 278467306..c8fa0913a 100644
--- a/hw/xwin/winkeybd.h
+++ b/hw/xwin/winkeybd.h
@@ -1,5 +1,3 @@
-#if !defined(WINKEYBD_H)
-#define WINKEYBD_H
/*
*Copyright (C) 1994-2000 The XFree86 Project, Inc. All Rights Reserved.
*
@@ -30,275 +28,282 @@
* Authors: Harold L Hunt II
*/
+#if !defined(WINKEYBD_H)
+#define WINKEYBD_H
+
/*
* We need symbols for the scan codes of keys.
*/
#include "winkeynames.h"
-#define WIN_KEYMAP_COLS 3
+typedef struct
+{
+ int keycode;
+ int extended_keycode;
+} winKeyMap;
/* Rows 160 through 165 correspond to software-generated codes, which
* may not be associated with the appropriate scan code.
*/
-const int
+const winKeyMap
g_iKeyMap [] = {
- /* count Windows VK, ASCII, ASCII when extended VK */
- /* 0 */ 0, 0, 0,
- /* 1 */ 0, 0, 0,
- /* 2 */ 0, 0, 0,
- /* 3 */ VK_CANCEL, 0, KEY_Break,
- /* 4 */ 0, 0, 0,
- /* 5 */ 0, 0, 0,
- /* 6 */ 0, 0, 0,
- /* 7 */ 0, 0, 0,
- /* 8 */ 0, 0, 0,
- /* 9 */ 0, 0, 0,
- /* 10 */ 0, 0, 0,
- /* 11 */ 0, 0, 0,
- /* 12 */ 0, 0, 0,
- /* 13 */ VK_RETURN, 0, KEY_KP_Enter,
- /* 14 */ 0, 0, 0,
- /* 15 */ 0, 0, 0,
- /* 16 */ VK_SHIFT, 0, 0,
- /* 17 */ VK_CONTROL, 0, KEY_RCtrl,
- /* 18 */ VK_MENU, 0, KEY_AltLang,
- /* 19 */ VK_PAUSE, KEY_Pause, 0,
- /* 20 */ 0, 0, 0,
- /* 21 */ 0, 0, 0,
- /* 22 */ 0, 0, 0,
- /* 23 */ 0, 0, 0,
- /* 24 */ 0, 0, 0,
- /* 25 */ 0, 0, 0,
- /* 26 */ 0, 0, 0,
- /* 27 */ 0, 0, 0,
- /* 28 */ 0, 0, 0,
- /* 29 */ 0, 0, 0,
- /* 30 */ 0, 0, 0,
- /* 31 */ 0, 0, 0,
- /* 32 */ 0, 0, 0,
- /* 33 */ VK_PRIOR, 0, KEY_PgUp,
- /* 34 */ VK_NEXT, 0, KEY_PgDown,
- /* 35 */ VK_END, 0, KEY_End,
- /* 36 */ VK_HOME, 0, KEY_Home,
- /* 37 */ VK_LEFT, 0, KEY_Left,
- /* 38 */ VK_UP, 0, KEY_Up,
- /* 39 */ VK_RIGHT, 0, KEY_Right,
- /* 40 */ VK_DOWN, 0, KEY_Down,
- /* 41 */ 0, 0, 0,
- /* 42 */ 0, 0, 0,
- /* 43 */ 0, 0, 0,
- /* 44 */ VK_SNAPSHOT, 0, KEY_Print,
- /* 45 */ VK_INSERT, 0, KEY_Insert,
- /* 46 */ VK_DELETE, 0, KEY_Delete,
- /* 47 */ 0, 0, 0,
- /* 48 */ 0, 0, 0,
- /* 49 */ 0, 0, 0,
- /* 50 */ 0, 0, 0,
- /* 51 */ 0, 0, 0,
- /* 52 */ 0, 0, 0,
- /* 53 */ 0, 0, 0,
- /* 54 */ 0, 0, 0,
- /* 55 */ 0, 0, 0,
- /* 56 */ 0, 0, 0,
- /* 57 */ 0, 0, 0,
- /* 58 */ 0, 0, 0,
- /* 59 */ 0, 0, 0,
- /* 60 */ 0, 0, 0,
- /* 61 */ 0, 0, 0,
- /* 62 */ 0, 0, 0,
- /* 63 */ 0, 0, 0,
- /* 64 */ 0, 0, 0,
- /* 65 */ 0, 0, 0,
- /* 66 */ 0, 0, 0,
- /* 67 */ 0, 0, 0,
- /* 68 */ 0, 0, 0,
- /* 69 */ 0, 0, 0,
- /* 70 */ 0, 0, 0,
- /* 71 */ 0, 0, 0,
- /* 72 */ 0, 0, 0,
- /* 73 */ 0, 0, 0,
- /* 74 */ 0, 0, 0,
- /* 75 */ 0, 0, 0,
- /* 76 */ 0, 0, 0,
- /* 77 */ 0, 0, 0,
- /* 78 */ 0, 0, 0,
- /* 79 */ 0, 0, 0,
- /* 80 */ 0, 0, 0,
- /* 81 */ 0, 0, 0,
- /* 82 */ 0, 0, 0,
- /* 83 */ 0, 0, 0,
- /* 84 */ 0, 0, 0,
- /* 85 */ 0, 0, 0,
- /* 86 */ 0, 0, 0,
- /* 87 */ 0, 0, 0,
- /* 88 */ 0, 0, 0,
- /* 89 */ 0, 0, 0,
- /* 90 */ 0, 0, 0,
- /* 91 */ VK_LWIN, KEY_LMeta, 0,
- /* 92 */ VK_RWIN, KEY_RMeta, 0,
- /* 93 */ VK_APPS, KEY_Menu, 0,
- /* 94 */ 0, 0, 0,
- /* 95 */ 0, 0, 0,
- /* 96 */ 0, 0, 0,
- /* 97 */ 0, 0, 0,
- /* 98 */ 0, 0, 0,
- /* 99 */ 0, 0, 0,
- /* 100 */ 0, 0, 0,
- /* 101 */ 0, 0, 0,
- /* 102 */ 0, 0, 0,
- /* 103 */ 0, 0, 0,
- /* 104 */ 0, 0, 0,
- /* 105 */ 0, 0, 0,
- /* 106 */ 0, 0, 0,
- /* 107 */ 0, 0, 0,
- /* 108 */ 0, 0, 0,
- /* 109 */ 0, 0, 0,
- /* 110 */ 0, 0, 0,
- /* 111 */ VK_DIVIDE, 0, KEY_KP_Divide,
- /* 112 */ 0, 0, 0,
- /* 113 */ 0, 0, 0,
- /* 114 */ 0, 0, 0,
- /* 115 */ 0, 0, 0,
- /* 116 */ 0, 0, 0,
- /* 117 */ 0, 0, 0,
- /* 118 */ 0, 0, 0,
- /* 119 */ 0, 0, 0,
- /* 120 */ 0, 0, 0,
- /* 121 */ 0, 0, 0,
- /* 122 */ 0, 0, 0,
- /* 123 */ 0, 0, 0,
- /* 124 */ 0, 0, 0,
- /* 125 */ 0, 0, 0,
- /* 126 */ 0, 0, 0,
- /* 127 */ 0, 0, 0,
- /* 128 */ 0, 0, 0,
- /* 129 */ 0, 0, 0,
- /* 130 */ 0, 0, 0,
- /* 131 */ 0, 0, 0,
- /* 132 */ 0, 0, 0,
- /* 133 */ 0, 0, 0,
- /* 134 */ 0, 0, 0,
- /* 135 */ 0, 0, 0,
- /* 136 */ 0, 0, 0,
- /* 137 */ 0, 0, 0,
- /* 138 */ 0, 0, 0,
- /* 139 */ 0, 0, 0,
- /* 140 */ 0, 0, 0,
- /* 141 */ 0, 0, 0,
- /* 142 */ 0, 0, 0,
- /* 143 */ 0, 0, 0,
- /* 144 */ 0, 0, 0,
- /* 145 */ 0, 0, 0,
- /* 146 */ 0, 0, 0,
- /* 147 */ 0, 0, 0,
- /* 148 */ 0, 0, 0,
- /* 149 */ 0, 0, 0,
- /* 150 */ 0, 0, 0,
- /* 151 */ 0, 0, 0,
- /* 152 */ 0, 0, 0,
- /* 153 */ 0, 0, 0,
- /* 154 */ 0, 0, 0,
- /* 155 */ 0, 0, 0,
- /* 156 */ 0, 0, 0,
- /* 157 */ 0, 0, 0,
- /* 158 */ 0, 0, 0,
- /* 159 */ 0, 0, 0,
- /* 160 */ VK_LSHIFT, KEY_ShiftL, 0,
- /* 161 */ VK_RSHIFT, KEY_ShiftR, 0,
- /* 162 */ VK_LCONTROL, KEY_LCtrl, 0,
- /* 163 */ VK_RCONTROL, KEY_RCtrl, 0,
- /* 164 */ VK_LMENU, KEY_Alt, 0,
- /* 165 */ VK_RMENU, KEY_AltLang, 0,
- /* 166 */ 0, 0, 0,
- /* 167 */ 0, 0, 0,
- /* 168 */ 0, 0, 0,
- /* 169 */ 0, 0, 0,
- /* 170 */ VK_BROWSER_SEARCH,KEY_SEARCH, 0,
- /* 171 */ 0, 0, 0,
- /* 172 */ VK_BROWSER_HOME,KEY_BROWSER, 0,
- /* 173 */ VK_VOLUME_MUTE, 0, KEY_Mute,
- /* 174 */ VK_VOLUME_DOWN, 0, KEY_AudioLower,
- /* 175 */ VK_VOLUME_UP, 0, KEY_AudioRaise,
- /* 176 */ VK_MEDIA_NEXT_TRACK, 0, KEY_NEXTSONG,
- /* 177 */ VK_MEDIA_PREV_TRACK, 0, KEY_PREVIOUSSONG,
- /* 178 */ VK_MEDIA_STOP, 0, KEY_STOPCD,
- /* 179 */ VK_MEDIA_PLAY_PAUSE, 0, KEY_PLAYPAUSE,
- /* 180 */ VK_LAUNCH_MAIL, KEY_MAIL, 0,
- /* 181 */ 0, 0, 0,
- /* 182 */ 0, 0, 0,
- /* 183 */ 0, 0, 0,
- /* 184 */ 0, 0, 0,
- /* 185 */ 0, 0, 0,
- /* 186 */ 0, 0, 0,
- /* 187 */ 0, 0, 0,
- /* 188 */ 0, 0, 0,
- /* 189 */ 0, 0, 0,
- /* 190 */ 0, 0, 0,
- /* 191 */ 0, 0, 0,
- /* 192 */ 0, 0, 0,
- /* 193 */ 0, 0, 0,
- /* 194 */ 0, 0, 0,
- /* 195 */ 0, 0, 0,
- /* 196 */ 0, 0, 0,
- /* 197 */ 0, 0, 0,
- /* 198 */ 0, 0, 0,
- /* 199 */ 0, 0, 0,
- /* 200 */ 0, 0, 0,
- /* 201 */ 0, 0, 0,
- /* 202 */ 0, 0, 0,
- /* 203 */ 0, 0, 0,
- /* 204 */ 0, 0, 0,
- /* 205 */ 0, 0, 0,
- /* 206 */ 0, 0, 0,
- /* 207 */ 0, 0, 0,
- /* 208 */ 0, 0, 0,
- /* 209 */ 0, 0, 0,
- /* 210 */ 0, 0, 0,
- /* 211 */ 0, 0, 0,
- /* 212 */ 0, 0, 0,
- /* 213 */ 0, 0, 0,
- /* 214 */ 0, 0, 0,
- /* 215 */ 0, 0, 0,
- /* 216 */ 0, 0, 0,
- /* 217 */ 0, 0, 0,
- /* 218 */ 0, 0, 0,
- /* 219 */ 0, 0, 0,
- /* 220 */ 0, 0, 0,
- /* 221 */ 0, 0, 0,
- /* 222 */ 0, 0, 0,
- /* 223 */ 0, 0, 0,
- /* 224 */ 0, 0, 0,
- /* 225 */ 0, 0, 0,
- /* 226 */ 0, 0, 0,
- /* 227 */ 0, 0, 0,
- /* 228 */ 0, 0, 0,
- /* 229 */ 0, 0, 0,
- /* 230 */ 0, 0, 0,
- /* 231 */ 0, 0, 0,
- /* 232 */ 0, 0, 0,
- /* 233 */ 0, 0, 0,
- /* 234 */ 0, 0, 0,
- /* 235 */ 0, 0, 0,
- /* 236 */ 0, 0, 0,
- /* 237 */ 0, 0, 0,
- /* 238 */ 0, 0, 0,
- /* 239 */ 0, 0, 0,
- /* 240 */ 0, 0, 0,
- /* 241 */ 0, 0, 0,
- /* 242 */ 0, 0, 0,
- /* 243 */ 0, 0, 0,
- /* 244 */ 0, 0, 0,
- /* 245 */ 0, 0, 0,
- /* 246 */ 0, 0, 0,
- /* 247 */ 0, 0, 0,
- /* 248 */ 0, 0, 0,
- /* 249 */ 0, 0, 0,
- /* 250 */ 0, 0, 0,
- /* 251 */ 0, 0, 0,
- /* 252 */ 0, 0, 0,
- /* 253 */ 0, 0, 0,
- /* 254 */ 0, 0, 0,
- /* 255 */ 0, 0, 0
+ /* value Windows VK, keycode, keycode when extended key */
+ { /* 0 undefined */ 0, 0 },
+ { /* 1 VK_LBUTTON */ 0, 0 },
+ { /* 2 VK_RBUTTON */ 0, 0 },
+ { /* 3 VK_CANCEL */ 0, KEY_Break },
+ { /* 4 VK_MBUTTON */ 0, 0 },
+ { /* 5 VK_XBUTTON1 */ 0, 0 },
+ { /* 6 VK_XBUTTON2 */ 0, 0 },
+ { /* 7 undefined */ 0, 0 },
+ { /* 8 VK_BACK */ 0, 0 },
+ { /* 9 VK_TAB */ 0, 0 },
+ { /* 10 undefined */ 0, 0 },
+ { /* 11 undefined */ 0, 0 },
+ { /* 12 VK_CLEAR */ 0, 0 },
+ { /* 13 VK_RETURN */ 0, KEY_KP_Enter },
+ { /* 14 undefined */ 0, 0 },
+ { /* 15 undefined */ 0, 0 },
+ { /* 16 VK_SHIFT */ 0, 0 },
+ { /* 17 VK_CONTROL */ 0, KEY_RCtrl },
+ { /* 18 VK_MENU */ 0, KEY_AltLang },
+ { /* 19 VK_PAUSE */ KEY_Pause, 0 },
+ { /* 20 VK_CAPITAL */ 0, 0 },
+ { /* 21 VK_KANA aka VK_HANGUL */ 0, 0 },
+ { /* 22 undefined */ 0, 0 },
+ { /* 23 VK_JUNJA */ 0, 0 },
+ { /* 24 VK_FINAL */ 0, 0 },
+ { /* 25 VK_HANJA aka VK_KANJI */ 0, 0 },
+ { /* 26 undefined */ 0, 0 },
+ { /* 27 VK_ESCAPE */ 0, 0 },
+ { /* 28 VK_CONVERT */ 0, 0 },
+ { /* 29 VK_NONCONVERT */ 0, 0 },
+ { /* 30 VK_ACCEPT */ 0, 0 },
+ { /* 31 VK_MODECHANGE */ 0, 0 },
+ { /* 32 VK_SPACE */ 0, 0 },
+ { /* 33 VK_PRIOR */ 0, KEY_PgUp },
+ { /* 34 VK_NEXT */ 0, KEY_PgDown },
+ { /* 35 VK_END */ 0, KEY_End },
+ { /* 36 VK_HOME */ 0, KEY_Home },
+ { /* 37 VK_LEFT */ 0, KEY_Left },
+ { /* 38 VK_UP */ 0, KEY_Up },
+ { /* 39 VK_RIGHT */ 0, KEY_Right },
+ { /* 40 VK_DOWN */ 0, KEY_Down },
+ { /* 41 VK_SELECT */ 0, 0 },
+ { /* 42 VK_PRINT */ 0, 0 },
+ { /* 43 VK_EXECUTE */ 0, 0 },
+ { /* 44 VK_SNAPSHOT */ 0, KEY_Print },
+ { /* 45 VK_INSERT */ 0, KEY_Insert },
+ { /* 46 VK_DELETE */ 0, KEY_Delete },
+ { /* 47 VK_HELP */ 0, 0 },
+ { /* 48 VK_undefined */ 0, 0 },
+ { /* 49 VK_1 */ 0, 0 },
+ { /* 50 VK_2 */ 0, 0 },
+ { /* 51 VK_3 */ 0, 0 },
+ { /* 52 VK_4 */ 0, 0 },
+ { /* 53 VK_5 */ 0, 0 },
+ { /* 54 VK_6 */ 0, 0 },
+ { /* 55 VK_7 */ 0, 0 },
+ { /* 56 VK_8 */ 0, 0 },
+ { /* 57 VK_9 */ 0, 0 },
+ { /* 58 undefined */ 0, 0 },
+ { /* 59 undefined */ 0, 0 },
+ { /* 60 undefined */ 0, 0 },
+ { /* 61 undefined */ 0, 0 },
+ { /* 62 undefined */ 0, 0 },
+ { /* 63 undefined */ 0, 0 },
+ { /* 64 undefined */ 0, 0 },
+ { /* 65 VK_A */ 0, 0 },
+ { /* 66 VK_B */ 0, 0 },
+ { /* 67 VK_C */ 0, 0 },
+ { /* 68 VK_D */ 0, 0 },
+ { /* 69 VK_E */ 0, 0 },
+ { /* 70 VK_F */ 0, 0 },
+ { /* 71 VK_G */ 0, 0 },
+ { /* 72 VK_H */ 0, 0 },
+ { /* 73 VK_I */ 0, 0 },
+ { /* 74 VK_J */ 0, 0 },
+ { /* 75 VK_K */ 0, 0 },
+ { /* 76 VK_L */ 0, 0 },
+ { /* 77 VK_M */ 0, 0 },
+ { /* 78 VK_N */ 0, 0 },
+ { /* 79 VK_O */ 0, 0 },
+ { /* 80 VK_P */ 0, 0 },
+ { /* 81 VK_Q */ 0, 0 },
+ { /* 82 VK_R */ 0, 0 },
+ { /* 83 VK_S */ 0, 0 },
+ { /* 84 VK_T */ 0, 0 },
+ { /* 85 VK_U */ 0, 0 },
+ { /* 86 VK_V */ 0, 0 },
+ { /* 87 VK_W */ 0, 0 },
+ { /* 88 VK_X */ 0, 0 },
+ { /* 89 VK_Y */ 0, 0 },
+ { /* 90 VK_Z */ 0, 0 },
+ { /* 91 VK_LWIN */ KEY_LMeta, 0 },
+ { /* 92 VK_RWIN */ KEY_RMeta, 0 },
+ { /* 93 VK_APPS */ KEY_Menu, 0 },
+ { /* 94 undefined */ 0, 0 },
+ { /* 95 VK_SLEEP */ 0, 0 },
+ { /* 96 VK_NUMPAD0 */ 0, 0 },
+ { /* 97 VK_NUMPAD1 */ 0, 0 },
+ { /* 98 VK_NUMPAD2 */ 0, 0 },
+ { /* 99 VK_NUMPAD3 */ 0, 0 },
+ { /* 100 VK_NUMPAD4 */ 0, 0 },
+ { /* 101 VK_NUMPAD5 */ 0, 0 },
+ { /* 102 VK_NUMPAD6 */ 0, 0 },
+ { /* 103 VK_NUMPAD7 */ 0, 0 },
+ { /* 104 VK_NUMPAD8 */ 0, 0 },
+ { /* 105 VK_NUMPAD9 */ 0, 0 },
+ { /* 106 VK_MULTIPLY */ 0, 0 },
+ { /* 107 VK_ADD */ 0, 0 },
+ { /* 108 VK_SEPARATOR */ 0, 0 },
+ { /* 109 VK_SUBTRACT */ 0, 0 },
+ { /* 110 VK_DECIMAL */ 0, 0 },
+ { /* 111 VK_DIVIDE */ 0, KEY_KP_Divide },
+ { /* 112 VK_F1 */ 0, 0 },
+ { /* 113 VK_F2 */ 0, 0 },
+ { /* 114 VK_F3 */ 0, 0 },
+ { /* 115 VK_F4 */ 0, 0 },
+ { /* 116 VK_F5 */ 0, 0 },
+ { /* 117 VK_F6 */ 0, 0 },
+ { /* 118 VK_F7 */ 0, 0 },
+ { /* 119 VK_F8 */ 0, 0 },
+ { /* 120 VK_F9 */ 0, 0 },
+ { /* 121 VK_F10 */ 0, 0 },
+ { /* 122 VK_F11 */ 0, 0 },
+ { /* 123 VK_F12 */ 0, 0 },
+ { /* 124 VK_F13 */ 0, 0 },
+ { /* 125 VK_F14 */ 0, 0 },
+ { /* 126 VK_F15 */ 0, 0 },
+ { /* 127 VK_F16 */ 0, 0 },
+ { /* 128 VK_F17 */ 0, 0 },
+ { /* 129 VK_F18 */ 0, 0 },
+ { /* 130 VK_F19 */ 0, 0 },
+ { /* 131 VK_F20 */ 0, 0 },
+ { /* 132 VK_F21 */ 0, 0 },
+ { /* 133 VK_F22 */ 0, 0 },
+ { /* 134 VK_F23 */ 0, 0 },
+ { /* 135 VK_F24 */ 0, 0 },
+ { /* 136 undefined */ 0, 0 },
+ { /* 137 undefined */ 0, 0 },
+ { /* 138 undefined */ 0, 0 },
+ { /* 139 undefined */ 0, 0 },
+ { /* 140 undefined */ 0, 0 },
+ { /* 141 undefined */ 0, 0 },
+ { /* 142 undefined */ 0, 0 },
+ { /* 143 undefined */ 0, 0 },
+ { /* 144 VK_NUMLOCK */ 0, 0 },
+ { /* 145 VK_SCROLL */ 0, 0 },
+ { /* 146 VK_OEM_NEC_EQUAL aka VK_OEM_FJ_JISHO */ 0, 0 },
+ { /* 147 VK_OEM_FJ_MASSHOU */ 0, 0 },
+ { /* 148 VK_OEM_FJ_TOUROKU */ 0, 0 },
+ { /* 149 VK_OEM_FJ_LOYA */ 0, 0 },
+ { /* 150 VK_OEM_FJ_ROYA */ 0, 0 },
+ { /* 151 undefined */ 0, 0 },
+ { /* 152 undefined */ 0, 0 },
+ { /* 153 undefined */ 0, 0 },
+ { /* 154 undefined */ 0, 0 },
+ { /* 155 undefined */ 0, 0 },
+ { /* 156 undefined */ 0, 0 },
+ { /* 157 undefined */ 0, 0 },
+ { /* 158 undefined */ 0, 0 },
+ { /* 159 undefined */ 0, 0 },
+ { /* 160 VK_LSHIFT */ KEY_ShiftL, 0 },
+ { /* 161 VK_RSHIFT */ KEY_ShiftR, 0 },
+ { /* 162 VK_LCONTROL */ KEY_LCtrl, 0 },
+ { /* 163 VK_RCONTROL */ KEY_RCtrl, 0 },
+ { /* 164 VK_LMENU */ KEY_Alt, 0 },
+ { /* 165 VK_RMENU */ KEY_AltLang, 0 },
+ { /* 166 VK_BROWSER_BACK */ 0, 0 },
+ { /* 167 VK_BROWSER_FORWARD */ 0, 0 },
+ { /* 168 VK_BROWSER_REFRESH */ 0, 0 },
+ { /* 169 VK_BROWSER_STOP */ 0, 0 },
+ { /* 170 VK_BROWSER_SEARCH */ KEY_SEARCH, 0 },
+ { /* 171 VK_BROWSER_FAVORITES */ 0, 0 },
+ { /* 172 VK_BROWSER_HOME */ KEY_BROWSER, 0 },
+ { /* 173 VK_VOLUME_MUTE */ 0, KEY_Mute },
+ { /* 174 VK_VOLUME_DOWN */ 0, KEY_AudioLower },
+ { /* 175 VK_VOLUME_UP */ 0, KEY_AudioRaise },
+ { /* 176 VK_MEDIA_NEXT_TRACK */ 0, KEY_NEXTSONG },
+ { /* 177 VK_MEDIA_PREV_TRACK */ 0, KEY_PREVIOUSSONG },
+ { /* 178 VK_MEDIA_STOP */ 0, KEY_STOPCD },
+ { /* 179 VK_MEDIA_PLAY_PAUSE */ 0, KEY_PLAYPAUSE },
+ { /* 180 VK_LAUNCH_MAIL */ KEY_MAIL, 0 },
+ { /* 181 VK_LAUNCH_MEDIA_SELECT */ 0, 0 },
+ { /* 182 VK_LAUNCH_APP1 */ 0, 0 },
+ { /* 183 VK_LAUNCH_APP2 */ 0, 0 },
+ { /* 184 undefined */ 0, 0 },
+ { /* 185 undefined */ 0, 0 },
+ { /* 186 VK_OEM_1 */ 0, 0 },
+ { /* 187 VK_OEM_PLUS */ 0, 0 },
+ { /* 188 VK_OEM_COMMA */ 0, 0 },
+ { /* 189 VK_OEM_MINUS */ 0, 0 },
+ { /* 190 VK_OEM_PERIOD */ 0, 0 },
+ { /* 191 VK_OEM_2 */ 0, 0 },
+ { /* 192 VK_OEM_3 */ 0, 0 },
+ { /* 193 VK_OEM_4 */ 0, 0 },
+ { /* 194 VK_OEM_5 */ 0, 0 },
+ { /* 195 VK_OEM_6 */ 0, 0 },
+ { /* 196 VK_OEM_7 */ 0, 0 },
+ { /* 197 VK_OEM_8 */ 0, 0 },
+ { /* 198 undefined */ 0, 0 },
+ { /* 199 undefined */ 0, 0 },
+ { /* 200 undefined */ 0, 0 },
+ { /* 201 undefined */ 0, 0 },
+ { /* 202 undefined */ 0, 0 },
+ { /* 203 undefined */ 0, 0 },
+ { /* 204 undefined */ 0, 0 },
+ { /* 205 undefined */ 0, 0 },
+ { /* 206 undefined */ 0, 0 },
+ { /* 207 undefined */ 0, 0 },
+ { /* 208 undefined */ 0, 0 },
+ { /* 209 undefined */ 0, 0 },
+ { /* 210 undefined */ 0, 0 },
+ { /* 211 undefined */ 0, 0 },
+ { /* 212 undefined */ 0, 0 },
+ { /* 213 undefined */ 0, 0 },
+ { /* 214 undefined */ 0, 0 },
+ { /* 215 undefined */ 0, 0 },
+ { /* 216 undefined */ 0, 0 },
+ { /* 217 undefined */ 0, 0 },
+ { /* 218 undefined */ 0, 0 },
+ { /* 219 undefined */ 0, 0 },
+ { /* 220 undefined */ 0, 0 },
+ { /* 221 undefined */ 0, 0 },
+ { /* 222 undefined */ 0, 0 },
+ { /* 223 undefined */ 0, 0 },
+ { /* 224 undefined */ 0, 0 },
+ { /* 225 VK_OEM_AX */ 0, 0 },
+ { /* 226 VK_OEM_102 */ 0, 0 },
+ { /* 227 VK_ICO_HELP */ 0, 0 },
+ { /* 228 VK_ICO_00 */ 0, 0 },
+ { /* 229 VK_PROCESSKEY */ 0, 0 },
+ { /* 230 VK_ICO_CLEAR */ 0, 0 },
+ { /* 231 VK_PACKET */ 0, 0 },
+ { /* 232 undefined */ 0, 0 },
+ { /* 233 VK_OEM_RESET */ 0, 0 },
+ { /* 234 VK_OEM_JUMP */ 0, 0 },
+ { /* 235 VK_OEM_PA1 */ 0, 0 },
+ { /* 236 VK_OEM_PA2 */ 0, 0 },
+ { /* 237 VK_OEM_PA3 */ 0, 0 },
+ { /* 238 VK_OEM_WSCTRL */ 0, 0 },
+ { /* 239 VK_OEM_CUSEL */ 0, 0 },
+ { /* 240 VK_OEM_ATTN */ 0, 0 },
+ { /* 241 VK_OEM_FINISH */ 0, 0 },
+ { /* 242 VK_OEM_COPY */ 0, 0 },
+ { /* 243 VK_OEM_AUTO */ 0, 0 },
+ { /* 244 VK_OEM_ENLW */ 0, 0 },
+ { /* 245 VK_OEM_BACKTAB */ 0, 0 },
+ { /* 246 VK_OEM_ATTN */ 0, 0 },
+ { /* 247 VK_CRSEL */ 0, 0 },
+ { /* 248 VK_EXSEL */ 0, 0 },
+ { /* 249 VK_EREOF */ 0, 0 },
+ { /* 250 VK_PLAY */ 0, 0 },
+ { /* 251 VK_ZOOM */ 0, 0 },
+ { /* 252 VK_NONAME */ 0, 0 },
+ { /* 253 VK_PA1 */ 0, 0 },
+ { /* 254 VK_OEM_CLEAR */ 0, 0 },
+ { /* 255 undefined */ 0, 0 }
};
#endif /* WINKEYBD_H */