1 /* Generated by ./xlat/gen.sh from ./xlat/evdev_keycode.in; do not edit. */
2 
3 #ifdef IN_MPERS
4 
5 # error static const struct xlat evdev_keycode in mpers mode
6 
7 #else
8 
9 static
10 const struct xlat evdev_keycode[] = {
11 #if defined(KEY_RESERVED) || (defined(HAVE_DECL_KEY_RESERVED) && HAVE_DECL_KEY_RESERVED)
12   XLAT(KEY_RESERVED),
13 #endif
14 #if defined(KEY_ESC) || (defined(HAVE_DECL_KEY_ESC) && HAVE_DECL_KEY_ESC)
15   XLAT(KEY_ESC),
16 #endif
17 #if defined(KEY_1) || (defined(HAVE_DECL_KEY_1) && HAVE_DECL_KEY_1)
18   XLAT(KEY_1),
19 #endif
20 #if defined(KEY_2) || (defined(HAVE_DECL_KEY_2) && HAVE_DECL_KEY_2)
21   XLAT(KEY_2),
22 #endif
23 #if defined(KEY_3) || (defined(HAVE_DECL_KEY_3) && HAVE_DECL_KEY_3)
24   XLAT(KEY_3),
25 #endif
26 #if defined(KEY_4) || (defined(HAVE_DECL_KEY_4) && HAVE_DECL_KEY_4)
27   XLAT(KEY_4),
28 #endif
29 #if defined(KEY_5) || (defined(HAVE_DECL_KEY_5) && HAVE_DECL_KEY_5)
30   XLAT(KEY_5),
31 #endif
32 #if defined(KEY_6) || (defined(HAVE_DECL_KEY_6) && HAVE_DECL_KEY_6)
33   XLAT(KEY_6),
34 #endif
35 #if defined(KEY_7) || (defined(HAVE_DECL_KEY_7) && HAVE_DECL_KEY_7)
36   XLAT(KEY_7),
37 #endif
38 #if defined(KEY_8) || (defined(HAVE_DECL_KEY_8) && HAVE_DECL_KEY_8)
39   XLAT(KEY_8),
40 #endif
41 #if defined(KEY_9) || (defined(HAVE_DECL_KEY_9) && HAVE_DECL_KEY_9)
42   XLAT(KEY_9),
43 #endif
44 #if defined(KEY_0) || (defined(HAVE_DECL_KEY_0) && HAVE_DECL_KEY_0)
45   XLAT(KEY_0),
46 #endif
47 #if defined(KEY_MINUS) || (defined(HAVE_DECL_KEY_MINUS) && HAVE_DECL_KEY_MINUS)
48   XLAT(KEY_MINUS),
49 #endif
50 #if defined(KEY_EQUAL) || (defined(HAVE_DECL_KEY_EQUAL) && HAVE_DECL_KEY_EQUAL)
51   XLAT(KEY_EQUAL),
52 #endif
53 #if defined(KEY_BACKSPACE) || (defined(HAVE_DECL_KEY_BACKSPACE) && HAVE_DECL_KEY_BACKSPACE)
54   XLAT(KEY_BACKSPACE),
55 #endif
56 #if defined(KEY_TAB) || (defined(HAVE_DECL_KEY_TAB) && HAVE_DECL_KEY_TAB)
57   XLAT(KEY_TAB),
58 #endif
59 #if defined(KEY_Q) || (defined(HAVE_DECL_KEY_Q) && HAVE_DECL_KEY_Q)
60   XLAT(KEY_Q),
61 #endif
62 #if defined(KEY_W) || (defined(HAVE_DECL_KEY_W) && HAVE_DECL_KEY_W)
63   XLAT(KEY_W),
64 #endif
65 #if defined(KEY_E) || (defined(HAVE_DECL_KEY_E) && HAVE_DECL_KEY_E)
66   XLAT(KEY_E),
67 #endif
68 #if defined(KEY_R) || (defined(HAVE_DECL_KEY_R) && HAVE_DECL_KEY_R)
69   XLAT(KEY_R),
70 #endif
71 #if defined(KEY_T) || (defined(HAVE_DECL_KEY_T) && HAVE_DECL_KEY_T)
72   XLAT(KEY_T),
73 #endif
74 #if defined(KEY_Y) || (defined(HAVE_DECL_KEY_Y) && HAVE_DECL_KEY_Y)
75   XLAT(KEY_Y),
76 #endif
77 #if defined(KEY_U) || (defined(HAVE_DECL_KEY_U) && HAVE_DECL_KEY_U)
78   XLAT(KEY_U),
79 #endif
80 #if defined(KEY_I) || (defined(HAVE_DECL_KEY_I) && HAVE_DECL_KEY_I)
81   XLAT(KEY_I),
82 #endif
83 #if defined(KEY_O) || (defined(HAVE_DECL_KEY_O) && HAVE_DECL_KEY_O)
84   XLAT(KEY_O),
85 #endif
86 #if defined(KEY_P) || (defined(HAVE_DECL_KEY_P) && HAVE_DECL_KEY_P)
87   XLAT(KEY_P),
88 #endif
89 #if defined(KEY_LEFTBRACE) || (defined(HAVE_DECL_KEY_LEFTBRACE) && HAVE_DECL_KEY_LEFTBRACE)
90   XLAT(KEY_LEFTBRACE),
91 #endif
92 #if defined(KEY_RIGHTBRACE) || (defined(HAVE_DECL_KEY_RIGHTBRACE) && HAVE_DECL_KEY_RIGHTBRACE)
93   XLAT(KEY_RIGHTBRACE),
94 #endif
95 #if defined(KEY_ENTER) || (defined(HAVE_DECL_KEY_ENTER) && HAVE_DECL_KEY_ENTER)
96   XLAT(KEY_ENTER),
97 #endif
98 #if defined(KEY_LEFTCTRL) || (defined(HAVE_DECL_KEY_LEFTCTRL) && HAVE_DECL_KEY_LEFTCTRL)
99   XLAT(KEY_LEFTCTRL),
100 #endif
101 #if defined(KEY_A) || (defined(HAVE_DECL_KEY_A) && HAVE_DECL_KEY_A)
102   XLAT(KEY_A),
103 #endif
104 #if defined(KEY_S) || (defined(HAVE_DECL_KEY_S) && HAVE_DECL_KEY_S)
105   XLAT(KEY_S),
106 #endif
107 #if defined(KEY_D) || (defined(HAVE_DECL_KEY_D) && HAVE_DECL_KEY_D)
108   XLAT(KEY_D),
109 #endif
110 #if defined(KEY_F) || (defined(HAVE_DECL_KEY_F) && HAVE_DECL_KEY_F)
111   XLAT(KEY_F),
112 #endif
113 #if defined(KEY_G) || (defined(HAVE_DECL_KEY_G) && HAVE_DECL_KEY_G)
114   XLAT(KEY_G),
115 #endif
116 #if defined(KEY_H) || (defined(HAVE_DECL_KEY_H) && HAVE_DECL_KEY_H)
117   XLAT(KEY_H),
118 #endif
119 #if defined(KEY_J) || (defined(HAVE_DECL_KEY_J) && HAVE_DECL_KEY_J)
120   XLAT(KEY_J),
121 #endif
122 #if defined(KEY_K) || (defined(HAVE_DECL_KEY_K) && HAVE_DECL_KEY_K)
123   XLAT(KEY_K),
124 #endif
125 #if defined(KEY_L) || (defined(HAVE_DECL_KEY_L) && HAVE_DECL_KEY_L)
126   XLAT(KEY_L),
127 #endif
128 #if defined(KEY_SEMICOLON) || (defined(HAVE_DECL_KEY_SEMICOLON) && HAVE_DECL_KEY_SEMICOLON)
129   XLAT(KEY_SEMICOLON),
130 #endif
131 #if defined(KEY_APOSTROPHE) || (defined(HAVE_DECL_KEY_APOSTROPHE) && HAVE_DECL_KEY_APOSTROPHE)
132   XLAT(KEY_APOSTROPHE),
133 #endif
134 #if defined(KEY_GRAVE) || (defined(HAVE_DECL_KEY_GRAVE) && HAVE_DECL_KEY_GRAVE)
135   XLAT(KEY_GRAVE),
136 #endif
137 #if defined(KEY_LEFTSHIFT) || (defined(HAVE_DECL_KEY_LEFTSHIFT) && HAVE_DECL_KEY_LEFTSHIFT)
138   XLAT(KEY_LEFTSHIFT),
139 #endif
140 #if defined(KEY_BACKSLASH) || (defined(HAVE_DECL_KEY_BACKSLASH) && HAVE_DECL_KEY_BACKSLASH)
141   XLAT(KEY_BACKSLASH),
142 #endif
143 #if defined(KEY_Z) || (defined(HAVE_DECL_KEY_Z) && HAVE_DECL_KEY_Z)
144   XLAT(KEY_Z),
145 #endif
146 #if defined(KEY_X) || (defined(HAVE_DECL_KEY_X) && HAVE_DECL_KEY_X)
147   XLAT(KEY_X),
148 #endif
149 #if defined(KEY_C) || (defined(HAVE_DECL_KEY_C) && HAVE_DECL_KEY_C)
150   XLAT(KEY_C),
151 #endif
152 #if defined(KEY_V) || (defined(HAVE_DECL_KEY_V) && HAVE_DECL_KEY_V)
153   XLAT(KEY_V),
154 #endif
155 #if defined(KEY_B) || (defined(HAVE_DECL_KEY_B) && HAVE_DECL_KEY_B)
156   XLAT(KEY_B),
157 #endif
158 #if defined(KEY_N) || (defined(HAVE_DECL_KEY_N) && HAVE_DECL_KEY_N)
159   XLAT(KEY_N),
160 #endif
161 #if defined(KEY_M) || (defined(HAVE_DECL_KEY_M) && HAVE_DECL_KEY_M)
162   XLAT(KEY_M),
163 #endif
164 #if defined(KEY_COMMA) || (defined(HAVE_DECL_KEY_COMMA) && HAVE_DECL_KEY_COMMA)
165   XLAT(KEY_COMMA),
166 #endif
167 #if defined(KEY_DOT) || (defined(HAVE_DECL_KEY_DOT) && HAVE_DECL_KEY_DOT)
168   XLAT(KEY_DOT),
169 #endif
170 #if defined(KEY_SLASH) || (defined(HAVE_DECL_KEY_SLASH) && HAVE_DECL_KEY_SLASH)
171   XLAT(KEY_SLASH),
172 #endif
173 #if defined(KEY_RIGHTSHIFT) || (defined(HAVE_DECL_KEY_RIGHTSHIFT) && HAVE_DECL_KEY_RIGHTSHIFT)
174   XLAT(KEY_RIGHTSHIFT),
175 #endif
176 #if defined(KEY_KPASTERISK) || (defined(HAVE_DECL_KEY_KPASTERISK) && HAVE_DECL_KEY_KPASTERISK)
177   XLAT(KEY_KPASTERISK),
178 #endif
179 #if defined(KEY_LEFTALT) || (defined(HAVE_DECL_KEY_LEFTALT) && HAVE_DECL_KEY_LEFTALT)
180   XLAT(KEY_LEFTALT),
181 #endif
182 #if defined(KEY_SPACE) || (defined(HAVE_DECL_KEY_SPACE) && HAVE_DECL_KEY_SPACE)
183   XLAT(KEY_SPACE),
184 #endif
185 #if defined(KEY_CAPSLOCK) || (defined(HAVE_DECL_KEY_CAPSLOCK) && HAVE_DECL_KEY_CAPSLOCK)
186   XLAT(KEY_CAPSLOCK),
187 #endif
188 #if defined(KEY_F1) || (defined(HAVE_DECL_KEY_F1) && HAVE_DECL_KEY_F1)
189   XLAT(KEY_F1),
190 #endif
191 #if defined(KEY_F2) || (defined(HAVE_DECL_KEY_F2) && HAVE_DECL_KEY_F2)
192   XLAT(KEY_F2),
193 #endif
194 #if defined(KEY_F3) || (defined(HAVE_DECL_KEY_F3) && HAVE_DECL_KEY_F3)
195   XLAT(KEY_F3),
196 #endif
197 #if defined(KEY_F4) || (defined(HAVE_DECL_KEY_F4) && HAVE_DECL_KEY_F4)
198   XLAT(KEY_F4),
199 #endif
200 #if defined(KEY_F5) || (defined(HAVE_DECL_KEY_F5) && HAVE_DECL_KEY_F5)
201   XLAT(KEY_F5),
202 #endif
203 #if defined(KEY_F6) || (defined(HAVE_DECL_KEY_F6) && HAVE_DECL_KEY_F6)
204   XLAT(KEY_F6),
205 #endif
206 #if defined(KEY_F7) || (defined(HAVE_DECL_KEY_F7) && HAVE_DECL_KEY_F7)
207   XLAT(KEY_F7),
208 #endif
209 #if defined(KEY_F8) || (defined(HAVE_DECL_KEY_F8) && HAVE_DECL_KEY_F8)
210   XLAT(KEY_F8),
211 #endif
212 #if defined(KEY_F9) || (defined(HAVE_DECL_KEY_F9) && HAVE_DECL_KEY_F9)
213   XLAT(KEY_F9),
214 #endif
215 #if defined(KEY_F10) || (defined(HAVE_DECL_KEY_F10) && HAVE_DECL_KEY_F10)
216   XLAT(KEY_F10),
217 #endif
218 #if defined(KEY_NUMLOCK) || (defined(HAVE_DECL_KEY_NUMLOCK) && HAVE_DECL_KEY_NUMLOCK)
219   XLAT(KEY_NUMLOCK),
220 #endif
221 #if defined(KEY_SCROLLLOCK) || (defined(HAVE_DECL_KEY_SCROLLLOCK) && HAVE_DECL_KEY_SCROLLLOCK)
222   XLAT(KEY_SCROLLLOCK),
223 #endif
224 #if defined(KEY_KP7) || (defined(HAVE_DECL_KEY_KP7) && HAVE_DECL_KEY_KP7)
225   XLAT(KEY_KP7),
226 #endif
227 #if defined(KEY_KP8) || (defined(HAVE_DECL_KEY_KP8) && HAVE_DECL_KEY_KP8)
228   XLAT(KEY_KP8),
229 #endif
230 #if defined(KEY_KP9) || (defined(HAVE_DECL_KEY_KP9) && HAVE_DECL_KEY_KP9)
231   XLAT(KEY_KP9),
232 #endif
233 #if defined(KEY_KPMINUS) || (defined(HAVE_DECL_KEY_KPMINUS) && HAVE_DECL_KEY_KPMINUS)
234   XLAT(KEY_KPMINUS),
235 #endif
236 #if defined(KEY_KP4) || (defined(HAVE_DECL_KEY_KP4) && HAVE_DECL_KEY_KP4)
237   XLAT(KEY_KP4),
238 #endif
239 #if defined(KEY_KP5) || (defined(HAVE_DECL_KEY_KP5) && HAVE_DECL_KEY_KP5)
240   XLAT(KEY_KP5),
241 #endif
242 #if defined(KEY_KP6) || (defined(HAVE_DECL_KEY_KP6) && HAVE_DECL_KEY_KP6)
243   XLAT(KEY_KP6),
244 #endif
245 #if defined(KEY_KPPLUS) || (defined(HAVE_DECL_KEY_KPPLUS) && HAVE_DECL_KEY_KPPLUS)
246   XLAT(KEY_KPPLUS),
247 #endif
248 #if defined(KEY_KP1) || (defined(HAVE_DECL_KEY_KP1) && HAVE_DECL_KEY_KP1)
249   XLAT(KEY_KP1),
250 #endif
251 #if defined(KEY_KP2) || (defined(HAVE_DECL_KEY_KP2) && HAVE_DECL_KEY_KP2)
252   XLAT(KEY_KP2),
253 #endif
254 #if defined(KEY_KP3) || (defined(HAVE_DECL_KEY_KP3) && HAVE_DECL_KEY_KP3)
255   XLAT(KEY_KP3),
256 #endif
257 #if defined(KEY_KP0) || (defined(HAVE_DECL_KEY_KP0) && HAVE_DECL_KEY_KP0)
258   XLAT(KEY_KP0),
259 #endif
260 #if defined(KEY_KPDOT) || (defined(HAVE_DECL_KEY_KPDOT) && HAVE_DECL_KEY_KPDOT)
261   XLAT(KEY_KPDOT),
262 #endif
263 
264 #if defined(KEY_ZENKAKUHANKAKU) || (defined(HAVE_DECL_KEY_ZENKAKUHANKAKU) && HAVE_DECL_KEY_ZENKAKUHANKAKU)
265   XLAT(KEY_ZENKAKUHANKAKU),
266 #endif
267 #if defined(KEY_102ND) || (defined(HAVE_DECL_KEY_102ND) && HAVE_DECL_KEY_102ND)
268   XLAT(KEY_102ND),
269 #endif
270 #if defined(KEY_F11) || (defined(HAVE_DECL_KEY_F11) && HAVE_DECL_KEY_F11)
271   XLAT(KEY_F11),
272 #endif
273 #if defined(KEY_F12) || (defined(HAVE_DECL_KEY_F12) && HAVE_DECL_KEY_F12)
274   XLAT(KEY_F12),
275 #endif
276 #if defined(KEY_RO) || (defined(HAVE_DECL_KEY_RO) && HAVE_DECL_KEY_RO)
277   XLAT(KEY_RO),
278 #endif
279 #if defined(KEY_KATAKANA) || (defined(HAVE_DECL_KEY_KATAKANA) && HAVE_DECL_KEY_KATAKANA)
280   XLAT(KEY_KATAKANA),
281 #endif
282 #if defined(KEY_HIRAGANA) || (defined(HAVE_DECL_KEY_HIRAGANA) && HAVE_DECL_KEY_HIRAGANA)
283   XLAT(KEY_HIRAGANA),
284 #endif
285 #if defined(KEY_HENKAN) || (defined(HAVE_DECL_KEY_HENKAN) && HAVE_DECL_KEY_HENKAN)
286   XLAT(KEY_HENKAN),
287 #endif
288 #if defined(KEY_KATAKANAHIRAGANA) || (defined(HAVE_DECL_KEY_KATAKANAHIRAGANA) && HAVE_DECL_KEY_KATAKANAHIRAGANA)
289   XLAT(KEY_KATAKANAHIRAGANA),
290 #endif
291 #if defined(KEY_MUHENKAN) || (defined(HAVE_DECL_KEY_MUHENKAN) && HAVE_DECL_KEY_MUHENKAN)
292   XLAT(KEY_MUHENKAN),
293 #endif
294 #if defined(KEY_KPJPCOMMA) || (defined(HAVE_DECL_KEY_KPJPCOMMA) && HAVE_DECL_KEY_KPJPCOMMA)
295   XLAT(KEY_KPJPCOMMA),
296 #endif
297 #if defined(KEY_KPENTER) || (defined(HAVE_DECL_KEY_KPENTER) && HAVE_DECL_KEY_KPENTER)
298   XLAT(KEY_KPENTER),
299 #endif
300 #if defined(KEY_RIGHTCTRL) || (defined(HAVE_DECL_KEY_RIGHTCTRL) && HAVE_DECL_KEY_RIGHTCTRL)
301   XLAT(KEY_RIGHTCTRL),
302 #endif
303 #if defined(KEY_KPSLASH) || (defined(HAVE_DECL_KEY_KPSLASH) && HAVE_DECL_KEY_KPSLASH)
304   XLAT(KEY_KPSLASH),
305 #endif
306 #if defined(KEY_SYSRQ) || (defined(HAVE_DECL_KEY_SYSRQ) && HAVE_DECL_KEY_SYSRQ)
307   XLAT(KEY_SYSRQ),
308 #endif
309 #if defined(KEY_RIGHTALT) || (defined(HAVE_DECL_KEY_RIGHTALT) && HAVE_DECL_KEY_RIGHTALT)
310   XLAT(KEY_RIGHTALT),
311 #endif
312 #if defined(KEY_LINEFEED) || (defined(HAVE_DECL_KEY_LINEFEED) && HAVE_DECL_KEY_LINEFEED)
313   XLAT(KEY_LINEFEED),
314 #endif
315 #if defined(KEY_HOME) || (defined(HAVE_DECL_KEY_HOME) && HAVE_DECL_KEY_HOME)
316   XLAT(KEY_HOME),
317 #endif
318 #if defined(KEY_UP) || (defined(HAVE_DECL_KEY_UP) && HAVE_DECL_KEY_UP)
319   XLAT(KEY_UP),
320 #endif
321 #if defined(KEY_PAGEUP) || (defined(HAVE_DECL_KEY_PAGEUP) && HAVE_DECL_KEY_PAGEUP)
322   XLAT(KEY_PAGEUP),
323 #endif
324 #if defined(KEY_LEFT) || (defined(HAVE_DECL_KEY_LEFT) && HAVE_DECL_KEY_LEFT)
325   XLAT(KEY_LEFT),
326 #endif
327 #if defined(KEY_RIGHT) || (defined(HAVE_DECL_KEY_RIGHT) && HAVE_DECL_KEY_RIGHT)
328   XLAT(KEY_RIGHT),
329 #endif
330 #if defined(KEY_END) || (defined(HAVE_DECL_KEY_END) && HAVE_DECL_KEY_END)
331   XLAT(KEY_END),
332 #endif
333 #if defined(KEY_DOWN) || (defined(HAVE_DECL_KEY_DOWN) && HAVE_DECL_KEY_DOWN)
334   XLAT(KEY_DOWN),
335 #endif
336 #if defined(KEY_PAGEDOWN) || (defined(HAVE_DECL_KEY_PAGEDOWN) && HAVE_DECL_KEY_PAGEDOWN)
337   XLAT(KEY_PAGEDOWN),
338 #endif
339 #if defined(KEY_INSERT) || (defined(HAVE_DECL_KEY_INSERT) && HAVE_DECL_KEY_INSERT)
340   XLAT(KEY_INSERT),
341 #endif
342 #if defined(KEY_DELETE) || (defined(HAVE_DECL_KEY_DELETE) && HAVE_DECL_KEY_DELETE)
343   XLAT(KEY_DELETE),
344 #endif
345 #if defined(KEY_MACRO) || (defined(HAVE_DECL_KEY_MACRO) && HAVE_DECL_KEY_MACRO)
346   XLAT(KEY_MACRO),
347 #endif
348 #if defined(KEY_MUTE) || (defined(HAVE_DECL_KEY_MUTE) && HAVE_DECL_KEY_MUTE)
349   XLAT(KEY_MUTE),
350 #endif
351 #if defined(KEY_VOLUMEDOWN) || (defined(HAVE_DECL_KEY_VOLUMEDOWN) && HAVE_DECL_KEY_VOLUMEDOWN)
352   XLAT(KEY_VOLUMEDOWN),
353 #endif
354 #if defined(KEY_VOLUMEUP) || (defined(HAVE_DECL_KEY_VOLUMEUP) && HAVE_DECL_KEY_VOLUMEUP)
355   XLAT(KEY_VOLUMEUP),
356 #endif
357 #if defined(KEY_POWER) || (defined(HAVE_DECL_KEY_POWER) && HAVE_DECL_KEY_POWER)
358   XLAT(KEY_POWER),
359 #endif
360 #if defined(KEY_KPEQUAL) || (defined(HAVE_DECL_KEY_KPEQUAL) && HAVE_DECL_KEY_KPEQUAL)
361   XLAT(KEY_KPEQUAL),
362 #endif
363 #if defined(KEY_KPPLUSMINUS) || (defined(HAVE_DECL_KEY_KPPLUSMINUS) && HAVE_DECL_KEY_KPPLUSMINUS)
364   XLAT(KEY_KPPLUSMINUS),
365 #endif
366 #if defined(KEY_PAUSE) || (defined(HAVE_DECL_KEY_PAUSE) && HAVE_DECL_KEY_PAUSE)
367   XLAT(KEY_PAUSE),
368 #endif
369 #if defined(KEY_SCALE) || (defined(HAVE_DECL_KEY_SCALE) && HAVE_DECL_KEY_SCALE)
370   XLAT(KEY_SCALE),
371 #endif
372 
373 #if defined(KEY_KPCOMMA) || (defined(HAVE_DECL_KEY_KPCOMMA) && HAVE_DECL_KEY_KPCOMMA)
374   XLAT(KEY_KPCOMMA),
375 #endif
376 #if defined(KEY_HANGEUL) || (defined(HAVE_DECL_KEY_HANGEUL) && HAVE_DECL_KEY_HANGEUL)
377   XLAT(KEY_HANGEUL),
378 #endif
379 #if defined(KEY_HANGUEL) || (defined(HAVE_DECL_KEY_HANGUEL) && HAVE_DECL_KEY_HANGUEL)
380   XLAT(KEY_HANGUEL),
381 #endif
382 #if defined(KEY_HANJA) || (defined(HAVE_DECL_KEY_HANJA) && HAVE_DECL_KEY_HANJA)
383   XLAT(KEY_HANJA),
384 #endif
385 #if defined(KEY_YEN) || (defined(HAVE_DECL_KEY_YEN) && HAVE_DECL_KEY_YEN)
386   XLAT(KEY_YEN),
387 #endif
388 #if defined(KEY_LEFTMETA) || (defined(HAVE_DECL_KEY_LEFTMETA) && HAVE_DECL_KEY_LEFTMETA)
389   XLAT(KEY_LEFTMETA),
390 #endif
391 #if defined(KEY_RIGHTMETA) || (defined(HAVE_DECL_KEY_RIGHTMETA) && HAVE_DECL_KEY_RIGHTMETA)
392   XLAT(KEY_RIGHTMETA),
393 #endif
394 #if defined(KEY_COMPOSE) || (defined(HAVE_DECL_KEY_COMPOSE) && HAVE_DECL_KEY_COMPOSE)
395   XLAT(KEY_COMPOSE),
396 #endif
397 
398 #if defined(KEY_STOP) || (defined(HAVE_DECL_KEY_STOP) && HAVE_DECL_KEY_STOP)
399   XLAT(KEY_STOP),
400 #endif
401 #if defined(KEY_AGAIN) || (defined(HAVE_DECL_KEY_AGAIN) && HAVE_DECL_KEY_AGAIN)
402   XLAT(KEY_AGAIN),
403 #endif
404 #if defined(KEY_PROPS) || (defined(HAVE_DECL_KEY_PROPS) && HAVE_DECL_KEY_PROPS)
405   XLAT(KEY_PROPS),
406 #endif
407 #if defined(KEY_UNDO) || (defined(HAVE_DECL_KEY_UNDO) && HAVE_DECL_KEY_UNDO)
408   XLAT(KEY_UNDO),
409 #endif
410 #if defined(KEY_FRONT) || (defined(HAVE_DECL_KEY_FRONT) && HAVE_DECL_KEY_FRONT)
411   XLAT(KEY_FRONT),
412 #endif
413 #if defined(KEY_COPY) || (defined(HAVE_DECL_KEY_COPY) && HAVE_DECL_KEY_COPY)
414   XLAT(KEY_COPY),
415 #endif
416 #if defined(KEY_OPEN) || (defined(HAVE_DECL_KEY_OPEN) && HAVE_DECL_KEY_OPEN)
417   XLAT(KEY_OPEN),
418 #endif
419 #if defined(KEY_PASTE) || (defined(HAVE_DECL_KEY_PASTE) && HAVE_DECL_KEY_PASTE)
420   XLAT(KEY_PASTE),
421 #endif
422 #if defined(KEY_FIND) || (defined(HAVE_DECL_KEY_FIND) && HAVE_DECL_KEY_FIND)
423   XLAT(KEY_FIND),
424 #endif
425 #if defined(KEY_CUT) || (defined(HAVE_DECL_KEY_CUT) && HAVE_DECL_KEY_CUT)
426   XLAT(KEY_CUT),
427 #endif
428 #if defined(KEY_HELP) || (defined(HAVE_DECL_KEY_HELP) && HAVE_DECL_KEY_HELP)
429   XLAT(KEY_HELP),
430 #endif
431 #if defined(KEY_MENU) || (defined(HAVE_DECL_KEY_MENU) && HAVE_DECL_KEY_MENU)
432   XLAT(KEY_MENU),
433 #endif
434 #if defined(KEY_CALC) || (defined(HAVE_DECL_KEY_CALC) && HAVE_DECL_KEY_CALC)
435   XLAT(KEY_CALC),
436 #endif
437 #if defined(KEY_SETUP) || (defined(HAVE_DECL_KEY_SETUP) && HAVE_DECL_KEY_SETUP)
438   XLAT(KEY_SETUP),
439 #endif
440 #if defined(KEY_SLEEP) || (defined(HAVE_DECL_KEY_SLEEP) && HAVE_DECL_KEY_SLEEP)
441   XLAT(KEY_SLEEP),
442 #endif
443 #if defined(KEY_WAKEUP) || (defined(HAVE_DECL_KEY_WAKEUP) && HAVE_DECL_KEY_WAKEUP)
444   XLAT(KEY_WAKEUP),
445 #endif
446 #if defined(KEY_FILE) || (defined(HAVE_DECL_KEY_FILE) && HAVE_DECL_KEY_FILE)
447   XLAT(KEY_FILE),
448 #endif
449 #if defined(KEY_SENDFILE) || (defined(HAVE_DECL_KEY_SENDFILE) && HAVE_DECL_KEY_SENDFILE)
450   XLAT(KEY_SENDFILE),
451 #endif
452 #if defined(KEY_DELETEFILE) || (defined(HAVE_DECL_KEY_DELETEFILE) && HAVE_DECL_KEY_DELETEFILE)
453   XLAT(KEY_DELETEFILE),
454 #endif
455 #if defined(KEY_XFER) || (defined(HAVE_DECL_KEY_XFER) && HAVE_DECL_KEY_XFER)
456   XLAT(KEY_XFER),
457 #endif
458 #if defined(KEY_PROG1) || (defined(HAVE_DECL_KEY_PROG1) && HAVE_DECL_KEY_PROG1)
459   XLAT(KEY_PROG1),
460 #endif
461 #if defined(KEY_PROG2) || (defined(HAVE_DECL_KEY_PROG2) && HAVE_DECL_KEY_PROG2)
462   XLAT(KEY_PROG2),
463 #endif
464 #if defined(KEY_WWW) || (defined(HAVE_DECL_KEY_WWW) && HAVE_DECL_KEY_WWW)
465   XLAT(KEY_WWW),
466 #endif
467 #if defined(KEY_MSDOS) || (defined(HAVE_DECL_KEY_MSDOS) && HAVE_DECL_KEY_MSDOS)
468   XLAT(KEY_MSDOS),
469 #endif
470 #if defined(KEY_COFFEE) || (defined(HAVE_DECL_KEY_COFFEE) && HAVE_DECL_KEY_COFFEE)
471   XLAT(KEY_COFFEE),
472 #endif
473 #if defined(KEY_ROTATE_DISPLAY) || (defined(HAVE_DECL_KEY_ROTATE_DISPLAY) && HAVE_DECL_KEY_ROTATE_DISPLAY)
474   XLAT(KEY_ROTATE_DISPLAY),
475 #endif
476 #if defined(KEY_DIRECTION) || (defined(HAVE_DECL_KEY_DIRECTION) && HAVE_DECL_KEY_DIRECTION)
477   XLAT(KEY_DIRECTION),
478 #endif
479 #if defined(KEY_CYCLEWINDOWS) || (defined(HAVE_DECL_KEY_CYCLEWINDOWS) && HAVE_DECL_KEY_CYCLEWINDOWS)
480   XLAT(KEY_CYCLEWINDOWS),
481 #endif
482 #if defined(KEY_MAIL) || (defined(HAVE_DECL_KEY_MAIL) && HAVE_DECL_KEY_MAIL)
483   XLAT(KEY_MAIL),
484 #endif
485 #if defined(KEY_BOOKMARKS) || (defined(HAVE_DECL_KEY_BOOKMARKS) && HAVE_DECL_KEY_BOOKMARKS)
486   XLAT(KEY_BOOKMARKS),
487 #endif
488 #if defined(KEY_COMPUTER) || (defined(HAVE_DECL_KEY_COMPUTER) && HAVE_DECL_KEY_COMPUTER)
489   XLAT(KEY_COMPUTER),
490 #endif
491 #if defined(KEY_BACK) || (defined(HAVE_DECL_KEY_BACK) && HAVE_DECL_KEY_BACK)
492   XLAT(KEY_BACK),
493 #endif
494 #if defined(KEY_FORWARD) || (defined(HAVE_DECL_KEY_FORWARD) && HAVE_DECL_KEY_FORWARD)
495   XLAT(KEY_FORWARD),
496 #endif
497 #if defined(KEY_CLOSECD) || (defined(HAVE_DECL_KEY_CLOSECD) && HAVE_DECL_KEY_CLOSECD)
498   XLAT(KEY_CLOSECD),
499 #endif
500 #if defined(KEY_EJECTCD) || (defined(HAVE_DECL_KEY_EJECTCD) && HAVE_DECL_KEY_EJECTCD)
501   XLAT(KEY_EJECTCD),
502 #endif
503 #if defined(KEY_EJECTCLOSECD) || (defined(HAVE_DECL_KEY_EJECTCLOSECD) && HAVE_DECL_KEY_EJECTCLOSECD)
504   XLAT(KEY_EJECTCLOSECD),
505 #endif
506 #if defined(KEY_NEXTSONG) || (defined(HAVE_DECL_KEY_NEXTSONG) && HAVE_DECL_KEY_NEXTSONG)
507   XLAT(KEY_NEXTSONG),
508 #endif
509 #if defined(KEY_PLAYPAUSE) || (defined(HAVE_DECL_KEY_PLAYPAUSE) && HAVE_DECL_KEY_PLAYPAUSE)
510   XLAT(KEY_PLAYPAUSE),
511 #endif
512 #if defined(KEY_PREVIOUSSONG) || (defined(HAVE_DECL_KEY_PREVIOUSSONG) && HAVE_DECL_KEY_PREVIOUSSONG)
513   XLAT(KEY_PREVIOUSSONG),
514 #endif
515 #if defined(KEY_STOPCD) || (defined(HAVE_DECL_KEY_STOPCD) && HAVE_DECL_KEY_STOPCD)
516   XLAT(KEY_STOPCD),
517 #endif
518 #if defined(KEY_RECORD) || (defined(HAVE_DECL_KEY_RECORD) && HAVE_DECL_KEY_RECORD)
519   XLAT(KEY_RECORD),
520 #endif
521 #if defined(KEY_REWIND) || (defined(HAVE_DECL_KEY_REWIND) && HAVE_DECL_KEY_REWIND)
522   XLAT(KEY_REWIND),
523 #endif
524 #if defined(KEY_PHONE) || (defined(HAVE_DECL_KEY_PHONE) && HAVE_DECL_KEY_PHONE)
525   XLAT(KEY_PHONE),
526 #endif
527 #if defined(KEY_ISO) || (defined(HAVE_DECL_KEY_ISO) && HAVE_DECL_KEY_ISO)
528   XLAT(KEY_ISO),
529 #endif
530 #if defined(KEY_CONFIG) || (defined(HAVE_DECL_KEY_CONFIG) && HAVE_DECL_KEY_CONFIG)
531   XLAT(KEY_CONFIG),
532 #endif
533 #if defined(KEY_HOMEPAGE) || (defined(HAVE_DECL_KEY_HOMEPAGE) && HAVE_DECL_KEY_HOMEPAGE)
534   XLAT(KEY_HOMEPAGE),
535 #endif
536 #if defined(KEY_REFRESH) || (defined(HAVE_DECL_KEY_REFRESH) && HAVE_DECL_KEY_REFRESH)
537   XLAT(KEY_REFRESH),
538 #endif
539 #if defined(KEY_EXIT) || (defined(HAVE_DECL_KEY_EXIT) && HAVE_DECL_KEY_EXIT)
540   XLAT(KEY_EXIT),
541 #endif
542 #if defined(KEY_MOVE) || (defined(HAVE_DECL_KEY_MOVE) && HAVE_DECL_KEY_MOVE)
543   XLAT(KEY_MOVE),
544 #endif
545 #if defined(KEY_EDIT) || (defined(HAVE_DECL_KEY_EDIT) && HAVE_DECL_KEY_EDIT)
546   XLAT(KEY_EDIT),
547 #endif
548 #if defined(KEY_SCROLLUP) || (defined(HAVE_DECL_KEY_SCROLLUP) && HAVE_DECL_KEY_SCROLLUP)
549   XLAT(KEY_SCROLLUP),
550 #endif
551 #if defined(KEY_SCROLLDOWN) || (defined(HAVE_DECL_KEY_SCROLLDOWN) && HAVE_DECL_KEY_SCROLLDOWN)
552   XLAT(KEY_SCROLLDOWN),
553 #endif
554 #if defined(KEY_KPLEFTPAREN) || (defined(HAVE_DECL_KEY_KPLEFTPAREN) && HAVE_DECL_KEY_KPLEFTPAREN)
555   XLAT(KEY_KPLEFTPAREN),
556 #endif
557 #if defined(KEY_KPRIGHTPAREN) || (defined(HAVE_DECL_KEY_KPRIGHTPAREN) && HAVE_DECL_KEY_KPRIGHTPAREN)
558   XLAT(KEY_KPRIGHTPAREN),
559 #endif
560 #if defined(KEY_NEW) || (defined(HAVE_DECL_KEY_NEW) && HAVE_DECL_KEY_NEW)
561   XLAT(KEY_NEW),
562 #endif
563 #if defined(KEY_REDO) || (defined(HAVE_DECL_KEY_REDO) && HAVE_DECL_KEY_REDO)
564   XLAT(KEY_REDO),
565 #endif
566 
567 #if defined(KEY_F13) || (defined(HAVE_DECL_KEY_F13) && HAVE_DECL_KEY_F13)
568   XLAT(KEY_F13),
569 #endif
570 #if defined(KEY_F14) || (defined(HAVE_DECL_KEY_F14) && HAVE_DECL_KEY_F14)
571   XLAT(KEY_F14),
572 #endif
573 #if defined(KEY_F15) || (defined(HAVE_DECL_KEY_F15) && HAVE_DECL_KEY_F15)
574   XLAT(KEY_F15),
575 #endif
576 #if defined(KEY_F16) || (defined(HAVE_DECL_KEY_F16) && HAVE_DECL_KEY_F16)
577   XLAT(KEY_F16),
578 #endif
579 #if defined(KEY_F17) || (defined(HAVE_DECL_KEY_F17) && HAVE_DECL_KEY_F17)
580   XLAT(KEY_F17),
581 #endif
582 #if defined(KEY_F18) || (defined(HAVE_DECL_KEY_F18) && HAVE_DECL_KEY_F18)
583   XLAT(KEY_F18),
584 #endif
585 #if defined(KEY_F19) || (defined(HAVE_DECL_KEY_F19) && HAVE_DECL_KEY_F19)
586   XLAT(KEY_F19),
587 #endif
588 #if defined(KEY_F20) || (defined(HAVE_DECL_KEY_F20) && HAVE_DECL_KEY_F20)
589   XLAT(KEY_F20),
590 #endif
591 #if defined(KEY_F21) || (defined(HAVE_DECL_KEY_F21) && HAVE_DECL_KEY_F21)
592   XLAT(KEY_F21),
593 #endif
594 #if defined(KEY_F22) || (defined(HAVE_DECL_KEY_F22) && HAVE_DECL_KEY_F22)
595   XLAT(KEY_F22),
596 #endif
597 #if defined(KEY_F23) || (defined(HAVE_DECL_KEY_F23) && HAVE_DECL_KEY_F23)
598   XLAT(KEY_F23),
599 #endif
600 #if defined(KEY_F24) || (defined(HAVE_DECL_KEY_F24) && HAVE_DECL_KEY_F24)
601   XLAT(KEY_F24),
602 #endif
603 
604 #if defined(KEY_PLAYCD) || (defined(HAVE_DECL_KEY_PLAYCD) && HAVE_DECL_KEY_PLAYCD)
605   XLAT(KEY_PLAYCD),
606 #endif
607 #if defined(KEY_PAUSECD) || (defined(HAVE_DECL_KEY_PAUSECD) && HAVE_DECL_KEY_PAUSECD)
608   XLAT(KEY_PAUSECD),
609 #endif
610 #if defined(KEY_PROG3) || (defined(HAVE_DECL_KEY_PROG3) && HAVE_DECL_KEY_PROG3)
611   XLAT(KEY_PROG3),
612 #endif
613 #if defined(KEY_PROG4) || (defined(HAVE_DECL_KEY_PROG4) && HAVE_DECL_KEY_PROG4)
614   XLAT(KEY_PROG4),
615 #endif
616 #if defined(KEY_DASHBOARD) || (defined(HAVE_DECL_KEY_DASHBOARD) && HAVE_DECL_KEY_DASHBOARD)
617   XLAT(KEY_DASHBOARD),
618 #endif
619 #if defined(KEY_SUSPEND) || (defined(HAVE_DECL_KEY_SUSPEND) && HAVE_DECL_KEY_SUSPEND)
620   XLAT(KEY_SUSPEND),
621 #endif
622 #if defined(KEY_CLOSE) || (defined(HAVE_DECL_KEY_CLOSE) && HAVE_DECL_KEY_CLOSE)
623   XLAT(KEY_CLOSE),
624 #endif
625 #if defined(KEY_PLAY) || (defined(HAVE_DECL_KEY_PLAY) && HAVE_DECL_KEY_PLAY)
626   XLAT(KEY_PLAY),
627 #endif
628 #if defined(KEY_FASTFORWARD) || (defined(HAVE_DECL_KEY_FASTFORWARD) && HAVE_DECL_KEY_FASTFORWARD)
629   XLAT(KEY_FASTFORWARD),
630 #endif
631 #if defined(KEY_BASSBOOST) || (defined(HAVE_DECL_KEY_BASSBOOST) && HAVE_DECL_KEY_BASSBOOST)
632   XLAT(KEY_BASSBOOST),
633 #endif
634 #if defined(KEY_PRINT) || (defined(HAVE_DECL_KEY_PRINT) && HAVE_DECL_KEY_PRINT)
635   XLAT(KEY_PRINT),
636 #endif
637 #if defined(KEY_HP) || (defined(HAVE_DECL_KEY_HP) && HAVE_DECL_KEY_HP)
638   XLAT(KEY_HP),
639 #endif
640 #if defined(KEY_CAMERA) || (defined(HAVE_DECL_KEY_CAMERA) && HAVE_DECL_KEY_CAMERA)
641   XLAT(KEY_CAMERA),
642 #endif
643 #if defined(KEY_SOUND) || (defined(HAVE_DECL_KEY_SOUND) && HAVE_DECL_KEY_SOUND)
644   XLAT(KEY_SOUND),
645 #endif
646 #if defined(KEY_QUESTION) || (defined(HAVE_DECL_KEY_QUESTION) && HAVE_DECL_KEY_QUESTION)
647   XLAT(KEY_QUESTION),
648 #endif
649 #if defined(KEY_EMAIL) || (defined(HAVE_DECL_KEY_EMAIL) && HAVE_DECL_KEY_EMAIL)
650   XLAT(KEY_EMAIL),
651 #endif
652 #if defined(KEY_CHAT) || (defined(HAVE_DECL_KEY_CHAT) && HAVE_DECL_KEY_CHAT)
653   XLAT(KEY_CHAT),
654 #endif
655 #if defined(KEY_SEARCH) || (defined(HAVE_DECL_KEY_SEARCH) && HAVE_DECL_KEY_SEARCH)
656   XLAT(KEY_SEARCH),
657 #endif
658 #if defined(KEY_CONNECT) || (defined(HAVE_DECL_KEY_CONNECT) && HAVE_DECL_KEY_CONNECT)
659   XLAT(KEY_CONNECT),
660 #endif
661 #if defined(KEY_FINANCE) || (defined(HAVE_DECL_KEY_FINANCE) && HAVE_DECL_KEY_FINANCE)
662   XLAT(KEY_FINANCE),
663 #endif
664 #if defined(KEY_SPORT) || (defined(HAVE_DECL_KEY_SPORT) && HAVE_DECL_KEY_SPORT)
665   XLAT(KEY_SPORT),
666 #endif
667 #if defined(KEY_SHOP) || (defined(HAVE_DECL_KEY_SHOP) && HAVE_DECL_KEY_SHOP)
668   XLAT(KEY_SHOP),
669 #endif
670 #if defined(KEY_ALTERASE) || (defined(HAVE_DECL_KEY_ALTERASE) && HAVE_DECL_KEY_ALTERASE)
671   XLAT(KEY_ALTERASE),
672 #endif
673 #if defined(KEY_CANCEL) || (defined(HAVE_DECL_KEY_CANCEL) && HAVE_DECL_KEY_CANCEL)
674   XLAT(KEY_CANCEL),
675 #endif
676 #if defined(KEY_BRIGHTNESSDOWN) || (defined(HAVE_DECL_KEY_BRIGHTNESSDOWN) && HAVE_DECL_KEY_BRIGHTNESSDOWN)
677   XLAT(KEY_BRIGHTNESSDOWN),
678 #endif
679 #if defined(KEY_BRIGHTNESSUP) || (defined(HAVE_DECL_KEY_BRIGHTNESSUP) && HAVE_DECL_KEY_BRIGHTNESSUP)
680   XLAT(KEY_BRIGHTNESSUP),
681 #endif
682 #if defined(KEY_MEDIA) || (defined(HAVE_DECL_KEY_MEDIA) && HAVE_DECL_KEY_MEDIA)
683   XLAT(KEY_MEDIA),
684 #endif
685 
686 #if defined(KEY_SWITCHVIDEOMODE) || (defined(HAVE_DECL_KEY_SWITCHVIDEOMODE) && HAVE_DECL_KEY_SWITCHVIDEOMODE)
687   XLAT(KEY_SWITCHVIDEOMODE),
688 #endif
689 
690 #if defined(KEY_KBDILLUMTOGGLE) || (defined(HAVE_DECL_KEY_KBDILLUMTOGGLE) && HAVE_DECL_KEY_KBDILLUMTOGGLE)
691   XLAT(KEY_KBDILLUMTOGGLE),
692 #endif
693 #if defined(KEY_KBDILLUMDOWN) || (defined(HAVE_DECL_KEY_KBDILLUMDOWN) && HAVE_DECL_KEY_KBDILLUMDOWN)
694   XLAT(KEY_KBDILLUMDOWN),
695 #endif
696 #if defined(KEY_KBDILLUMUP) || (defined(HAVE_DECL_KEY_KBDILLUMUP) && HAVE_DECL_KEY_KBDILLUMUP)
697   XLAT(KEY_KBDILLUMUP),
698 #endif
699 
700 #if defined(KEY_SEND) || (defined(HAVE_DECL_KEY_SEND) && HAVE_DECL_KEY_SEND)
701   XLAT(KEY_SEND),
702 #endif
703 #if defined(KEY_REPLY) || (defined(HAVE_DECL_KEY_REPLY) && HAVE_DECL_KEY_REPLY)
704   XLAT(KEY_REPLY),
705 #endif
706 #if defined(KEY_FORWARDMAIL) || (defined(HAVE_DECL_KEY_FORWARDMAIL) && HAVE_DECL_KEY_FORWARDMAIL)
707   XLAT(KEY_FORWARDMAIL),
708 #endif
709 #if defined(KEY_SAVE) || (defined(HAVE_DECL_KEY_SAVE) && HAVE_DECL_KEY_SAVE)
710   XLAT(KEY_SAVE),
711 #endif
712 #if defined(KEY_DOCUMENTS) || (defined(HAVE_DECL_KEY_DOCUMENTS) && HAVE_DECL_KEY_DOCUMENTS)
713   XLAT(KEY_DOCUMENTS),
714 #endif
715 
716 #if defined(KEY_BATTERY) || (defined(HAVE_DECL_KEY_BATTERY) && HAVE_DECL_KEY_BATTERY)
717   XLAT(KEY_BATTERY),
718 #endif
719 
720 #if defined(KEY_BLUETOOTH) || (defined(HAVE_DECL_KEY_BLUETOOTH) && HAVE_DECL_KEY_BLUETOOTH)
721   XLAT(KEY_BLUETOOTH),
722 #endif
723 #if defined(KEY_WLAN) || (defined(HAVE_DECL_KEY_WLAN) && HAVE_DECL_KEY_WLAN)
724   XLAT(KEY_WLAN),
725 #endif
726 #if defined(KEY_UWB) || (defined(HAVE_DECL_KEY_UWB) && HAVE_DECL_KEY_UWB)
727   XLAT(KEY_UWB),
728 #endif
729 
730 #if defined(KEY_UNKNOWN) || (defined(HAVE_DECL_KEY_UNKNOWN) && HAVE_DECL_KEY_UNKNOWN)
731   XLAT(KEY_UNKNOWN),
732 #endif
733 
734 #if defined(KEY_VIDEO_NEXT) || (defined(HAVE_DECL_KEY_VIDEO_NEXT) && HAVE_DECL_KEY_VIDEO_NEXT)
735   XLAT(KEY_VIDEO_NEXT),
736 #endif
737 #if defined(KEY_VIDEO_PREV) || (defined(HAVE_DECL_KEY_VIDEO_PREV) && HAVE_DECL_KEY_VIDEO_PREV)
738   XLAT(KEY_VIDEO_PREV),
739 #endif
740 #if defined(KEY_BRIGHTNESS_CYCLE) || (defined(HAVE_DECL_KEY_BRIGHTNESS_CYCLE) && HAVE_DECL_KEY_BRIGHTNESS_CYCLE)
741   XLAT(KEY_BRIGHTNESS_CYCLE),
742 #endif
743 #if defined(KEY_BRIGHTNESS_AUTO) || (defined(HAVE_DECL_KEY_BRIGHTNESS_AUTO) && HAVE_DECL_KEY_BRIGHTNESS_AUTO)
744   XLAT(KEY_BRIGHTNESS_AUTO),
745 #endif
746 #if defined(KEY_BRIGHTNESS_ZERO) || (defined(HAVE_DECL_KEY_BRIGHTNESS_ZERO) && HAVE_DECL_KEY_BRIGHTNESS_ZERO)
747   XLAT(KEY_BRIGHTNESS_ZERO),
748 #endif
749 #if defined(KEY_DISPLAY_OFF) || (defined(HAVE_DECL_KEY_DISPLAY_OFF) && HAVE_DECL_KEY_DISPLAY_OFF)
750   XLAT(KEY_DISPLAY_OFF),
751 #endif
752 
753 #if defined(KEY_WWAN) || (defined(HAVE_DECL_KEY_WWAN) && HAVE_DECL_KEY_WWAN)
754   XLAT(KEY_WWAN),
755 #endif
756 #if defined(KEY_WIMAX) || (defined(HAVE_DECL_KEY_WIMAX) && HAVE_DECL_KEY_WIMAX)
757   XLAT(KEY_WIMAX),
758 #endif
759 #if defined(KEY_RFKILL) || (defined(HAVE_DECL_KEY_RFKILL) && HAVE_DECL_KEY_RFKILL)
760   XLAT(KEY_RFKILL),
761 #endif
762 
763 #if defined(KEY_MICMUTE) || (defined(HAVE_DECL_KEY_MICMUTE) && HAVE_DECL_KEY_MICMUTE)
764   XLAT(KEY_MICMUTE),
765 #endif
766 
767 #if defined(BTN_0) || (defined(HAVE_DECL_BTN_0) && HAVE_DECL_BTN_0)
768   XLAT(BTN_0),
769 #endif
770 #if defined(BTN_1) || (defined(HAVE_DECL_BTN_1) && HAVE_DECL_BTN_1)
771   XLAT(BTN_1),
772 #endif
773 #if defined(BTN_2) || (defined(HAVE_DECL_BTN_2) && HAVE_DECL_BTN_2)
774   XLAT(BTN_2),
775 #endif
776 #if defined(BTN_3) || (defined(HAVE_DECL_BTN_3) && HAVE_DECL_BTN_3)
777   XLAT(BTN_3),
778 #endif
779 #if defined(BTN_4) || (defined(HAVE_DECL_BTN_4) && HAVE_DECL_BTN_4)
780   XLAT(BTN_4),
781 #endif
782 #if defined(BTN_5) || (defined(HAVE_DECL_BTN_5) && HAVE_DECL_BTN_5)
783   XLAT(BTN_5),
784 #endif
785 #if defined(BTN_6) || (defined(HAVE_DECL_BTN_6) && HAVE_DECL_BTN_6)
786   XLAT(BTN_6),
787 #endif
788 #if defined(BTN_7) || (defined(HAVE_DECL_BTN_7) && HAVE_DECL_BTN_7)
789   XLAT(BTN_7),
790 #endif
791 #if defined(BTN_8) || (defined(HAVE_DECL_BTN_8) && HAVE_DECL_BTN_8)
792   XLAT(BTN_8),
793 #endif
794 #if defined(BTN_9) || (defined(HAVE_DECL_BTN_9) && HAVE_DECL_BTN_9)
795   XLAT(BTN_9),
796 #endif
797 
798 #if defined(BTN_MOUSE) || (defined(HAVE_DECL_BTN_MOUSE) && HAVE_DECL_BTN_MOUSE)
799   XLAT(BTN_MOUSE),
800 #endif
801 #if defined(BTN_LEFT) || (defined(HAVE_DECL_BTN_LEFT) && HAVE_DECL_BTN_LEFT)
802   XLAT(BTN_LEFT),
803 #endif
804 #if defined(BTN_RIGHT) || (defined(HAVE_DECL_BTN_RIGHT) && HAVE_DECL_BTN_RIGHT)
805   XLAT(BTN_RIGHT),
806 #endif
807 #if defined(BTN_MIDDLE) || (defined(HAVE_DECL_BTN_MIDDLE) && HAVE_DECL_BTN_MIDDLE)
808   XLAT(BTN_MIDDLE),
809 #endif
810 #if defined(BTN_SIDE) || (defined(HAVE_DECL_BTN_SIDE) && HAVE_DECL_BTN_SIDE)
811   XLAT(BTN_SIDE),
812 #endif
813 #if defined(BTN_EXTRA) || (defined(HAVE_DECL_BTN_EXTRA) && HAVE_DECL_BTN_EXTRA)
814   XLAT(BTN_EXTRA),
815 #endif
816 #if defined(BTN_FORWARD) || (defined(HAVE_DECL_BTN_FORWARD) && HAVE_DECL_BTN_FORWARD)
817   XLAT(BTN_FORWARD),
818 #endif
819 #if defined(BTN_BACK) || (defined(HAVE_DECL_BTN_BACK) && HAVE_DECL_BTN_BACK)
820   XLAT(BTN_BACK),
821 #endif
822 #if defined(BTN_TASK) || (defined(HAVE_DECL_BTN_TASK) && HAVE_DECL_BTN_TASK)
823   XLAT(BTN_TASK),
824 #endif
825 
826 #if defined(BTN_JOYSTICK) || (defined(HAVE_DECL_BTN_JOYSTICK) && HAVE_DECL_BTN_JOYSTICK)
827   XLAT(BTN_JOYSTICK),
828 #endif
829 #if defined(BTN_TRIGGER) || (defined(HAVE_DECL_BTN_TRIGGER) && HAVE_DECL_BTN_TRIGGER)
830   XLAT(BTN_TRIGGER),
831 #endif
832 #if defined(BTN_THUMB) || (defined(HAVE_DECL_BTN_THUMB) && HAVE_DECL_BTN_THUMB)
833   XLAT(BTN_THUMB),
834 #endif
835 #if defined(BTN_THUMB2) || (defined(HAVE_DECL_BTN_THUMB2) && HAVE_DECL_BTN_THUMB2)
836   XLAT(BTN_THUMB2),
837 #endif
838 #if defined(BTN_TOP) || (defined(HAVE_DECL_BTN_TOP) && HAVE_DECL_BTN_TOP)
839   XLAT(BTN_TOP),
840 #endif
841 #if defined(BTN_TOP2) || (defined(HAVE_DECL_BTN_TOP2) && HAVE_DECL_BTN_TOP2)
842   XLAT(BTN_TOP2),
843 #endif
844 #if defined(BTN_PINKIE) || (defined(HAVE_DECL_BTN_PINKIE) && HAVE_DECL_BTN_PINKIE)
845   XLAT(BTN_PINKIE),
846 #endif
847 #if defined(BTN_BASE) || (defined(HAVE_DECL_BTN_BASE) && HAVE_DECL_BTN_BASE)
848   XLAT(BTN_BASE),
849 #endif
850 #if defined(BTN_BASE2) || (defined(HAVE_DECL_BTN_BASE2) && HAVE_DECL_BTN_BASE2)
851   XLAT(BTN_BASE2),
852 #endif
853 #if defined(BTN_BASE3) || (defined(HAVE_DECL_BTN_BASE3) && HAVE_DECL_BTN_BASE3)
854   XLAT(BTN_BASE3),
855 #endif
856 #if defined(BTN_BASE4) || (defined(HAVE_DECL_BTN_BASE4) && HAVE_DECL_BTN_BASE4)
857   XLAT(BTN_BASE4),
858 #endif
859 #if defined(BTN_BASE5) || (defined(HAVE_DECL_BTN_BASE5) && HAVE_DECL_BTN_BASE5)
860   XLAT(BTN_BASE5),
861 #endif
862 #if defined(BTN_BASE6) || (defined(HAVE_DECL_BTN_BASE6) && HAVE_DECL_BTN_BASE6)
863   XLAT(BTN_BASE6),
864 #endif
865 #if defined(BTN_DEAD) || (defined(HAVE_DECL_BTN_DEAD) && HAVE_DECL_BTN_DEAD)
866   XLAT(BTN_DEAD),
867 #endif
868 
869 #if defined(BTN_GAMEPAD) || (defined(HAVE_DECL_BTN_GAMEPAD) && HAVE_DECL_BTN_GAMEPAD)
870   XLAT(BTN_GAMEPAD),
871 #endif
872 #if defined(BTN_SOUTH) || (defined(HAVE_DECL_BTN_SOUTH) && HAVE_DECL_BTN_SOUTH)
873   XLAT(BTN_SOUTH),
874 #endif
875 #if defined(BTN_A) || (defined(HAVE_DECL_BTN_A) && HAVE_DECL_BTN_A)
876   XLAT(BTN_A),
877 #endif
878 #if defined(BTN_EAST) || (defined(HAVE_DECL_BTN_EAST) && HAVE_DECL_BTN_EAST)
879   XLAT(BTN_EAST),
880 #endif
881 #if defined(BTN_B) || (defined(HAVE_DECL_BTN_B) && HAVE_DECL_BTN_B)
882   XLAT(BTN_B),
883 #endif
884 #if defined(BTN_C) || (defined(HAVE_DECL_BTN_C) && HAVE_DECL_BTN_C)
885   XLAT(BTN_C),
886 #endif
887 #if defined(BTN_NORTH) || (defined(HAVE_DECL_BTN_NORTH) && HAVE_DECL_BTN_NORTH)
888   XLAT(BTN_NORTH),
889 #endif
890 #if defined(BTN_X) || (defined(HAVE_DECL_BTN_X) && HAVE_DECL_BTN_X)
891   XLAT(BTN_X),
892 #endif
893 #if defined(BTN_WEST) || (defined(HAVE_DECL_BTN_WEST) && HAVE_DECL_BTN_WEST)
894   XLAT(BTN_WEST),
895 #endif
896 #if defined(BTN_Y) || (defined(HAVE_DECL_BTN_Y) && HAVE_DECL_BTN_Y)
897   XLAT(BTN_Y),
898 #endif
899 #if defined(BTN_Z) || (defined(HAVE_DECL_BTN_Z) && HAVE_DECL_BTN_Z)
900   XLAT(BTN_Z),
901 #endif
902 #if defined(BTN_TL) || (defined(HAVE_DECL_BTN_TL) && HAVE_DECL_BTN_TL)
903   XLAT(BTN_TL),
904 #endif
905 #if defined(BTN_TR) || (defined(HAVE_DECL_BTN_TR) && HAVE_DECL_BTN_TR)
906   XLAT(BTN_TR),
907 #endif
908 #if defined(BTN_TL2) || (defined(HAVE_DECL_BTN_TL2) && HAVE_DECL_BTN_TL2)
909   XLAT(BTN_TL2),
910 #endif
911 #if defined(BTN_TR2) || (defined(HAVE_DECL_BTN_TR2) && HAVE_DECL_BTN_TR2)
912   XLAT(BTN_TR2),
913 #endif
914 #if defined(BTN_SELECT) || (defined(HAVE_DECL_BTN_SELECT) && HAVE_DECL_BTN_SELECT)
915   XLAT(BTN_SELECT),
916 #endif
917 #if defined(BTN_START) || (defined(HAVE_DECL_BTN_START) && HAVE_DECL_BTN_START)
918   XLAT(BTN_START),
919 #endif
920 #if defined(BTN_MODE) || (defined(HAVE_DECL_BTN_MODE) && HAVE_DECL_BTN_MODE)
921   XLAT(BTN_MODE),
922 #endif
923 #if defined(BTN_THUMBL) || (defined(HAVE_DECL_BTN_THUMBL) && HAVE_DECL_BTN_THUMBL)
924   XLAT(BTN_THUMBL),
925 #endif
926 #if defined(BTN_THUMBR) || (defined(HAVE_DECL_BTN_THUMBR) && HAVE_DECL_BTN_THUMBR)
927   XLAT(BTN_THUMBR),
928 #endif
929 
930 #if defined(BTN_DIGI) || (defined(HAVE_DECL_BTN_DIGI) && HAVE_DECL_BTN_DIGI)
931   XLAT(BTN_DIGI),
932 #endif
933 #if defined(BTN_TOOL_PEN) || (defined(HAVE_DECL_BTN_TOOL_PEN) && HAVE_DECL_BTN_TOOL_PEN)
934   XLAT(BTN_TOOL_PEN),
935 #endif
936 #if defined(BTN_TOOL_RUBBER) || (defined(HAVE_DECL_BTN_TOOL_RUBBER) && HAVE_DECL_BTN_TOOL_RUBBER)
937   XLAT(BTN_TOOL_RUBBER),
938 #endif
939 #if defined(BTN_TOOL_BRUSH) || (defined(HAVE_DECL_BTN_TOOL_BRUSH) && HAVE_DECL_BTN_TOOL_BRUSH)
940   XLAT(BTN_TOOL_BRUSH),
941 #endif
942 #if defined(BTN_TOOL_PENCIL) || (defined(HAVE_DECL_BTN_TOOL_PENCIL) && HAVE_DECL_BTN_TOOL_PENCIL)
943   XLAT(BTN_TOOL_PENCIL),
944 #endif
945 #if defined(BTN_TOOL_AIRBRUSH) || (defined(HAVE_DECL_BTN_TOOL_AIRBRUSH) && HAVE_DECL_BTN_TOOL_AIRBRUSH)
946   XLAT(BTN_TOOL_AIRBRUSH),
947 #endif
948 #if defined(BTN_TOOL_FINGER) || (defined(HAVE_DECL_BTN_TOOL_FINGER) && HAVE_DECL_BTN_TOOL_FINGER)
949   XLAT(BTN_TOOL_FINGER),
950 #endif
951 #if defined(BTN_TOOL_MOUSE) || (defined(HAVE_DECL_BTN_TOOL_MOUSE) && HAVE_DECL_BTN_TOOL_MOUSE)
952   XLAT(BTN_TOOL_MOUSE),
953 #endif
954 #if defined(BTN_TOOL_LENS) || (defined(HAVE_DECL_BTN_TOOL_LENS) && HAVE_DECL_BTN_TOOL_LENS)
955   XLAT(BTN_TOOL_LENS),
956 #endif
957 #if defined(BTN_TOOL_QUINTTAP) || (defined(HAVE_DECL_BTN_TOOL_QUINTTAP) && HAVE_DECL_BTN_TOOL_QUINTTAP)
958   XLAT(BTN_TOOL_QUINTTAP),
959 #endif
960 #if defined(BTN_TOUCH) || (defined(HAVE_DECL_BTN_TOUCH) && HAVE_DECL_BTN_TOUCH)
961   XLAT(BTN_TOUCH),
962 #endif
963 #if defined(BTN_STYLUS) || (defined(HAVE_DECL_BTN_STYLUS) && HAVE_DECL_BTN_STYLUS)
964   XLAT(BTN_STYLUS),
965 #endif
966 #if defined(BTN_STYLUS2) || (defined(HAVE_DECL_BTN_STYLUS2) && HAVE_DECL_BTN_STYLUS2)
967   XLAT(BTN_STYLUS2),
968 #endif
969 #if defined(BTN_TOOL_DOUBLETAP) || (defined(HAVE_DECL_BTN_TOOL_DOUBLETAP) && HAVE_DECL_BTN_TOOL_DOUBLETAP)
970   XLAT(BTN_TOOL_DOUBLETAP),
971 #endif
972 #if defined(BTN_TOOL_TRIPLETAP) || (defined(HAVE_DECL_BTN_TOOL_TRIPLETAP) && HAVE_DECL_BTN_TOOL_TRIPLETAP)
973   XLAT(BTN_TOOL_TRIPLETAP),
974 #endif
975 #if defined(BTN_TOOL_QUADTAP) || (defined(HAVE_DECL_BTN_TOOL_QUADTAP) && HAVE_DECL_BTN_TOOL_QUADTAP)
976   XLAT(BTN_TOOL_QUADTAP),
977 #endif
978 
979 #if defined(BTN_WHEEL) || (defined(HAVE_DECL_BTN_WHEEL) && HAVE_DECL_BTN_WHEEL)
980   XLAT(BTN_WHEEL),
981 #endif
982 #if defined(BTN_GEAR_DOWN) || (defined(HAVE_DECL_BTN_GEAR_DOWN) && HAVE_DECL_BTN_GEAR_DOWN)
983   XLAT(BTN_GEAR_DOWN),
984 #endif
985 #if defined(BTN_GEAR_UP) || (defined(HAVE_DECL_BTN_GEAR_UP) && HAVE_DECL_BTN_GEAR_UP)
986   XLAT(BTN_GEAR_UP),
987 #endif
988 
989 #if defined(KEY_OK) || (defined(HAVE_DECL_KEY_OK) && HAVE_DECL_KEY_OK)
990   XLAT(KEY_OK),
991 #endif
992 #if defined(KEY_SELECT) || (defined(HAVE_DECL_KEY_SELECT) && HAVE_DECL_KEY_SELECT)
993   XLAT(KEY_SELECT),
994 #endif
995 #if defined(KEY_GOTO) || (defined(HAVE_DECL_KEY_GOTO) && HAVE_DECL_KEY_GOTO)
996   XLAT(KEY_GOTO),
997 #endif
998 #if defined(KEY_CLEAR) || (defined(HAVE_DECL_KEY_CLEAR) && HAVE_DECL_KEY_CLEAR)
999   XLAT(KEY_CLEAR),
1000 #endif
1001 #if defined(KEY_POWER2) || (defined(HAVE_DECL_KEY_POWER2) && HAVE_DECL_KEY_POWER2)
1002   XLAT(KEY_POWER2),
1003 #endif
1004 #if defined(KEY_OPTION) || (defined(HAVE_DECL_KEY_OPTION) && HAVE_DECL_KEY_OPTION)
1005   XLAT(KEY_OPTION),
1006 #endif
1007 #if defined(KEY_INFO) || (defined(HAVE_DECL_KEY_INFO) && HAVE_DECL_KEY_INFO)
1008   XLAT(KEY_INFO),
1009 #endif
1010 #if defined(KEY_TIME) || (defined(HAVE_DECL_KEY_TIME) && HAVE_DECL_KEY_TIME)
1011   XLAT(KEY_TIME),
1012 #endif
1013 #if defined(KEY_VENDOR) || (defined(HAVE_DECL_KEY_VENDOR) && HAVE_DECL_KEY_VENDOR)
1014   XLAT(KEY_VENDOR),
1015 #endif
1016 #if defined(KEY_ARCHIVE) || (defined(HAVE_DECL_KEY_ARCHIVE) && HAVE_DECL_KEY_ARCHIVE)
1017   XLAT(KEY_ARCHIVE),
1018 #endif
1019 #if defined(KEY_PROGRAM) || (defined(HAVE_DECL_KEY_PROGRAM) && HAVE_DECL_KEY_PROGRAM)
1020   XLAT(KEY_PROGRAM),
1021 #endif
1022 #if defined(KEY_CHANNEL) || (defined(HAVE_DECL_KEY_CHANNEL) && HAVE_DECL_KEY_CHANNEL)
1023   XLAT(KEY_CHANNEL),
1024 #endif
1025 #if defined(KEY_FAVORITES) || (defined(HAVE_DECL_KEY_FAVORITES) && HAVE_DECL_KEY_FAVORITES)
1026   XLAT(KEY_FAVORITES),
1027 #endif
1028 #if defined(KEY_EPG) || (defined(HAVE_DECL_KEY_EPG) && HAVE_DECL_KEY_EPG)
1029   XLAT(KEY_EPG),
1030 #endif
1031 #if defined(KEY_PVR) || (defined(HAVE_DECL_KEY_PVR) && HAVE_DECL_KEY_PVR)
1032   XLAT(KEY_PVR),
1033 #endif
1034 #if defined(KEY_MHP) || (defined(HAVE_DECL_KEY_MHP) && HAVE_DECL_KEY_MHP)
1035   XLAT(KEY_MHP),
1036 #endif
1037 #if defined(KEY_LANGUAGE) || (defined(HAVE_DECL_KEY_LANGUAGE) && HAVE_DECL_KEY_LANGUAGE)
1038   XLAT(KEY_LANGUAGE),
1039 #endif
1040 #if defined(KEY_TITLE) || (defined(HAVE_DECL_KEY_TITLE) && HAVE_DECL_KEY_TITLE)
1041   XLAT(KEY_TITLE),
1042 #endif
1043 #if defined(KEY_SUBTITLE) || (defined(HAVE_DECL_KEY_SUBTITLE) && HAVE_DECL_KEY_SUBTITLE)
1044   XLAT(KEY_SUBTITLE),
1045 #endif
1046 #if defined(KEY_ANGLE) || (defined(HAVE_DECL_KEY_ANGLE) && HAVE_DECL_KEY_ANGLE)
1047   XLAT(KEY_ANGLE),
1048 #endif
1049 #if defined(KEY_ZOOM) || (defined(HAVE_DECL_KEY_ZOOM) && HAVE_DECL_KEY_ZOOM)
1050   XLAT(KEY_ZOOM),
1051 #endif
1052 #if defined(KEY_MODE) || (defined(HAVE_DECL_KEY_MODE) && HAVE_DECL_KEY_MODE)
1053   XLAT(KEY_MODE),
1054 #endif
1055 #if defined(KEY_KEYBOARD) || (defined(HAVE_DECL_KEY_KEYBOARD) && HAVE_DECL_KEY_KEYBOARD)
1056   XLAT(KEY_KEYBOARD),
1057 #endif
1058 #if defined(KEY_SCREEN) || (defined(HAVE_DECL_KEY_SCREEN) && HAVE_DECL_KEY_SCREEN)
1059   XLAT(KEY_SCREEN),
1060 #endif
1061 #if defined(KEY_PC) || (defined(HAVE_DECL_KEY_PC) && HAVE_DECL_KEY_PC)
1062   XLAT(KEY_PC),
1063 #endif
1064 #if defined(KEY_TV) || (defined(HAVE_DECL_KEY_TV) && HAVE_DECL_KEY_TV)
1065   XLAT(KEY_TV),
1066 #endif
1067 #if defined(KEY_TV2) || (defined(HAVE_DECL_KEY_TV2) && HAVE_DECL_KEY_TV2)
1068   XLAT(KEY_TV2),
1069 #endif
1070 #if defined(KEY_VCR) || (defined(HAVE_DECL_KEY_VCR) && HAVE_DECL_KEY_VCR)
1071   XLAT(KEY_VCR),
1072 #endif
1073 #if defined(KEY_VCR2) || (defined(HAVE_DECL_KEY_VCR2) && HAVE_DECL_KEY_VCR2)
1074   XLAT(KEY_VCR2),
1075 #endif
1076 #if defined(KEY_SAT) || (defined(HAVE_DECL_KEY_SAT) && HAVE_DECL_KEY_SAT)
1077   XLAT(KEY_SAT),
1078 #endif
1079 #if defined(KEY_SAT2) || (defined(HAVE_DECL_KEY_SAT2) && HAVE_DECL_KEY_SAT2)
1080   XLAT(KEY_SAT2),
1081 #endif
1082 #if defined(KEY_CD) || (defined(HAVE_DECL_KEY_CD) && HAVE_DECL_KEY_CD)
1083   XLAT(KEY_CD),
1084 #endif
1085 #if defined(KEY_TAPE) || (defined(HAVE_DECL_KEY_TAPE) && HAVE_DECL_KEY_TAPE)
1086   XLAT(KEY_TAPE),
1087 #endif
1088 #if defined(KEY_RADIO) || (defined(HAVE_DECL_KEY_RADIO) && HAVE_DECL_KEY_RADIO)
1089   XLAT(KEY_RADIO),
1090 #endif
1091 #if defined(KEY_TUNER) || (defined(HAVE_DECL_KEY_TUNER) && HAVE_DECL_KEY_TUNER)
1092   XLAT(KEY_TUNER),
1093 #endif
1094 #if defined(KEY_PLAYER) || (defined(HAVE_DECL_KEY_PLAYER) && HAVE_DECL_KEY_PLAYER)
1095   XLAT(KEY_PLAYER),
1096 #endif
1097 #if defined(KEY_TEXT) || (defined(HAVE_DECL_KEY_TEXT) && HAVE_DECL_KEY_TEXT)
1098   XLAT(KEY_TEXT),
1099 #endif
1100 #if defined(KEY_DVD) || (defined(HAVE_DECL_KEY_DVD) && HAVE_DECL_KEY_DVD)
1101   XLAT(KEY_DVD),
1102 #endif
1103 #if defined(KEY_AUX) || (defined(HAVE_DECL_KEY_AUX) && HAVE_DECL_KEY_AUX)
1104   XLAT(KEY_AUX),
1105 #endif
1106 #if defined(KEY_MP3) || (defined(HAVE_DECL_KEY_MP3) && HAVE_DECL_KEY_MP3)
1107   XLAT(KEY_MP3),
1108 #endif
1109 #if defined(KEY_AUDIO) || (defined(HAVE_DECL_KEY_AUDIO) && HAVE_DECL_KEY_AUDIO)
1110   XLAT(KEY_AUDIO),
1111 #endif
1112 #if defined(KEY_VIDEO) || (defined(HAVE_DECL_KEY_VIDEO) && HAVE_DECL_KEY_VIDEO)
1113   XLAT(KEY_VIDEO),
1114 #endif
1115 #if defined(KEY_DIRECTORY) || (defined(HAVE_DECL_KEY_DIRECTORY) && HAVE_DECL_KEY_DIRECTORY)
1116   XLAT(KEY_DIRECTORY),
1117 #endif
1118 #if defined(KEY_LIST) || (defined(HAVE_DECL_KEY_LIST) && HAVE_DECL_KEY_LIST)
1119   XLAT(KEY_LIST),
1120 #endif
1121 #if defined(KEY_MEMO) || (defined(HAVE_DECL_KEY_MEMO) && HAVE_DECL_KEY_MEMO)
1122   XLAT(KEY_MEMO),
1123 #endif
1124 #if defined(KEY_CALENDAR) || (defined(HAVE_DECL_KEY_CALENDAR) && HAVE_DECL_KEY_CALENDAR)
1125   XLAT(KEY_CALENDAR),
1126 #endif
1127 #if defined(KEY_RED) || (defined(HAVE_DECL_KEY_RED) && HAVE_DECL_KEY_RED)
1128   XLAT(KEY_RED),
1129 #endif
1130 #if defined(KEY_GREEN) || (defined(HAVE_DECL_KEY_GREEN) && HAVE_DECL_KEY_GREEN)
1131   XLAT(KEY_GREEN),
1132 #endif
1133 #if defined(KEY_YELLOW) || (defined(HAVE_DECL_KEY_YELLOW) && HAVE_DECL_KEY_YELLOW)
1134   XLAT(KEY_YELLOW),
1135 #endif
1136 #if defined(KEY_BLUE) || (defined(HAVE_DECL_KEY_BLUE) && HAVE_DECL_KEY_BLUE)
1137   XLAT(KEY_BLUE),
1138 #endif
1139 #if defined(KEY_CHANNELUP) || (defined(HAVE_DECL_KEY_CHANNELUP) && HAVE_DECL_KEY_CHANNELUP)
1140   XLAT(KEY_CHANNELUP),
1141 #endif
1142 #if defined(KEY_CHANNELDOWN) || (defined(HAVE_DECL_KEY_CHANNELDOWN) && HAVE_DECL_KEY_CHANNELDOWN)
1143   XLAT(KEY_CHANNELDOWN),
1144 #endif
1145 #if defined(KEY_FIRST) || (defined(HAVE_DECL_KEY_FIRST) && HAVE_DECL_KEY_FIRST)
1146   XLAT(KEY_FIRST),
1147 #endif
1148 #if defined(KEY_LAST) || (defined(HAVE_DECL_KEY_LAST) && HAVE_DECL_KEY_LAST)
1149   XLAT(KEY_LAST),
1150 #endif
1151 #if defined(KEY_AB) || (defined(HAVE_DECL_KEY_AB) && HAVE_DECL_KEY_AB)
1152   XLAT(KEY_AB),
1153 #endif
1154 #if defined(KEY_NEXT) || (defined(HAVE_DECL_KEY_NEXT) && HAVE_DECL_KEY_NEXT)
1155   XLAT(KEY_NEXT),
1156 #endif
1157 #if defined(KEY_RESTART) || (defined(HAVE_DECL_KEY_RESTART) && HAVE_DECL_KEY_RESTART)
1158   XLAT(KEY_RESTART),
1159 #endif
1160 #if defined(KEY_SLOW) || (defined(HAVE_DECL_KEY_SLOW) && HAVE_DECL_KEY_SLOW)
1161   XLAT(KEY_SLOW),
1162 #endif
1163 #if defined(KEY_SHUFFLE) || (defined(HAVE_DECL_KEY_SHUFFLE) && HAVE_DECL_KEY_SHUFFLE)
1164   XLAT(KEY_SHUFFLE),
1165 #endif
1166 #if defined(KEY_BREAK) || (defined(HAVE_DECL_KEY_BREAK) && HAVE_DECL_KEY_BREAK)
1167   XLAT(KEY_BREAK),
1168 #endif
1169 #if defined(KEY_PREVIOUS) || (defined(HAVE_DECL_KEY_PREVIOUS) && HAVE_DECL_KEY_PREVIOUS)
1170   XLAT(KEY_PREVIOUS),
1171 #endif
1172 #if defined(KEY_DIGITS) || (defined(HAVE_DECL_KEY_DIGITS) && HAVE_DECL_KEY_DIGITS)
1173   XLAT(KEY_DIGITS),
1174 #endif
1175 #if defined(KEY_TEEN) || (defined(HAVE_DECL_KEY_TEEN) && HAVE_DECL_KEY_TEEN)
1176   XLAT(KEY_TEEN),
1177 #endif
1178 #if defined(KEY_TWEN) || (defined(HAVE_DECL_KEY_TWEN) && HAVE_DECL_KEY_TWEN)
1179   XLAT(KEY_TWEN),
1180 #endif
1181 #if defined(KEY_VIDEOPHONE) || (defined(HAVE_DECL_KEY_VIDEOPHONE) && HAVE_DECL_KEY_VIDEOPHONE)
1182   XLAT(KEY_VIDEOPHONE),
1183 #endif
1184 #if defined(KEY_GAMES) || (defined(HAVE_DECL_KEY_GAMES) && HAVE_DECL_KEY_GAMES)
1185   XLAT(KEY_GAMES),
1186 #endif
1187 #if defined(KEY_ZOOMIN) || (defined(HAVE_DECL_KEY_ZOOMIN) && HAVE_DECL_KEY_ZOOMIN)
1188   XLAT(KEY_ZOOMIN),
1189 #endif
1190 #if defined(KEY_ZOOMOUT) || (defined(HAVE_DECL_KEY_ZOOMOUT) && HAVE_DECL_KEY_ZOOMOUT)
1191   XLAT(KEY_ZOOMOUT),
1192 #endif
1193 #if defined(KEY_ZOOMRESET) || (defined(HAVE_DECL_KEY_ZOOMRESET) && HAVE_DECL_KEY_ZOOMRESET)
1194   XLAT(KEY_ZOOMRESET),
1195 #endif
1196 #if defined(KEY_WORDPROCESSOR) || (defined(HAVE_DECL_KEY_WORDPROCESSOR) && HAVE_DECL_KEY_WORDPROCESSOR)
1197   XLAT(KEY_WORDPROCESSOR),
1198 #endif
1199 #if defined(KEY_EDITOR) || (defined(HAVE_DECL_KEY_EDITOR) && HAVE_DECL_KEY_EDITOR)
1200   XLAT(KEY_EDITOR),
1201 #endif
1202 #if defined(KEY_SPREADSHEET) || (defined(HAVE_DECL_KEY_SPREADSHEET) && HAVE_DECL_KEY_SPREADSHEET)
1203   XLAT(KEY_SPREADSHEET),
1204 #endif
1205 #if defined(KEY_GRAPHICSEDITOR) || (defined(HAVE_DECL_KEY_GRAPHICSEDITOR) && HAVE_DECL_KEY_GRAPHICSEDITOR)
1206   XLAT(KEY_GRAPHICSEDITOR),
1207 #endif
1208 #if defined(KEY_PRESENTATION) || (defined(HAVE_DECL_KEY_PRESENTATION) && HAVE_DECL_KEY_PRESENTATION)
1209   XLAT(KEY_PRESENTATION),
1210 #endif
1211 #if defined(KEY_DATABASE) || (defined(HAVE_DECL_KEY_DATABASE) && HAVE_DECL_KEY_DATABASE)
1212   XLAT(KEY_DATABASE),
1213 #endif
1214 #if defined(KEY_NEWS) || (defined(HAVE_DECL_KEY_NEWS) && HAVE_DECL_KEY_NEWS)
1215   XLAT(KEY_NEWS),
1216 #endif
1217 #if defined(KEY_VOICEMAIL) || (defined(HAVE_DECL_KEY_VOICEMAIL) && HAVE_DECL_KEY_VOICEMAIL)
1218   XLAT(KEY_VOICEMAIL),
1219 #endif
1220 #if defined(KEY_ADDRESSBOOK) || (defined(HAVE_DECL_KEY_ADDRESSBOOK) && HAVE_DECL_KEY_ADDRESSBOOK)
1221   XLAT(KEY_ADDRESSBOOK),
1222 #endif
1223 #if defined(KEY_MESSENGER) || (defined(HAVE_DECL_KEY_MESSENGER) && HAVE_DECL_KEY_MESSENGER)
1224   XLAT(KEY_MESSENGER),
1225 #endif
1226 #if defined(KEY_DISPLAYTOGGLE) || (defined(HAVE_DECL_KEY_DISPLAYTOGGLE) && HAVE_DECL_KEY_DISPLAYTOGGLE)
1227   XLAT(KEY_DISPLAYTOGGLE),
1228 #endif
1229 #if defined(KEY_BRIGHTNESS_TOGGLE) || (defined(HAVE_DECL_KEY_BRIGHTNESS_TOGGLE) && HAVE_DECL_KEY_BRIGHTNESS_TOGGLE)
1230   XLAT(KEY_BRIGHTNESS_TOGGLE),
1231 #endif
1232 #if defined(KEY_SPELLCHECK) || (defined(HAVE_DECL_KEY_SPELLCHECK) && HAVE_DECL_KEY_SPELLCHECK)
1233   XLAT(KEY_SPELLCHECK),
1234 #endif
1235 #if defined(KEY_LOGOFF) || (defined(HAVE_DECL_KEY_LOGOFF) && HAVE_DECL_KEY_LOGOFF)
1236   XLAT(KEY_LOGOFF),
1237 #endif
1238 
1239 #if defined(KEY_DOLLAR) || (defined(HAVE_DECL_KEY_DOLLAR) && HAVE_DECL_KEY_DOLLAR)
1240   XLAT(KEY_DOLLAR),
1241 #endif
1242 #if defined(KEY_EURO) || (defined(HAVE_DECL_KEY_EURO) && HAVE_DECL_KEY_EURO)
1243   XLAT(KEY_EURO),
1244 #endif
1245 
1246 #if defined(KEY_FRAMEBACK) || (defined(HAVE_DECL_KEY_FRAMEBACK) && HAVE_DECL_KEY_FRAMEBACK)
1247   XLAT(KEY_FRAMEBACK),
1248 #endif
1249 #if defined(KEY_FRAMEFORWARD) || (defined(HAVE_DECL_KEY_FRAMEFORWARD) && HAVE_DECL_KEY_FRAMEFORWARD)
1250   XLAT(KEY_FRAMEFORWARD),
1251 #endif
1252 #if defined(KEY_CONTEXT_MENU) || (defined(HAVE_DECL_KEY_CONTEXT_MENU) && HAVE_DECL_KEY_CONTEXT_MENU)
1253   XLAT(KEY_CONTEXT_MENU),
1254 #endif
1255 #if defined(KEY_MEDIA_REPEAT) || (defined(HAVE_DECL_KEY_MEDIA_REPEAT) && HAVE_DECL_KEY_MEDIA_REPEAT)
1256   XLAT(KEY_MEDIA_REPEAT),
1257 #endif
1258 #if defined(KEY_10CHANNELSUP) || (defined(HAVE_DECL_KEY_10CHANNELSUP) && HAVE_DECL_KEY_10CHANNELSUP)
1259   XLAT(KEY_10CHANNELSUP),
1260 #endif
1261 #if defined(KEY_10CHANNELSDOWN) || (defined(HAVE_DECL_KEY_10CHANNELSDOWN) && HAVE_DECL_KEY_10CHANNELSDOWN)
1262   XLAT(KEY_10CHANNELSDOWN),
1263 #endif
1264 #if defined(KEY_IMAGES) || (defined(HAVE_DECL_KEY_IMAGES) && HAVE_DECL_KEY_IMAGES)
1265   XLAT(KEY_IMAGES),
1266 #endif
1267 
1268 #if defined(KEY_DEL_EOL) || (defined(HAVE_DECL_KEY_DEL_EOL) && HAVE_DECL_KEY_DEL_EOL)
1269   XLAT(KEY_DEL_EOL),
1270 #endif
1271 #if defined(KEY_DEL_EOS) || (defined(HAVE_DECL_KEY_DEL_EOS) && HAVE_DECL_KEY_DEL_EOS)
1272   XLAT(KEY_DEL_EOS),
1273 #endif
1274 #if defined(KEY_INS_LINE) || (defined(HAVE_DECL_KEY_INS_LINE) && HAVE_DECL_KEY_INS_LINE)
1275   XLAT(KEY_INS_LINE),
1276 #endif
1277 #if defined(KEY_DEL_LINE) || (defined(HAVE_DECL_KEY_DEL_LINE) && HAVE_DECL_KEY_DEL_LINE)
1278   XLAT(KEY_DEL_LINE),
1279 #endif
1280 
1281 #if defined(KEY_FN) || (defined(HAVE_DECL_KEY_FN) && HAVE_DECL_KEY_FN)
1282   XLAT(KEY_FN),
1283 #endif
1284 #if defined(KEY_FN_ESC) || (defined(HAVE_DECL_KEY_FN_ESC) && HAVE_DECL_KEY_FN_ESC)
1285   XLAT(KEY_FN_ESC),
1286 #endif
1287 #if defined(KEY_FN_F1) || (defined(HAVE_DECL_KEY_FN_F1) && HAVE_DECL_KEY_FN_F1)
1288   XLAT(KEY_FN_F1),
1289 #endif
1290 #if defined(KEY_FN_F2) || (defined(HAVE_DECL_KEY_FN_F2) && HAVE_DECL_KEY_FN_F2)
1291   XLAT(KEY_FN_F2),
1292 #endif
1293 #if defined(KEY_FN_F3) || (defined(HAVE_DECL_KEY_FN_F3) && HAVE_DECL_KEY_FN_F3)
1294   XLAT(KEY_FN_F3),
1295 #endif
1296 #if defined(KEY_FN_F4) || (defined(HAVE_DECL_KEY_FN_F4) && HAVE_DECL_KEY_FN_F4)
1297   XLAT(KEY_FN_F4),
1298 #endif
1299 #if defined(KEY_FN_F5) || (defined(HAVE_DECL_KEY_FN_F5) && HAVE_DECL_KEY_FN_F5)
1300   XLAT(KEY_FN_F5),
1301 #endif
1302 #if defined(KEY_FN_F6) || (defined(HAVE_DECL_KEY_FN_F6) && HAVE_DECL_KEY_FN_F6)
1303   XLAT(KEY_FN_F6),
1304 #endif
1305 #if defined(KEY_FN_F7) || (defined(HAVE_DECL_KEY_FN_F7) && HAVE_DECL_KEY_FN_F7)
1306   XLAT(KEY_FN_F7),
1307 #endif
1308 #if defined(KEY_FN_F8) || (defined(HAVE_DECL_KEY_FN_F8) && HAVE_DECL_KEY_FN_F8)
1309   XLAT(KEY_FN_F8),
1310 #endif
1311 #if defined(KEY_FN_F9) || (defined(HAVE_DECL_KEY_FN_F9) && HAVE_DECL_KEY_FN_F9)
1312   XLAT(KEY_FN_F9),
1313 #endif
1314 #if defined(KEY_FN_F10) || (defined(HAVE_DECL_KEY_FN_F10) && HAVE_DECL_KEY_FN_F10)
1315   XLAT(KEY_FN_F10),
1316 #endif
1317 #if defined(KEY_FN_F11) || (defined(HAVE_DECL_KEY_FN_F11) && HAVE_DECL_KEY_FN_F11)
1318   XLAT(KEY_FN_F11),
1319 #endif
1320 #if defined(KEY_FN_F12) || (defined(HAVE_DECL_KEY_FN_F12) && HAVE_DECL_KEY_FN_F12)
1321   XLAT(KEY_FN_F12),
1322 #endif
1323 #if defined(KEY_FN_1) || (defined(HAVE_DECL_KEY_FN_1) && HAVE_DECL_KEY_FN_1)
1324   XLAT(KEY_FN_1),
1325 #endif
1326 #if defined(KEY_FN_2) || (defined(HAVE_DECL_KEY_FN_2) && HAVE_DECL_KEY_FN_2)
1327   XLAT(KEY_FN_2),
1328 #endif
1329 #if defined(KEY_FN_D) || (defined(HAVE_DECL_KEY_FN_D) && HAVE_DECL_KEY_FN_D)
1330   XLAT(KEY_FN_D),
1331 #endif
1332 #if defined(KEY_FN_E) || (defined(HAVE_DECL_KEY_FN_E) && HAVE_DECL_KEY_FN_E)
1333   XLAT(KEY_FN_E),
1334 #endif
1335 #if defined(KEY_FN_F) || (defined(HAVE_DECL_KEY_FN_F) && HAVE_DECL_KEY_FN_F)
1336   XLAT(KEY_FN_F),
1337 #endif
1338 #if defined(KEY_FN_S) || (defined(HAVE_DECL_KEY_FN_S) && HAVE_DECL_KEY_FN_S)
1339   XLAT(KEY_FN_S),
1340 #endif
1341 #if defined(KEY_FN_B) || (defined(HAVE_DECL_KEY_FN_B) && HAVE_DECL_KEY_FN_B)
1342   XLAT(KEY_FN_B),
1343 #endif
1344 
1345 #if defined(KEY_BRL_DOT1) || (defined(HAVE_DECL_KEY_BRL_DOT1) && HAVE_DECL_KEY_BRL_DOT1)
1346   XLAT(KEY_BRL_DOT1),
1347 #endif
1348 #if defined(KEY_BRL_DOT2) || (defined(HAVE_DECL_KEY_BRL_DOT2) && HAVE_DECL_KEY_BRL_DOT2)
1349   XLAT(KEY_BRL_DOT2),
1350 #endif
1351 #if defined(KEY_BRL_DOT3) || (defined(HAVE_DECL_KEY_BRL_DOT3) && HAVE_DECL_KEY_BRL_DOT3)
1352   XLAT(KEY_BRL_DOT3),
1353 #endif
1354 #if defined(KEY_BRL_DOT4) || (defined(HAVE_DECL_KEY_BRL_DOT4) && HAVE_DECL_KEY_BRL_DOT4)
1355   XLAT(KEY_BRL_DOT4),
1356 #endif
1357 #if defined(KEY_BRL_DOT5) || (defined(HAVE_DECL_KEY_BRL_DOT5) && HAVE_DECL_KEY_BRL_DOT5)
1358   XLAT(KEY_BRL_DOT5),
1359 #endif
1360 #if defined(KEY_BRL_DOT6) || (defined(HAVE_DECL_KEY_BRL_DOT6) && HAVE_DECL_KEY_BRL_DOT6)
1361   XLAT(KEY_BRL_DOT6),
1362 #endif
1363 #if defined(KEY_BRL_DOT7) || (defined(HAVE_DECL_KEY_BRL_DOT7) && HAVE_DECL_KEY_BRL_DOT7)
1364   XLAT(KEY_BRL_DOT7),
1365 #endif
1366 #if defined(KEY_BRL_DOT8) || (defined(HAVE_DECL_KEY_BRL_DOT8) && HAVE_DECL_KEY_BRL_DOT8)
1367   XLAT(KEY_BRL_DOT8),
1368 #endif
1369 #if defined(KEY_BRL_DOT9) || (defined(HAVE_DECL_KEY_BRL_DOT9) && HAVE_DECL_KEY_BRL_DOT9)
1370   XLAT(KEY_BRL_DOT9),
1371 #endif
1372 #if defined(KEY_BRL_DOT10) || (defined(HAVE_DECL_KEY_BRL_DOT10) && HAVE_DECL_KEY_BRL_DOT10)
1373   XLAT(KEY_BRL_DOT10),
1374 #endif
1375 
1376 #if defined(KEY_NUMERIC_0) || (defined(HAVE_DECL_KEY_NUMERIC_0) && HAVE_DECL_KEY_NUMERIC_0)
1377   XLAT(KEY_NUMERIC_0),
1378 #endif
1379 #if defined(KEY_NUMERIC_1) || (defined(HAVE_DECL_KEY_NUMERIC_1) && HAVE_DECL_KEY_NUMERIC_1)
1380   XLAT(KEY_NUMERIC_1),
1381 #endif
1382 #if defined(KEY_NUMERIC_2) || (defined(HAVE_DECL_KEY_NUMERIC_2) && HAVE_DECL_KEY_NUMERIC_2)
1383   XLAT(KEY_NUMERIC_2),
1384 #endif
1385 #if defined(KEY_NUMERIC_3) || (defined(HAVE_DECL_KEY_NUMERIC_3) && HAVE_DECL_KEY_NUMERIC_3)
1386   XLAT(KEY_NUMERIC_3),
1387 #endif
1388 #if defined(KEY_NUMERIC_4) || (defined(HAVE_DECL_KEY_NUMERIC_4) && HAVE_DECL_KEY_NUMERIC_4)
1389   XLAT(KEY_NUMERIC_4),
1390 #endif
1391 #if defined(KEY_NUMERIC_5) || (defined(HAVE_DECL_KEY_NUMERIC_5) && HAVE_DECL_KEY_NUMERIC_5)
1392   XLAT(KEY_NUMERIC_5),
1393 #endif
1394 #if defined(KEY_NUMERIC_6) || (defined(HAVE_DECL_KEY_NUMERIC_6) && HAVE_DECL_KEY_NUMERIC_6)
1395   XLAT(KEY_NUMERIC_6),
1396 #endif
1397 #if defined(KEY_NUMERIC_7) || (defined(HAVE_DECL_KEY_NUMERIC_7) && HAVE_DECL_KEY_NUMERIC_7)
1398   XLAT(KEY_NUMERIC_7),
1399 #endif
1400 #if defined(KEY_NUMERIC_8) || (defined(HAVE_DECL_KEY_NUMERIC_8) && HAVE_DECL_KEY_NUMERIC_8)
1401   XLAT(KEY_NUMERIC_8),
1402 #endif
1403 #if defined(KEY_NUMERIC_9) || (defined(HAVE_DECL_KEY_NUMERIC_9) && HAVE_DECL_KEY_NUMERIC_9)
1404   XLAT(KEY_NUMERIC_9),
1405 #endif
1406 #if defined(KEY_NUMERIC_STAR) || (defined(HAVE_DECL_KEY_NUMERIC_STAR) && HAVE_DECL_KEY_NUMERIC_STAR)
1407   XLAT(KEY_NUMERIC_STAR),
1408 #endif
1409 #if defined(KEY_NUMERIC_POUND) || (defined(HAVE_DECL_KEY_NUMERIC_POUND) && HAVE_DECL_KEY_NUMERIC_POUND)
1410   XLAT(KEY_NUMERIC_POUND),
1411 #endif
1412 #if defined(KEY_NUMERIC_A) || (defined(HAVE_DECL_KEY_NUMERIC_A) && HAVE_DECL_KEY_NUMERIC_A)
1413   XLAT(KEY_NUMERIC_A),
1414 #endif
1415 #if defined(KEY_NUMERIC_B) || (defined(HAVE_DECL_KEY_NUMERIC_B) && HAVE_DECL_KEY_NUMERIC_B)
1416   XLAT(KEY_NUMERIC_B),
1417 #endif
1418 #if defined(KEY_NUMERIC_C) || (defined(HAVE_DECL_KEY_NUMERIC_C) && HAVE_DECL_KEY_NUMERIC_C)
1419   XLAT(KEY_NUMERIC_C),
1420 #endif
1421 #if defined(KEY_NUMERIC_D) || (defined(HAVE_DECL_KEY_NUMERIC_D) && HAVE_DECL_KEY_NUMERIC_D)
1422   XLAT(KEY_NUMERIC_D),
1423 #endif
1424 
1425 #if defined(KEY_CAMERA_FOCUS) || (defined(HAVE_DECL_KEY_CAMERA_FOCUS) && HAVE_DECL_KEY_CAMERA_FOCUS)
1426   XLAT(KEY_CAMERA_FOCUS),
1427 #endif
1428 #if defined(KEY_WPS_BUTTON) || (defined(HAVE_DECL_KEY_WPS_BUTTON) && HAVE_DECL_KEY_WPS_BUTTON)
1429   XLAT(KEY_WPS_BUTTON),
1430 #endif
1431 
1432 #if defined(KEY_TOUCHPAD_TOGGLE) || (defined(HAVE_DECL_KEY_TOUCHPAD_TOGGLE) && HAVE_DECL_KEY_TOUCHPAD_TOGGLE)
1433   XLAT(KEY_TOUCHPAD_TOGGLE),
1434 #endif
1435 #if defined(KEY_TOUCHPAD_ON) || (defined(HAVE_DECL_KEY_TOUCHPAD_ON) && HAVE_DECL_KEY_TOUCHPAD_ON)
1436   XLAT(KEY_TOUCHPAD_ON),
1437 #endif
1438 #if defined(KEY_TOUCHPAD_OFF) || (defined(HAVE_DECL_KEY_TOUCHPAD_OFF) && HAVE_DECL_KEY_TOUCHPAD_OFF)
1439   XLAT(KEY_TOUCHPAD_OFF),
1440 #endif
1441 
1442 #if defined(KEY_CAMERA_ZOOMIN) || (defined(HAVE_DECL_KEY_CAMERA_ZOOMIN) && HAVE_DECL_KEY_CAMERA_ZOOMIN)
1443   XLAT(KEY_CAMERA_ZOOMIN),
1444 #endif
1445 #if defined(KEY_CAMERA_ZOOMOUT) || (defined(HAVE_DECL_KEY_CAMERA_ZOOMOUT) && HAVE_DECL_KEY_CAMERA_ZOOMOUT)
1446   XLAT(KEY_CAMERA_ZOOMOUT),
1447 #endif
1448 #if defined(KEY_CAMERA_UP) || (defined(HAVE_DECL_KEY_CAMERA_UP) && HAVE_DECL_KEY_CAMERA_UP)
1449   XLAT(KEY_CAMERA_UP),
1450 #endif
1451 #if defined(KEY_CAMERA_DOWN) || (defined(HAVE_DECL_KEY_CAMERA_DOWN) && HAVE_DECL_KEY_CAMERA_DOWN)
1452   XLAT(KEY_CAMERA_DOWN),
1453 #endif
1454 #if defined(KEY_CAMERA_LEFT) || (defined(HAVE_DECL_KEY_CAMERA_LEFT) && HAVE_DECL_KEY_CAMERA_LEFT)
1455   XLAT(KEY_CAMERA_LEFT),
1456 #endif
1457 #if defined(KEY_CAMERA_RIGHT) || (defined(HAVE_DECL_KEY_CAMERA_RIGHT) && HAVE_DECL_KEY_CAMERA_RIGHT)
1458   XLAT(KEY_CAMERA_RIGHT),
1459 #endif
1460 
1461 #if defined(KEY_ATTENDANT_ON) || (defined(HAVE_DECL_KEY_ATTENDANT_ON) && HAVE_DECL_KEY_ATTENDANT_ON)
1462   XLAT(KEY_ATTENDANT_ON),
1463 #endif
1464 #if defined(KEY_ATTENDANT_OFF) || (defined(HAVE_DECL_KEY_ATTENDANT_OFF) && HAVE_DECL_KEY_ATTENDANT_OFF)
1465   XLAT(KEY_ATTENDANT_OFF),
1466 #endif
1467 #if defined(KEY_ATTENDANT_TOGGLE) || (defined(HAVE_DECL_KEY_ATTENDANT_TOGGLE) && HAVE_DECL_KEY_ATTENDANT_TOGGLE)
1468   XLAT(KEY_ATTENDANT_TOGGLE),
1469 #endif
1470 #if defined(KEY_LIGHTS_TOGGLE) || (defined(HAVE_DECL_KEY_LIGHTS_TOGGLE) && HAVE_DECL_KEY_LIGHTS_TOGGLE)
1471   XLAT(KEY_LIGHTS_TOGGLE),
1472 #endif
1473 
1474 #if defined(BTN_DPAD_UP) || (defined(HAVE_DECL_BTN_DPAD_UP) && HAVE_DECL_BTN_DPAD_UP)
1475   XLAT(BTN_DPAD_UP),
1476 #endif
1477 #if defined(BTN_DPAD_DOWN) || (defined(HAVE_DECL_BTN_DPAD_DOWN) && HAVE_DECL_BTN_DPAD_DOWN)
1478   XLAT(BTN_DPAD_DOWN),
1479 #endif
1480 #if defined(BTN_DPAD_LEFT) || (defined(HAVE_DECL_BTN_DPAD_LEFT) && HAVE_DECL_BTN_DPAD_LEFT)
1481   XLAT(BTN_DPAD_LEFT),
1482 #endif
1483 #if defined(BTN_DPAD_RIGHT) || (defined(HAVE_DECL_BTN_DPAD_RIGHT) && HAVE_DECL_BTN_DPAD_RIGHT)
1484   XLAT(BTN_DPAD_RIGHT),
1485 #endif
1486 
1487 #if defined(KEY_ALS_TOGGLE) || (defined(HAVE_DECL_KEY_ALS_TOGGLE) && HAVE_DECL_KEY_ALS_TOGGLE)
1488   XLAT(KEY_ALS_TOGGLE),
1489 #endif
1490 
1491 #if defined(KEY_BUTTONCONFIG) || (defined(HAVE_DECL_KEY_BUTTONCONFIG) && HAVE_DECL_KEY_BUTTONCONFIG)
1492   XLAT(KEY_BUTTONCONFIG),
1493 #endif
1494 #if defined(KEY_TASKMANAGER) || (defined(HAVE_DECL_KEY_TASKMANAGER) && HAVE_DECL_KEY_TASKMANAGER)
1495   XLAT(KEY_TASKMANAGER),
1496 #endif
1497 #if defined(KEY_JOURNAL) || (defined(HAVE_DECL_KEY_JOURNAL) && HAVE_DECL_KEY_JOURNAL)
1498   XLAT(KEY_JOURNAL),
1499 #endif
1500 #if defined(KEY_CONTROLPANEL) || (defined(HAVE_DECL_KEY_CONTROLPANEL) && HAVE_DECL_KEY_CONTROLPANEL)
1501   XLAT(KEY_CONTROLPANEL),
1502 #endif
1503 #if defined(KEY_APPSELECT) || (defined(HAVE_DECL_KEY_APPSELECT) && HAVE_DECL_KEY_APPSELECT)
1504   XLAT(KEY_APPSELECT),
1505 #endif
1506 #if defined(KEY_SCREENSAVER) || (defined(HAVE_DECL_KEY_SCREENSAVER) && HAVE_DECL_KEY_SCREENSAVER)
1507   XLAT(KEY_SCREENSAVER),
1508 #endif
1509 #if defined(KEY_VOICECOMMAND) || (defined(HAVE_DECL_KEY_VOICECOMMAND) && HAVE_DECL_KEY_VOICECOMMAND)
1510   XLAT(KEY_VOICECOMMAND),
1511 #endif
1512 
1513 #if defined(KEY_BRIGHTNESS_MIN) || (defined(HAVE_DECL_KEY_BRIGHTNESS_MIN) && HAVE_DECL_KEY_BRIGHTNESS_MIN)
1514   XLAT(KEY_BRIGHTNESS_MIN),
1515 #endif
1516 #if defined(KEY_BRIGHTNESS_MAX) || (defined(HAVE_DECL_KEY_BRIGHTNESS_MAX) && HAVE_DECL_KEY_BRIGHTNESS_MAX)
1517   XLAT(KEY_BRIGHTNESS_MAX),
1518 #endif
1519 
1520 #if defined(KEY_KBDINPUTASSIST_PREV) || (defined(HAVE_DECL_KEY_KBDINPUTASSIST_PREV) && HAVE_DECL_KEY_KBDINPUTASSIST_PREV)
1521   XLAT(KEY_KBDINPUTASSIST_PREV),
1522 #endif
1523 #if defined(KEY_KBDINPUTASSIST_NEXT) || (defined(HAVE_DECL_KEY_KBDINPUTASSIST_NEXT) && HAVE_DECL_KEY_KBDINPUTASSIST_NEXT)
1524   XLAT(KEY_KBDINPUTASSIST_NEXT),
1525 #endif
1526 #if defined(KEY_KBDINPUTASSIST_PREVGROUP) || (defined(HAVE_DECL_KEY_KBDINPUTASSIST_PREVGROUP) && HAVE_DECL_KEY_KBDINPUTASSIST_PREVGROUP)
1527   XLAT(KEY_KBDINPUTASSIST_PREVGROUP),
1528 #endif
1529 #if defined(KEY_KBDINPUTASSIST_NEXTGROUP) || (defined(HAVE_DECL_KEY_KBDINPUTASSIST_NEXTGROUP) && HAVE_DECL_KEY_KBDINPUTASSIST_NEXTGROUP)
1530   XLAT(KEY_KBDINPUTASSIST_NEXTGROUP),
1531 #endif
1532 #if defined(KEY_KBDINPUTASSIST_ACCEPT) || (defined(HAVE_DECL_KEY_KBDINPUTASSIST_ACCEPT) && HAVE_DECL_KEY_KBDINPUTASSIST_ACCEPT)
1533   XLAT(KEY_KBDINPUTASSIST_ACCEPT),
1534 #endif
1535 #if defined(KEY_KBDINPUTASSIST_CANCEL) || (defined(HAVE_DECL_KEY_KBDINPUTASSIST_CANCEL) && HAVE_DECL_KEY_KBDINPUTASSIST_CANCEL)
1536   XLAT(KEY_KBDINPUTASSIST_CANCEL),
1537 #endif
1538 
1539 #if defined(BTN_TRIGGER_HAPPY) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY) && HAVE_DECL_BTN_TRIGGER_HAPPY)
1540   XLAT(BTN_TRIGGER_HAPPY),
1541 #endif
1542 #if defined(BTN_TRIGGER_HAPPY1) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY1) && HAVE_DECL_BTN_TRIGGER_HAPPY1)
1543   XLAT(BTN_TRIGGER_HAPPY1),
1544 #endif
1545 #if defined(BTN_TRIGGER_HAPPY2) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY2) && HAVE_DECL_BTN_TRIGGER_HAPPY2)
1546   XLAT(BTN_TRIGGER_HAPPY2),
1547 #endif
1548 #if defined(BTN_TRIGGER_HAPPY3) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY3) && HAVE_DECL_BTN_TRIGGER_HAPPY3)
1549   XLAT(BTN_TRIGGER_HAPPY3),
1550 #endif
1551 #if defined(BTN_TRIGGER_HAPPY4) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY4) && HAVE_DECL_BTN_TRIGGER_HAPPY4)
1552   XLAT(BTN_TRIGGER_HAPPY4),
1553 #endif
1554 #if defined(BTN_TRIGGER_HAPPY5) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY5) && HAVE_DECL_BTN_TRIGGER_HAPPY5)
1555   XLAT(BTN_TRIGGER_HAPPY5),
1556 #endif
1557 #if defined(BTN_TRIGGER_HAPPY6) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY6) && HAVE_DECL_BTN_TRIGGER_HAPPY6)
1558   XLAT(BTN_TRIGGER_HAPPY6),
1559 #endif
1560 #if defined(BTN_TRIGGER_HAPPY7) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY7) && HAVE_DECL_BTN_TRIGGER_HAPPY7)
1561   XLAT(BTN_TRIGGER_HAPPY7),
1562 #endif
1563 #if defined(BTN_TRIGGER_HAPPY8) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY8) && HAVE_DECL_BTN_TRIGGER_HAPPY8)
1564   XLAT(BTN_TRIGGER_HAPPY8),
1565 #endif
1566 #if defined(BTN_TRIGGER_HAPPY9) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY9) && HAVE_DECL_BTN_TRIGGER_HAPPY9)
1567   XLAT(BTN_TRIGGER_HAPPY9),
1568 #endif
1569 #if defined(BTN_TRIGGER_HAPPY10) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY10) && HAVE_DECL_BTN_TRIGGER_HAPPY10)
1570   XLAT(BTN_TRIGGER_HAPPY10),
1571 #endif
1572 #if defined(BTN_TRIGGER_HAPPY11) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY11) && HAVE_DECL_BTN_TRIGGER_HAPPY11)
1573   XLAT(BTN_TRIGGER_HAPPY11),
1574 #endif
1575 #if defined(BTN_TRIGGER_HAPPY12) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY12) && HAVE_DECL_BTN_TRIGGER_HAPPY12)
1576   XLAT(BTN_TRIGGER_HAPPY12),
1577 #endif
1578 #if defined(BTN_TRIGGER_HAPPY13) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY13) && HAVE_DECL_BTN_TRIGGER_HAPPY13)
1579   XLAT(BTN_TRIGGER_HAPPY13),
1580 #endif
1581 #if defined(BTN_TRIGGER_HAPPY14) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY14) && HAVE_DECL_BTN_TRIGGER_HAPPY14)
1582   XLAT(BTN_TRIGGER_HAPPY14),
1583 #endif
1584 #if defined(BTN_TRIGGER_HAPPY15) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY15) && HAVE_DECL_BTN_TRIGGER_HAPPY15)
1585   XLAT(BTN_TRIGGER_HAPPY15),
1586 #endif
1587 #if defined(BTN_TRIGGER_HAPPY16) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY16) && HAVE_DECL_BTN_TRIGGER_HAPPY16)
1588   XLAT(BTN_TRIGGER_HAPPY16),
1589 #endif
1590 #if defined(BTN_TRIGGER_HAPPY17) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY17) && HAVE_DECL_BTN_TRIGGER_HAPPY17)
1591   XLAT(BTN_TRIGGER_HAPPY17),
1592 #endif
1593 #if defined(BTN_TRIGGER_HAPPY18) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY18) && HAVE_DECL_BTN_TRIGGER_HAPPY18)
1594   XLAT(BTN_TRIGGER_HAPPY18),
1595 #endif
1596 #if defined(BTN_TRIGGER_HAPPY19) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY19) && HAVE_DECL_BTN_TRIGGER_HAPPY19)
1597   XLAT(BTN_TRIGGER_HAPPY19),
1598 #endif
1599 #if defined(BTN_TRIGGER_HAPPY20) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY20) && HAVE_DECL_BTN_TRIGGER_HAPPY20)
1600   XLAT(BTN_TRIGGER_HAPPY20),
1601 #endif
1602 #if defined(BTN_TRIGGER_HAPPY21) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY21) && HAVE_DECL_BTN_TRIGGER_HAPPY21)
1603   XLAT(BTN_TRIGGER_HAPPY21),
1604 #endif
1605 #if defined(BTN_TRIGGER_HAPPY22) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY22) && HAVE_DECL_BTN_TRIGGER_HAPPY22)
1606   XLAT(BTN_TRIGGER_HAPPY22),
1607 #endif
1608 #if defined(BTN_TRIGGER_HAPPY23) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY23) && HAVE_DECL_BTN_TRIGGER_HAPPY23)
1609   XLAT(BTN_TRIGGER_HAPPY23),
1610 #endif
1611 #if defined(BTN_TRIGGER_HAPPY24) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY24) && HAVE_DECL_BTN_TRIGGER_HAPPY24)
1612   XLAT(BTN_TRIGGER_HAPPY24),
1613 #endif
1614 #if defined(BTN_TRIGGER_HAPPY25) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY25) && HAVE_DECL_BTN_TRIGGER_HAPPY25)
1615   XLAT(BTN_TRIGGER_HAPPY25),
1616 #endif
1617 #if defined(BTN_TRIGGER_HAPPY26) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY26) && HAVE_DECL_BTN_TRIGGER_HAPPY26)
1618   XLAT(BTN_TRIGGER_HAPPY26),
1619 #endif
1620 #if defined(BTN_TRIGGER_HAPPY27) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY27) && HAVE_DECL_BTN_TRIGGER_HAPPY27)
1621   XLAT(BTN_TRIGGER_HAPPY27),
1622 #endif
1623 #if defined(BTN_TRIGGER_HAPPY28) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY28) && HAVE_DECL_BTN_TRIGGER_HAPPY28)
1624   XLAT(BTN_TRIGGER_HAPPY28),
1625 #endif
1626 #if defined(BTN_TRIGGER_HAPPY29) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY29) && HAVE_DECL_BTN_TRIGGER_HAPPY29)
1627   XLAT(BTN_TRIGGER_HAPPY29),
1628 #endif
1629 #if defined(BTN_TRIGGER_HAPPY30) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY30) && HAVE_DECL_BTN_TRIGGER_HAPPY30)
1630   XLAT(BTN_TRIGGER_HAPPY30),
1631 #endif
1632 #if defined(BTN_TRIGGER_HAPPY31) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY31) && HAVE_DECL_BTN_TRIGGER_HAPPY31)
1633   XLAT(BTN_TRIGGER_HAPPY31),
1634 #endif
1635 #if defined(BTN_TRIGGER_HAPPY32) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY32) && HAVE_DECL_BTN_TRIGGER_HAPPY32)
1636   XLAT(BTN_TRIGGER_HAPPY32),
1637 #endif
1638 #if defined(BTN_TRIGGER_HAPPY33) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY33) && HAVE_DECL_BTN_TRIGGER_HAPPY33)
1639   XLAT(BTN_TRIGGER_HAPPY33),
1640 #endif
1641 #if defined(BTN_TRIGGER_HAPPY34) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY34) && HAVE_DECL_BTN_TRIGGER_HAPPY34)
1642   XLAT(BTN_TRIGGER_HAPPY34),
1643 #endif
1644 #if defined(BTN_TRIGGER_HAPPY35) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY35) && HAVE_DECL_BTN_TRIGGER_HAPPY35)
1645   XLAT(BTN_TRIGGER_HAPPY35),
1646 #endif
1647 #if defined(BTN_TRIGGER_HAPPY36) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY36) && HAVE_DECL_BTN_TRIGGER_HAPPY36)
1648   XLAT(BTN_TRIGGER_HAPPY36),
1649 #endif
1650 #if defined(BTN_TRIGGER_HAPPY37) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY37) && HAVE_DECL_BTN_TRIGGER_HAPPY37)
1651   XLAT(BTN_TRIGGER_HAPPY37),
1652 #endif
1653 #if defined(BTN_TRIGGER_HAPPY38) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY38) && HAVE_DECL_BTN_TRIGGER_HAPPY38)
1654   XLAT(BTN_TRIGGER_HAPPY38),
1655 #endif
1656 #if defined(BTN_TRIGGER_HAPPY39) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY39) && HAVE_DECL_BTN_TRIGGER_HAPPY39)
1657   XLAT(BTN_TRIGGER_HAPPY39),
1658 #endif
1659 #if defined(BTN_TRIGGER_HAPPY40) || (defined(HAVE_DECL_BTN_TRIGGER_HAPPY40) && HAVE_DECL_BTN_TRIGGER_HAPPY40)
1660   XLAT(BTN_TRIGGER_HAPPY40),
1661 #endif
1662  XLAT_END
1663 };
1664 
1665 #endif /* !IN_MPERS */
1666