-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkey.go
475 lines (473 loc) · 22.7 KB
/
key.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
package faithtop
type Key int64
const (
Key_Escape Key = Key(0x01000000)
Key_Tab Key = Key(0x01000001)
Key_Backtab Key = Key(0x01000002)
Key_Backspace Key = Key(0x01000003)
Key_Return Key = Key(0x01000004)
Key_Enter Key = Key(0x01000005)
Key_Insert Key = Key(0x01000006)
Key_Delete Key = Key(0x01000007)
Key_Pause Key = Key(0x01000008)
Key_Print Key = Key(0x01000009)
Key_SysReq Key = Key(0x0100000a)
Key_Clear Key = Key(0x0100000b)
Key_Home Key = Key(0x01000010)
Key_End Key = Key(0x01000011)
Key_Left Key = Key(0x01000012)
Key_Up Key = Key(0x01000013)
Key_Right Key = Key(0x01000014)
Key_Down Key = Key(0x01000015)
Key_PageUp Key = Key(0x01000016)
Key_PageDown Key = Key(0x01000017)
Key_Shift Key = Key(0x01000020)
Key_Control Key = Key(0x01000021)
Key_Meta Key = Key(0x01000022)
Key_Alt Key = Key(0x01000023)
Key_CapsLock Key = Key(0x01000024)
Key_NumLock Key = Key(0x01000025)
Key_ScrollLock Key = Key(0x01000026)
Key_F1 Key = Key(0x01000030)
Key_F2 Key = Key(0x01000031)
Key_F3 Key = Key(0x01000032)
Key_F4 Key = Key(0x01000033)
Key_F5 Key = Key(0x01000034)
Key_F6 Key = Key(0x01000035)
Key_F7 Key = Key(0x01000036)
Key_F8 Key = Key(0x01000037)
Key_F9 Key = Key(0x01000038)
Key_F10 Key = Key(0x01000039)
Key_F11 Key = Key(0x0100003a)
Key_F12 Key = Key(0x0100003b)
Key_F13 Key = Key(0x0100003c)
Key_F14 Key = Key(0x0100003d)
Key_F15 Key = Key(0x0100003e)
Key_F16 Key = Key(0x0100003f)
Key_F17 Key = Key(0x01000040)
Key_F18 Key = Key(0x01000041)
Key_F19 Key = Key(0x01000042)
Key_F20 Key = Key(0x01000043)
Key_F21 Key = Key(0x01000044)
Key_F22 Key = Key(0x01000045)
Key_F23 Key = Key(0x01000046)
Key_F24 Key = Key(0x01000047)
Key_F25 Key = Key(0x01000048)
Key_F26 Key = Key(0x01000049)
Key_F27 Key = Key(0x0100004a)
Key_F28 Key = Key(0x0100004b)
Key_F29 Key = Key(0x0100004c)
Key_F30 Key = Key(0x0100004d)
Key_F31 Key = Key(0x0100004e)
Key_F32 Key = Key(0x0100004f)
Key_F33 Key = Key(0x01000050)
Key_F34 Key = Key(0x01000051)
Key_F35 Key = Key(0x01000052)
Key_Super_L Key = Key(0x01000053)
Key_Super_R Key = Key(0x01000054)
Key_Menu Key = Key(0x01000055)
Key_Hyper_L Key = Key(0x01000056)
Key_Hyper_R Key = Key(0x01000057)
Key_Help Key = Key(0x01000058)
Key_Direction_L Key = Key(0x01000059)
Key_Direction_R Key = Key(0x01000060)
Key_Space Key = Key(0x20)
Key_Any Key = Key(Key_Space)
Key_Exclam Key = Key(0x21)
Key_QuoteDbl Key = Key(0x22)
Key_NumberSign Key = Key(0x23)
Key_Dollar Key = Key(0x24)
Key_Percent Key = Key(0x25)
Key_Ampersand Key = Key(0x26)
Key_Apostrophe Key = Key(0x27)
Key_ParenLeft Key = Key(0x28)
Key_ParenRight Key = Key(0x29)
Key_Asterisk Key = Key(0x2a)
Key_Plus Key = Key(0x2b)
Key_Comma Key = Key(0x2c)
Key_Minus Key = Key(0x2d)
Key_Period Key = Key(0x2e)
Key_Slash Key = Key(0x2f)
Key_0 Key = Key(0x30)
Key_1 Key = Key(0x31)
Key_2 Key = Key(0x32)
Key_3 Key = Key(0x33)
Key_4 Key = Key(0x34)
Key_5 Key = Key(0x35)
Key_6 Key = Key(0x36)
Key_7 Key = Key(0x37)
Key_8 Key = Key(0x38)
Key_9 Key = Key(0x39)
Key_Colon Key = Key(0x3a)
Key_Semicolon Key = Key(0x3b)
Key_Less Key = Key(0x3c)
Key_Equal Key = Key(0x3d)
Key_Greater Key = Key(0x3e)
Key_Question Key = Key(0x3f)
Key_At Key = Key(0x40)
Key_A Key = Key(0x41)
Key_B Key = Key(0x42)
Key_C Key = Key(0x43)
Key_D Key = Key(0x44)
Key_E Key = Key(0x45)
Key_F Key = Key(0x46)
Key_G Key = Key(0x47)
Key_H Key = Key(0x48)
Key_I Key = Key(0x49)
Key_J Key = Key(0x4a)
Key_K Key = Key(0x4b)
Key_L Key = Key(0x4c)
Key_M Key = Key(0x4d)
Key_N Key = Key(0x4e)
Key_O Key = Key(0x4f)
Key_P Key = Key(0x50)
Key_Q Key = Key(0x51)
Key_R Key = Key(0x52)
Key_S Key = Key(0x53)
Key_T Key = Key(0x54)
Key_U Key = Key(0x55)
Key_V Key = Key(0x56)
Key_W Key = Key(0x57)
Key_X Key = Key(0x58)
Key_Y Key = Key(0x59)
Key_Z Key = Key(0x5a)
Key_BracketLeft Key = Key(0x5b)
Key_Backslash Key = Key(0x5c)
Key_BracketRight Key = Key(0x5d)
Key_AsciiCircum Key = Key(0x5e)
Key_Underscore Key = Key(0x5f)
Key_QuoteLeft Key = Key(0x60)
Key_BraceLeft Key = Key(0x7b)
Key_Bar Key = Key(0x7c)
Key_BraceRight Key = Key(0x7d)
Key_AsciiTilde Key = Key(0x7e)
Key_nobreakspace Key = Key(0x0a0)
Key_exclamdown Key = Key(0x0a1)
Key_cent Key = Key(0x0a2)
Key_sterling Key = Key(0x0a3)
Key_currency Key = Key(0x0a4)
Key_yen Key = Key(0x0a5)
Key_brokenbar Key = Key(0x0a6)
Key_section Key = Key(0x0a7)
Key_diaeresis Key = Key(0x0a8)
Key_copyright Key = Key(0x0a9)
Key_ordfeminine Key = Key(0x0aa)
Key_guillemotleft Key = Key(0x0ab)
Key_notsign Key = Key(0x0ac)
Key_hyphen Key = Key(0x0ad)
Key_registered Key = Key(0x0ae)
Key_macron Key = Key(0x0af)
Key_degree Key = Key(0x0b0)
Key_plusminus Key = Key(0x0b1)
Key_twosuperior Key = Key(0x0b2)
Key_threesuperior Key = Key(0x0b3)
Key_acute Key = Key(0x0b4)
Key_mu Key = Key(0x0b5)
Key_paragraph Key = Key(0x0b6)
Key_periodcentered Key = Key(0x0b7)
Key_cedilla Key = Key(0x0b8)
Key_onesuperior Key = Key(0x0b9)
Key_masculine Key = Key(0x0ba)
Key_guillemotright Key = Key(0x0bb)
Key_onequarter Key = Key(0x0bc)
Key_onehalf Key = Key(0x0bd)
Key_threequarters Key = Key(0x0be)
Key_questiondown Key = Key(0x0bf)
Key_Agrave Key = Key(0x0c0)
Key_Aacute Key = Key(0x0c1)
Key_Acircumflex Key = Key(0x0c2)
Key_Atilde Key = Key(0x0c3)
Key_Adiaeresis Key = Key(0x0c4)
Key_Aring Key = Key(0x0c5)
Key_AE Key = Key(0x0c6)
Key_Ccedilla Key = Key(0x0c7)
Key_Egrave Key = Key(0x0c8)
Key_Eacute Key = Key(0x0c9)
Key_Ecircumflex Key = Key(0x0ca)
Key_Ediaeresis Key = Key(0x0cb)
Key_Igrave Key = Key(0x0cc)
Key_Iacute Key = Key(0x0cd)
Key_Icircumflex Key = Key(0x0ce)
Key_Idiaeresis Key = Key(0x0cf)
Key_ETH Key = Key(0x0d0)
Key_Ntilde Key = Key(0x0d1)
Key_Ograve Key = Key(0x0d2)
Key_Oacute Key = Key(0x0d3)
Key_Ocircumflex Key = Key(0x0d4)
Key_Otilde Key = Key(0x0d5)
Key_Odiaeresis Key = Key(0x0d6)
Key_multiply Key = Key(0x0d7)
Key_Ooblique Key = Key(0x0d8)
Key_Ugrave Key = Key(0x0d9)
Key_Uacute Key = Key(0x0da)
Key_Ucircumflex Key = Key(0x0db)
Key_Udiaeresis Key = Key(0x0dc)
Key_Yacute Key = Key(0x0dd)
Key_THORN Key = Key(0x0de)
Key_ssharp Key = Key(0x0df)
Key_division Key = Key(0x0f7)
Key_ydiaeresis Key = Key(0x0ff)
Key_AltGr Key = Key(0x01001103)
Key_Multi_key Key = Key(0x01001120)
Key_Codeinput Key = Key(0x01001137)
Key_SingleCandidate Key = Key(0x0100113c)
Key_MultipleCandidate Key = Key(0x0100113d)
Key_PreviousCandidate Key = Key(0x0100113e)
Key_Mode_switch Key = Key(0x0100117e)
Key_Kanji Key = Key(0x01001121)
Key_Muhenkan Key = Key(0x01001122)
Key_Henkan Key = Key(0x01001123)
Key_Romaji Key = Key(0x01001124)
Key_Hiragana Key = Key(0x01001125)
Key_Katakana Key = Key(0x01001126)
Key_Hiragana_Katakana Key = Key(0x01001127)
Key_Zenkaku Key = Key(0x01001128)
Key_Hankaku Key = Key(0x01001129)
Key_Zenkaku_Hankaku Key = Key(0x0100112a)
Key_Touroku Key = Key(0x0100112b)
Key_Massyo Key = Key(0x0100112c)
Key_Kana_Lock Key = Key(0x0100112d)
Key_Kana_Shift Key = Key(0x0100112e)
Key_Eisu_Shift Key = Key(0x0100112f)
Key_Eisu_toggle Key = Key(0x01001130)
Key_Hangul Key = Key(0x01001131)
Key_Hangul_Start Key = Key(0x01001132)
Key_Hangul_End Key = Key(0x01001133)
Key_Hangul_Hanja Key = Key(0x01001134)
Key_Hangul_Jamo Key = Key(0x01001135)
Key_Hangul_Romaja Key = Key(0x01001136)
Key_Hangul_Jeonja Key = Key(0x01001138)
Key_Hangul_Banja Key = Key(0x01001139)
Key_Hangul_PreHanja Key = Key(0x0100113a)
Key_Hangul_PostHanja Key = Key(0x0100113b)
Key_Hangul_Special Key = Key(0x0100113f)
Key_Dead_Grave Key = Key(0x01001250)
Key_Dead_Acute Key = Key(0x01001251)
Key_Dead_Circumflex Key = Key(0x01001252)
Key_Dead_Tilde Key = Key(0x01001253)
Key_Dead_Macron Key = Key(0x01001254)
Key_Dead_Breve Key = Key(0x01001255)
Key_Dead_Abovedot Key = Key(0x01001256)
Key_Dead_Diaeresis Key = Key(0x01001257)
Key_Dead_Abovering Key = Key(0x01001258)
Key_Dead_Doubleacute Key = Key(0x01001259)
Key_Dead_Caron Key = Key(0x0100125a)
Key_Dead_Cedilla Key = Key(0x0100125b)
Key_Dead_Ogonek Key = Key(0x0100125c)
Key_Dead_Iota Key = Key(0x0100125d)
Key_Dead_Voiced_Sound Key = Key(0x0100125e)
Key_Dead_Semivoiced_Sound Key = Key(0x0100125f)
Key_Dead_Belowdot Key = Key(0x01001260)
Key_Dead_Hook Key = Key(0x01001261)
Key_Dead_Horn Key = Key(0x01001262)
Key_Dead_Stroke Key = Key(0x01001263)
Key_Dead_Abovecomma Key = Key(0x01001264)
Key_Dead_Abovereversedcomma Key = Key(0x01001265)
Key_Dead_Doublegrave Key = Key(0x01001266)
Key_Dead_Belowring Key = Key(0x01001267)
Key_Dead_Belowmacron Key = Key(0x01001268)
Key_Dead_Belowcircumflex Key = Key(0x01001269)
Key_Dead_Belowtilde Key = Key(0x0100126a)
Key_Dead_Belowbreve Key = Key(0x0100126b)
Key_Dead_Belowdiaeresis Key = Key(0x0100126c)
Key_Dead_Invertedbreve Key = Key(0x0100126d)
Key_Dead_Belowcomma Key = Key(0x0100126e)
Key_Dead_Currency Key = Key(0x0100126f)
Key_Dead_a Key = Key(0x01001280)
Key_Dead_A Key = Key(0x01001281)
Key_Dead_e Key = Key(0x01001282)
Key_Dead_E Key = Key(0x01001283)
Key_Dead_i Key = Key(0x01001284)
Key_Dead_I Key = Key(0x01001285)
Key_Dead_o Key = Key(0x01001286)
Key_Dead_O Key = Key(0x01001287)
Key_Dead_u Key = Key(0x01001288)
Key_Dead_U Key = Key(0x01001289)
Key_Dead_Small_Schwa Key = Key(0x0100128a)
Key_Dead_Capital_Schwa Key = Key(0x0100128b)
Key_Dead_Greek Key = Key(0x0100128c)
Key_Dead_Lowline Key = Key(0x01001290)
Key_Dead_Aboveverticalline Key = Key(0x01001291)
Key_Dead_Belowverticalline Key = Key(0x01001292)
Key_Dead_Longsolidusoverlay Key = Key(0x01001293)
Key_Back Key = Key(0x01000061)
Key_Forward Key = Key(0x01000062)
Key_Stop Key = Key(0x01000063)
Key_Refresh Key = Key(0x01000064)
Key_VolumeDown Key = Key(0x01000070)
Key_VolumeMute Key = Key(0x01000071)
Key_VolumeUp Key = Key(0x01000072)
Key_BassBoost Key = Key(0x01000073)
Key_BassUp Key = Key(0x01000074)
Key_BassDown Key = Key(0x01000075)
Key_TrebleUp Key = Key(0x01000076)
Key_TrebleDown Key = Key(0x01000077)
Key_MediaPlay Key = Key(0x01000080)
Key_MediaStop Key = Key(0x01000081)
Key_MediaPrevious Key = Key(0x01000082)
Key_MediaNext Key = Key(0x01000083)
Key_MediaRecord Key = Key(0x01000084)
Key_MediaPause Key = Key(0x1000085)
Key_MediaTogglePlayPause Key = Key(0x1000086)
Key_HomePage Key = Key(0x01000090)
Key_Favorites Key = Key(0x01000091)
Key_Search Key = Key(0x01000092)
Key_Standby Key = Key(0x01000093)
Key_OpenUrl Key = Key(0x01000094)
Key_LaunchMail Key = Key(0x010000a0)
Key_LaunchMedia Key = Key(0x010000a1)
Key_Launch0 Key = Key(0x010000a2)
Key_Launch1 Key = Key(0x010000a3)
Key_Launch2 Key = Key(0x010000a4)
Key_Launch3 Key = Key(0x010000a5)
Key_Launch4 Key = Key(0x010000a6)
Key_Launch5 Key = Key(0x010000a7)
Key_Launch6 Key = Key(0x010000a8)
Key_Launch7 Key = Key(0x010000a9)
Key_Launch8 Key = Key(0x010000aa)
Key_Launch9 Key = Key(0x010000ab)
Key_LaunchA Key = Key(0x010000ac)
Key_LaunchB Key = Key(0x010000ad)
Key_LaunchC Key = Key(0x010000ae)
Key_LaunchD Key = Key(0x010000af)
Key_LaunchE Key = Key(0x010000b0)
Key_LaunchF Key = Key(0x010000b1)
Key_MonBrightnessUp Key = Key(0x010000b2)
Key_MonBrightnessDown Key = Key(0x010000b3)
Key_KeyboardLightOnOff Key = Key(0x010000b4)
Key_KeyboardBrightnessUp Key = Key(0x010000b5)
Key_KeyboardBrightnessDown Key = Key(0x010000b6)
Key_PowerOff Key = Key(0x010000b7)
Key_WakeUp Key = Key(0x010000b8)
Key_Eject Key = Key(0x010000b9)
Key_ScreenSaver Key = Key(0x010000ba)
Key_WWW Key = Key(0x010000bb)
Key_Memo Key = Key(0x010000bc)
Key_LightBulb Key = Key(0x010000bd)
Key_Shop Key = Key(0x010000be)
Key_History Key = Key(0x010000bf)
Key_AddFavorite Key = Key(0x010000c0)
Key_HotLinks Key = Key(0x010000c1)
Key_BrightnessAdjust Key = Key(0x010000c2)
Key_Finance Key = Key(0x010000c3)
Key_Community Key = Key(0x010000c4)
Key_AudioRewind Key = Key(0x010000c5)
Key_BackForward Key = Key(0x010000c6)
Key_ApplicationLeft Key = Key(0x010000c7)
Key_ApplicationRight Key = Key(0x010000c8)
Key_Book Key = Key(0x010000c9)
Key_CD Key = Key(0x010000ca)
Key_Calculator Key = Key(0x010000cb)
Key_ToDoList Key = Key(0x010000cc)
Key_ClearGrab Key = Key(0x010000cd)
Key_Close Key = Key(0x010000ce)
Key_Copy Key = Key(0x010000cf)
Key_Cut Key = Key(0x010000d0)
Key_Display Key = Key(0x010000d1)
Key_DOS Key = Key(0x010000d2)
Key_Documents Key = Key(0x010000d3)
Key_Excel Key = Key(0x010000d4)
Key_Explorer Key = Key(0x010000d5)
Key_Game Key = Key(0x010000d6)
Key_Go Key = Key(0x010000d7)
Key_iTouch Key = Key(0x010000d8)
Key_LogOff Key = Key(0x010000d9)
Key_Market Key = Key(0x010000da)
Key_Meeting Key = Key(0x010000db)
Key_MenuKB Key = Key(0x010000dc)
Key_MenuPB Key = Key(0x010000dd)
Key_MySites Key = Key(0x010000de)
Key_News Key = Key(0x010000df)
Key_OfficeHome Key = Key(0x010000e0)
Key_Option Key = Key(0x010000e1)
Key_Paste Key = Key(0x010000e2)
Key_Phone Key = Key(0x010000e3)
Key_Calendar Key = Key(0x010000e4)
Key_Reply Key = Key(0x010000e5)
Key_Reload Key = Key(0x010000e6)
Key_RotateWindows Key = Key(0x010000e7)
Key_RotationPB Key = Key(0x010000e8)
Key_RotationKB Key = Key(0x010000e9)
Key_Save Key = Key(0x010000ea)
Key_Send Key = Key(0x010000eb)
Key_Spell Key = Key(0x010000ec)
Key_SplitScreen Key = Key(0x010000ed)
Key_Support Key = Key(0x010000ee)
Key_TaskPane Key = Key(0x010000ef)
Key_Terminal Key = Key(0x010000f0)
Key_Tools Key = Key(0x010000f1)
Key_Travel Key = Key(0x010000f2)
Key_Video Key = Key(0x010000f3)
Key_Word Key = Key(0x010000f4)
Key_Xfer Key = Key(0x010000f5)
Key_ZoomIn Key = Key(0x010000f6)
Key_ZoomOut Key = Key(0x010000f7)
Key_Away Key = Key(0x010000f8)
Key_Messenger Key = Key(0x010000f9)
Key_WebCam Key = Key(0x010000fa)
Key_MailForward Key = Key(0x010000fb)
Key_Pictures Key = Key(0x010000fc)
Key_Music Key = Key(0x010000fd)
Key_Battery Key = Key(0x010000fe)
Key_Bluetooth Key = Key(0x010000ff)
Key_WLAN Key = Key(0x01000100)
Key_UWB Key = Key(0x01000101)
Key_AudioForward Key = Key(0x01000102)
Key_AudioRepeat Key = Key(0x01000103)
Key_AudioRandomPlay Key = Key(0x01000104)
Key_Subtitle Key = Key(0x01000105)
Key_AudioCycleTrack Key = Key(0x01000106)
Key_Time Key = Key(0x01000107)
Key_Hibernate Key = Key(0x01000108)
Key_View Key = Key(0x01000109)
Key_TopMenu Key = Key(0x0100010a)
Key_PowerDown Key = Key(0x0100010b)
Key_Suspend Key = Key(0x0100010c)
Key_ContrastAdjust Key = Key(0x0100010d)
Key_LaunchG Key = Key(0x0100010e)
Key_LaunchH Key = Key(0x0100010f)
Key_TouchpadToggle Key = Key(0x01000110)
Key_TouchpadOn Key = Key(0x01000111)
Key_TouchpadOff Key = Key(0x01000112)
Key_MicMute Key = Key(0x01000113)
Key_Red Key = Key(0x01000114)
Key_Green Key = Key(0x01000115)
Key_Yellow Key = Key(0x01000116)
Key_Blue Key = Key(0x01000117)
Key_ChannelUp Key = Key(0x01000118)
Key_ChannelDown Key = Key(0x01000119)
Key_Guide Key = Key(0x0100011a)
Key_Info Key = Key(0x0100011b)
Key_Settings Key = Key(0x0100011c)
Key_MicVolumeUp Key = Key(0x0100011d)
Key_MicVolumeDown Key = Key(0x0100011e)
Key_New Key = Key(0x01000120)
Key_Open Key = Key(0x01000121)
Key_Find Key = Key(0x01000122)
Key_Undo Key = Key(0x01000123)
Key_Redo Key = Key(0x01000124)
Key_MediaLast Key = Key(0x0100ffff)
Key_Select Key = Key(0x01010000)
Key_Yes Key = Key(0x01010001)
Key_No Key = Key(0x01010002)
Key_Cancel Key = Key(0x01020001)
Key_Printer Key = Key(0x01020002)
Key_Execute Key = Key(0x01020003)
Key_Sleep Key = Key(0x01020004)
Key_Play Key = Key(0x01020005)
Key_Zoom Key = Key(0x01020006)
Key_Exit Key = Key(0x0102000a)
Key_Context1 Key = Key(0x01100000)
Key_Context2 Key = Key(0x01100001)
Key_Context3 Key = Key(0x01100002)
Key_Context4 Key = Key(0x01100003)
Key_Call Key = Key(0x01100004)
Key_Hangup Key = Key(0x01100005)
Key_Flip Key = Key(0x01100006)
Key_ToggleCallHangup Key = Key(0x01100007)
Key_VoiceDial Key = Key(0x01100008)
Key_LastNumberRedial Key = Key(0x01100009)
Key_Camera Key = Key(0x01100020)
Key_CameraFocus Key = Key(0x01100021)
Key_unknown Key = Key(0x01ffffff)
)