1 module prova.input.key;
2 
3 ///
4 enum Key
5 {
6   UNKNOWN = 0,
7   A = 4,
8   B = 5,
9   C = 6,
10   D = 7,
11   E = 8,
12   F = 9,
13   G = 10,
14   H = 11,
15   I = 12,
16   J = 13,
17   K = 14,
18   L = 15,
19   M = 16,
20   N = 17,
21   O = 18,
22   P = 19,
23   Q = 20,
24   R = 21,
25   S = 22,
26   T = 23,
27   U = 24,
28   V = 25,
29   W = 26,
30   X = 27,
31   Y = 28,
32   Z = 29,
33   ALPHA_1 = 30,
34   ALPHA_2 = 31,
35   ALPHA_3 = 32,
36   ALPHA_4 = 33,
37   ALPHA_5 = 34,
38   ALPHA_6 = 35,
39   ALPHA_7 = 36,
40   ALPHA_8 = 37,
41   ALPHA_9 = 38,
42   ALPHA_0 = 39,
43   RETURN = 40,
44   ESCAPE = 41,
45   BACKSPACE = 42,
46   TAB = 43,
47   SPACE = 44,
48   MINUS = 45,
49   EQUALS = 46,
50   LEFTBRACKET = 47,
51   RIGHTBRACKET = 48,
52   BACKSLASH = 49,
53   NONUSHASH = 50,
54   SEMICOLON = 51,
55   APOSTROPHE = 52,
56   GRAVE = 53,
57   COMMA = 54,
58   PERIOD = 55,
59   SLASH = 56,
60   CAPSLOCK = 57,
61   F1 = 58,
62   F2 = 59,
63   F3 = 60,
64   F4 = 61,
65   F5 = 62,
66   F6 = 63,
67   F7 = 64,
68   F8 = 65,
69   F9 = 66,
70   F10 = 67,
71   F11 = 68,
72   F12 = 69,
73   PRINTSCREEN = 70,
74   SCROLLLOCK = 71,
75   PAUSE = 72,
76   INSERT = 73,
77   HOME = 74,
78   PAGEUP = 75,
79   DELETE = 76,
80   END = 77,
81   PAGEDOWN = 78,
82   RIGHT = 79,
83   LEFT = 80,
84   DOWN = 81,
85   UP = 82,
86   NUMLOCKCLEAR = 83,
87   KP_DIVIDE = 84,
88   KP_MULTIPLY = 85,
89   KP_MINUS = 86,
90   KP_PLUS = 87,
91   KP_ENTER = 88,
92   KP_1 = 89,
93   KP_2 = 90,
94   KP_3 = 91,
95   KP_4 = 92,
96   KP_5 = 93,
97   KP_6 = 94,
98   KP_7 = 95,
99   KP_8 = 96,
100   KP_9 = 97,
101   KP_0 = 98,
102   KP_PERIOD = 99,
103   NONUSBACKSLASH = 100,
104   APPLICATION = 101,
105   POWER = 102,
106   KP_EQUALS = 103,
107   F13 = 104,
108   F14 = 105,
109   F15 = 106,
110   F16 = 107,
111   F17 = 108,
112   F18 = 109,
113   F19 = 110,
114   F20 = 111,
115   F21 = 112,
116   F22 = 113,
117   F23 = 114,
118   F24 = 115,
119   EXECUTE = 116,
120   HELP = 117,
121   MENU = 118,
122   SELECT = 119,
123   STOP = 120,
124   AGAIN = 121,
125   UNDO = 122,
126   CUT = 123,
127   COPY = 124,
128   PASTE = 125,
129   FIND = 126,
130   MUTE = 127,
131   VOLUMEUP = 128,
132   VOLUMEDOWN = 129,
133   KP_COMMA = 133,
134   KP_EQUALSAS400 = 134,
135   INTERNATIONAL1 = 135,
136   INTERNATIONAL2 = 136,
137   INTERNATIONAL3 = 137,
138   INTERNATIONAL4 = 138,
139   INTERNATIONAL5 = 139,
140   INTERNATIONAL6 = 140,
141   INTERNATIONAL7 = 141,
142   INTERNATIONAL8 = 142,
143   INTERNATIONAL9 = 143,
144   LANG1 = 144,
145   LANG2 = 145,
146   LANG3 = 146,
147   LANG4 = 147,
148   LANG5 = 148,
149   LANG6 = 149,
150   LANG7 = 150,
151   LANG8 = 151,
152   LANG9 = 152,
153   ALTERASE = 153,
154   SYSREQ = 154,
155   CANCEL = 155,
156   CLEAR = 156,
157   PRIOR = 157,
158   RETURN2 = 158,
159   SEPARATOR = 159,
160   OUT = 160,
161   OPER = 161,
162   CLEARAGAIN = 162,
163   CRSEL = 163,
164   EXSEL = 164,
165   KP_00 = 176,
166   KP_000 = 177,
167   THOUSANDSSEPARATOR = 178,
168   DECIMALSEPARATOR = 179,
169   CURRENCYUNIT = 180,
170   CURRENCYSUBUNIT = 181,
171   KP_LEFTPAREN = 182,
172   KP_RIGHTPAREN = 183,
173   KP_LEFTBRACE = 184,
174   KP_RIGHTBRACE = 185,
175   KP_TAB = 186,
176   KP_BACKSPACE = 187,
177   KP_A = 188,
178   KP_B = 189,
179   KP_C = 190,
180   KP_D = 191,
181   KP_E = 192,
182   KP_F = 193,
183   KP_XOR = 194,
184   KP_POWER = 195,
185   KP_PERCENT = 196,
186   KP_LESS = 197,
187   KP_GREATER = 198,
188   KP_AMPERSAND = 199,
189   KP_DBLAMPERSAND = 200,
190   KP_VERTICALBAR = 201,
191   KP_DBLVERTICALBAR = 202,
192   KP_COLON = 203,
193   KP_HASH = 204,
194   KP_SPACE = 205,
195   KP_AT = 206,
196   KP_EXCLAM = 207,
197   KP_MEMSTORE = 208,
198   KP_MEMRECALL = 209,
199   KP_MEMCLEAR = 210,
200   KP_MEMADD = 211,
201   KP_MEMSUBTRACT = 212,
202   KP_MEMMULTIPLY = 213,
203   KP_MEMDIVIDE = 214,
204   KP_PLUSMINUS = 215,
205   KP_CLEAR = 216,
206   KP_CLEARENTRY = 217,
207   KP_BINARY = 218,
208   KP_OCTAL = 219,
209   KP_DECIMAL = 220,
210   KP_HEXADECIMAL = 221,
211   LCTRL = 224,
212   LSHIFT = 225,
213   LALT = 226,
214   LGUI = 227,
215   RCTRL = 228,
216   RSHIFT = 229,
217   RALT = 230,
218   RGUI = 231,
219   MODE = 257,
220   AUDIONEXT = 258,
221   AUDIOPREV = 259,
222   AUDIOSTOP = 260,
223   AUDIOPLAY = 261,
224   AUDIOMUTE = 262,
225   MEDIASELECT = 263,
226   WWW = 264,
227   MAIL = 265,
228   CALCULATOR = 266,
229   COMPUTER = 267,
230   AC_SEARCH = 268,
231   AC_HOME = 269,
232   AC_BACK = 270,
233   AC_FORWARD = 271,
234   AC_STOP = 272,
235   AC_REFRESH = 273,
236   AC_BOOKMARKS = 274,
237   BRIGHTNESSDOWN = 275,
238   BRIGHTNESSUP = 276,
239   DISPLAYSWITCH = 277,
240   KBDILLUMTOGGLE = 278,
241   KBDILLUMDOWN = 279,
242   KBDILLUMUP = 280,
243   EJECT = 281,
244   SLEEP = 282,
245   APP1 = 283,
246   APP2 = 284
247 }