Updated PCI IDs to latest snapshot.
[tangerine.git] / workbench / libs / commodities / parse.h
blob487a4d13d347557cbe6fd368b16c27f26f478a35
1 #ifndef COMMODITIES_PARSE_H
2 #define COMMODITIES_PARSE_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc:
9 Lang: English
12 /****************************************************************************/
14 typedef struct paType
16 STRPTR name;
17 UWORD value;
18 } pix_S;
21 pix_S pix_Class[]=
23 {"DISKINSERTED",
24 IECLASS_DISKINSERTED},
26 {"DISKREMOVED",
27 IECLASS_DISKREMOVED},
29 {"EVENT",
30 IECLASS_EVENT},
32 {"NEWPREFS",
33 IECLASS_NEWPREFS},
35 {"POINTERPOS",
36 IECLASS_POINTERPOS},
38 {"RAWKEY",
39 IECLASS_RAWKEY},
41 {"RAWMOUSE",
42 IECLASS_RAWMOUSE},
44 {"TIMER",
45 IECLASS_TIMER},
47 {NULL,
51 pix_S pix_IEvent[]=
53 {"CAPSLOCK",
54 IEQUALIFIER_CAPSLOCK},
56 {"CAPS_LOCK",
57 IEQUALIFIER_CAPSLOCK},
59 {"CONTROL",
60 IEQUALIFIER_CONTROL},
62 {"CTRL",
63 IEQUALIFIER_CONTROL},
65 {"LALT",
66 IEQUALIFIER_LALT},
68 {"LAMIGA",
69 IEQUALIFIER_LCOMMAND},
71 {"LBUTTON",
72 IEQUALIFIER_LEFTBUTTON},
74 {"LCOMMAND",
75 IEQUALIFIER_LCOMMAND},
77 {"LEFTBUTTON",
78 IEQUALIFIER_LEFTBUTTON},
80 {"LEFT_ALT",
81 IEQUALIFIER_LALT},
83 {"LEFT_AMIGA",
84 IEQUALIFIER_LCOMMAND},
86 {"LEFT_BUTTON",
87 IEQUALIFIER_LEFTBUTTON},
89 {"LEFT_COMMAND",
90 IEQUALIFIER_LCOMMAND},
92 {"LEFT_SHIFT",
93 IEQUALIFIER_LSHIFT},
95 {"LSHIFT",
96 IEQUALIFIER_LSHIFT},
98 {"MBUTTON",
99 IEQUALIFIER_MIDBUTTON},
101 {"MIDBUTTON",
102 IEQUALIFIER_MIDBUTTON},
104 {"MIDDLEBUTTON",
105 IEQUALIFIER_MIDBUTTON},
107 {"MIDDLE_BUTTON",
108 IEQUALIFIER_MIDBUTTON},
110 {"NUMERICPAD",
111 IEQUALIFIER_NUMERICPAD},
113 {"NUMERIC_PAD",
114 IEQUALIFIER_NUMERICPAD},
116 {"NUMPAD",
117 IEQUALIFIER_NUMERICPAD},
119 {"NUM_PAD",
120 IEQUALIFIER_NUMERICPAD},
122 {"RALT",
123 IEQUALIFIER_RALT},
125 {"RAMIGA",
126 IEQUALIFIER_RCOMMAND},
128 {"RBUTTON",
129 IEQUALIFIER_RBUTTON},
131 {"RCOMMAND",
132 IEQUALIFIER_RCOMMAND},
134 {"RELATIVEMOUSE",
135 IEQUALIFIER_RELATIVEMOUSE},
137 {"REPEAT",
138 IEQUALIFIER_REPEAT},
140 {"RIGHTBUTTON",
141 IEQUALIFIER_RBUTTON},
143 {"RIGHT_ALT",
144 IEQUALIFIER_RALT},
146 {"RIGHT_AMIGA",
147 IEQUALIFIER_RCOMMAND},
149 {"RIGHT_BUTTON",
150 IEQUALIFIER_RBUTTON},
152 {"RIGHT_COMMAND",
153 IEQUALIFIER_RCOMMAND},
155 {"RIGHT_SHIFT",
156 IEQUALIFIER_RSHIFT},
158 {"RSHIFT",
159 IEQUALIFIER_RSHIFT},
161 {NULL,
165 pix_S pix_Synonyms[]=
167 {"ALT",
168 IXSYM_ALT},
170 {"CAPS",
171 IXSYM_CAPS},
173 {"SHIFT",
174 IXSYM_SHIFT},
176 {NULL,
180 pix_S pix_Upstroke[]=
182 {"UPSTROKE",
183 0x1},
185 {NULL,
190 pix_S pix_Highmap[]=
192 {"BACKSPACE",
193 0x41},
195 {"BREAK",
196 0x6e},
198 {"COMMA",
199 0x38},
201 {"CURSOR_DOWN",
202 0x4d},
204 {"CURSOR_LEFT",
205 0x4f},
207 {"CURSOR_RIGHT",
208 0x4e},
210 {"CURSOR_UP",
211 0x4c},
213 {"DEL",
214 0x46},
216 {"DELETE",
217 0x46},
219 {"DOWN",
220 0x4d},
222 {"END",
223 0x71},
225 {"ENTER",
226 0x43},
228 {"ESC",
229 0x45},
231 {"ESCAPE",
232 0x45},
234 {"F1",
235 0x50},
237 {"F10",
238 0x59},
240 {"F11",
241 0x4b},
243 {"F12",
244 0x6f},
246 {"F2",
247 0x51},
249 {"F3",
250 0x52},
252 {"F4",
253 0x53},
255 {"F5",
256 0x54},
258 {"F6",
259 0x55},
261 {"F7",
262 0x56},
264 {"F8",
265 0x57},
267 {"F9",
268 0x58},
270 {"HELP",
271 0x5f},
273 {"HOME",
274 0x70},
276 {"INSERT",
277 0x47},
279 {"LEFT",
280 0x4f},
282 {"NUMLOCK",
283 0x6d},
285 {"PAGE_DOWN",
286 0x49},
288 {"PAGE_UP",
289 0x48},
291 {"PAUSE",
292 0x6e},
294 {"PRTSCR",
295 0x6c},
297 {"RETURN",
298 0x44},
300 {"RIGHT",
301 0x4e},
303 {"SCRLOCK",
304 0x6b},
306 {"SPACE",
307 0x40},
309 {"SPACEBAR",
310 0x40},
312 {"TAB",
313 0x42},
315 {"UP",
316 0x4C},
318 /* {NULL,
322 pix_S pix_Extra[]=
325 {"MOUSE_LEFTPRESS",
326 0x68},
328 {"MOUSE_MIDDLEPRESS",
329 0x6a},
331 {"MOUSE_RIGHTPRESS",
332 0x69},
334 {"(",
335 0x5a},
337 {")",
338 0x5b},
340 {"*",
341 0x5d},
343 {"+",
344 0x5e},
346 {"-",
347 0x4a},
349 {".",
350 0x3c},
352 {"/",
353 0x5c},
355 {"0",
356 0x0f},
358 {"1",
359 0x1d},
361 {"2",
362 0x1e},
364 {"3",
365 0x1f},
367 {"4",
368 0x2d},
370 {"5",
371 0x2e},
373 {"6",
374 0x2f},
376 {"7",
377 0x3d},
379 {"8",
380 0x3e},
382 {"9",
383 0x3f},
385 {NULL,
389 #endif /* COMMODITIES_PARSE_H */