L4Re Operating System Framework
Interface and Usage Documentation
Loading...
Searching...
No Matches
event_enums.h
1#pragma once
2
3/*
4 *
5 *
6 * Constants for L4Re events ...
7 */
8
9
10enum L4Re_events_key
11{
12 L4RE_KEY_RESERVED = 0,
13 L4RE_KEY_ESC = 1,
14 L4RE_KEY_1 = 2,
15 L4RE_KEY_2 = 3,
16 L4RE_KEY_3 = 4,
17 L4RE_KEY_4 = 5,
18 L4RE_KEY_5 = 6,
19 L4RE_KEY_6 = 7,
20 L4RE_KEY_7 = 8,
21 L4RE_KEY_8 = 9,
22 L4RE_KEY_9 = 10,
23 L4RE_KEY_0 = 11,
24 L4RE_KEY_MINUS = 12,
25 L4RE_KEY_EQUAL = 13,
26 L4RE_KEY_BACKSPACE = 14,
27 L4RE_KEY_TAB = 15,
28 L4RE_KEY_Q = 16,
29 L4RE_KEY_W = 17,
30 L4RE_KEY_E = 18,
31 L4RE_KEY_R = 19,
32 L4RE_KEY_T = 20,
33 L4RE_KEY_Y = 21,
34 L4RE_KEY_U = 22,
35 L4RE_KEY_I = 23,
36 L4RE_KEY_O = 24,
37 L4RE_KEY_P = 25,
38 L4RE_KEY_LEFTBRACE = 26,
39 L4RE_KEY_RIGHTBRACE = 27,
40 L4RE_KEY_ENTER = 28,
41 L4RE_KEY_LEFTCTRL = 29,
42 L4RE_KEY_A = 30,
43 L4RE_KEY_S = 31,
44 L4RE_KEY_D = 32,
45 L4RE_KEY_F = 33,
46 L4RE_KEY_G = 34,
47 L4RE_KEY_H = 35,
48 L4RE_KEY_J = 36,
49 L4RE_KEY_K = 37,
50 L4RE_KEY_L = 38,
51 L4RE_KEY_SEMICOLON = 39,
52 L4RE_KEY_APOSTROPHE = 40,
53 L4RE_KEY_GRAVE = 41,
54 L4RE_KEY_LEFTSHIFT = 42,
55 L4RE_KEY_BACKSLASH = 43,
56 L4RE_KEY_Z = 44,
57 L4RE_KEY_X = 45,
58 L4RE_KEY_C = 46,
59 L4RE_KEY_V = 47,
60 L4RE_KEY_B = 48,
61 L4RE_KEY_N = 49,
62 L4RE_KEY_M = 50,
63 L4RE_KEY_COMMA = 51,
64 L4RE_KEY_DOT = 52,
65 L4RE_KEY_SLASH = 53,
66 L4RE_KEY_RIGHTSHIFT = 54,
67 L4RE_KEY_KPASTERISK = 55,
68 L4RE_KEY_LEFTALT = 56,
69 L4RE_KEY_SPACE = 57,
70 L4RE_KEY_CAPSLOCK = 58,
71 L4RE_KEY_F1 = 59,
72 L4RE_KEY_F2 = 60,
73 L4RE_KEY_F3 = 61,
74 L4RE_KEY_F4 = 62,
75 L4RE_KEY_F5 = 63,
76 L4RE_KEY_F6 = 64,
77 L4RE_KEY_F7 = 65,
78 L4RE_KEY_F8 = 66,
79 L4RE_KEY_F9 = 67,
80 L4RE_KEY_F10 = 68,
81 L4RE_KEY_NUMLOCK = 69,
82 L4RE_KEY_SCROLLLOCK = 70,
83 L4RE_KEY_KP7 = 71,
84 L4RE_KEY_KP8 = 72,
85 L4RE_KEY_KP9 = 73,
86 L4RE_KEY_KPMINUS = 74,
87 L4RE_KEY_KP4 = 75,
88 L4RE_KEY_KP5 = 76,
89 L4RE_KEY_KP6 = 77,
90 L4RE_KEY_KPPLUS = 78,
91 L4RE_KEY_KP1 = 79,
92 L4RE_KEY_KP2 = 80,
93 L4RE_KEY_KP3 = 81,
94 L4RE_KEY_KP0 = 82,
95 L4RE_KEY_KPDOT = 83,
96 L4RE_KEY_ZENKAKUHANKAKU = 85,
97 L4RE_KEY_102ND = 86,
98 L4RE_KEY_F11 = 87,
99 L4RE_KEY_F12 = 88,
100 L4RE_KEY_RO = 89,
101 L4RE_KEY_KATAKANA = 90,
102 L4RE_KEY_HIRAGANA = 91,
103 L4RE_KEY_HENKAN = 92,
104 L4RE_KEY_KATAKANAHIRAGANA = 93,
105 L4RE_KEY_MUHENKAN = 94,
106 L4RE_KEY_KPJPCOMMA = 95,
107 L4RE_KEY_KPENTER = 96,
108 L4RE_KEY_RIGHTCTRL = 97,
109 L4RE_KEY_KPSLASH = 98,
110 L4RE_KEY_SYSRQ = 99,
111 L4RE_KEY_RIGHTALT = 100,
112 L4RE_KEY_LINEFEED = 101,
113 L4RE_KEY_HOME = 102,
114 L4RE_KEY_UP = 103,
115 L4RE_KEY_PAGEUP = 104,
116 L4RE_KEY_LEFT = 105,
117 L4RE_KEY_RIGHT = 106,
118 L4RE_KEY_END = 107,
119 L4RE_KEY_DOWN = 108,
120 L4RE_KEY_PAGEDOWN = 109,
121 L4RE_KEY_INSERT = 110,
122 L4RE_KEY_DELETE = 111,
123 L4RE_KEY_MACRO = 112,
124 L4RE_KEY_MUTE = 113,
125 L4RE_KEY_VOLUMEDOWN = 114,
126 L4RE_KEY_VOLUMEUP = 115,
127 L4RE_KEY_POWER = 116,
128 L4RE_KEY_KPEQUAL = 117,
129 L4RE_KEY_KPPLUSMINUS = 118,
130 L4RE_KEY_PAUSE = 119,
131 L4RE_KEY_KPCOMMA = 121,
132 L4RE_KEY_HANGEUL = 122,
133 L4RE_KEY_HANGUEL = L4RE_KEY_HANGEUL,
134 L4RE_KEY_HANJA = 123,
135 L4RE_KEY_YEN = 124,
136 L4RE_KEY_LEFTMETA = 125,
137 L4RE_KEY_RIGHTMETA = 126,
138 L4RE_KEY_COMPOSE = 127,
139 L4RE_KEY_STOP = 128,
140 L4RE_KEY_AGAIN = 129,
141 L4RE_KEY_PROPS = 130,
142 L4RE_KEY_UNDO = 131,
143 L4RE_KEY_FRONT = 132,
144 L4RE_KEY_COPY = 133,
145 L4RE_KEY_OPEN = 134,
146 L4RE_KEY_PASTE = 135,
147 L4RE_KEY_FIND = 136,
148 L4RE_KEY_CUT = 137,
149 L4RE_KEY_HELP = 138,
150 L4RE_KEY_MENU = 139,
151 L4RE_KEY_CALC = 140,
152 L4RE_KEY_SETUP = 141,
153 L4RE_KEY_SLEEP = 142,
154 L4RE_KEY_WAKEUP = 143,
155 L4RE_KEY_FILE = 144,
156 L4RE_KEY_SENDFILE = 145,
157 L4RE_KEY_DELETEFILE = 146,
158 L4RE_KEY_XFER = 147,
159 L4RE_KEY_PROG1 = 148,
160 L4RE_KEY_PROG2 = 149,
161 L4RE_KEY_WWW = 150,
162 L4RE_KEY_MSDOS = 151,
163 L4RE_KEY_COFFEE = 152,
164 L4RE_KEY_DIRECTION = 153,
165 L4RE_KEY_CYCLEWINDOWS = 154,
166 L4RE_KEY_MAIL = 155,
167 L4RE_KEY_BOOKMARKS = 156,
168 L4RE_KEY_COMPUTER = 157,
169 L4RE_KEY_BACK = 158,
170 L4RE_KEY_FORWARD = 159,
171 L4RE_KEY_CLOSECD = 160,
172 L4RE_KEY_EJECTCD = 161,
173 L4RE_KEY_EJECTCLOSECD = 162,
174 L4RE_KEY_NEXTSONG = 163,
175 L4RE_KEY_PLAYPAUSE = 164,
176 L4RE_KEY_PREVIOUSSONG = 165,
177 L4RE_KEY_STOPCD = 166,
178 L4RE_KEY_RECORD = 167,
179 L4RE_KEY_REWIND = 168,
180 L4RE_KEY_PHONE = 169,
181 L4RE_KEY_ISO = 170,
182 L4RE_KEY_CONFIG = 171,
183 L4RE_KEY_HOMEPAGE = 172,
184 L4RE_KEY_REFRESH = 173,
185 L4RE_KEY_EXIT = 174,
186 L4RE_KEY_MOVE = 175,
187 L4RE_KEY_EDIT = 176,
188 L4RE_KEY_SCROLLUP = 177,
189 L4RE_KEY_SCROLLDOWN = 178,
190 L4RE_KEY_KPLEFTPAREN = 179,
191 L4RE_KEY_KPRIGHTPAREN = 180,
192 L4RE_KEY_NEW = 181,
193 L4RE_KEY_REDO = 182,
194 L4RE_KEY_F13 = 183,
195 L4RE_KEY_F14 = 184,
196 L4RE_KEY_F15 = 185,
197 L4RE_KEY_F16 = 186,
198 L4RE_KEY_F17 = 187,
199 L4RE_KEY_F18 = 188,
200 L4RE_KEY_F19 = 189,
201 L4RE_KEY_F20 = 190,
202 L4RE_KEY_F21 = 191,
203 L4RE_KEY_F22 = 192,
204 L4RE_KEY_F23 = 193,
205 L4RE_KEY_F24 = 194,
206 L4RE_KEY_PLAYCD = 200,
207 L4RE_KEY_PAUSECD = 201,
208 L4RE_KEY_PROG3 = 202,
209 L4RE_KEY_PROG4 = 203,
210 L4RE_KEY_SUSPEND = 205,
211 L4RE_KEY_CLOSE = 206,
212 L4RE_KEY_PLAY = 207,
213 L4RE_KEY_FASTFORWARD = 208,
214 L4RE_KEY_BASSBOOST = 209,
215 L4RE_KEY_PRINT = 210,
216 L4RE_KEY_HP = 211,
217 L4RE_KEY_CAMERA = 212,
218 L4RE_KEY_SOUND = 213,
219 L4RE_KEY_QUESTION = 214,
220 L4RE_KEY_EMAIL = 215,
221 L4RE_KEY_CHAT = 216,
222 L4RE_KEY_SEARCH = 217,
223 L4RE_KEY_CONNECT = 218,
224 L4RE_KEY_FINANCE = 219,
225 L4RE_KEY_SPORT = 220,
226 L4RE_KEY_SHOP = 221,
227 L4RE_KEY_ALTERASE = 222,
228 L4RE_KEY_CANCEL = 223,
229 L4RE_KEY_BRIGHTNESSDOWN = 224,
230 L4RE_KEY_BRIGHTNESSUP = 225,
231 L4RE_KEY_MEDIA = 226,
232 L4RE_KEY_SWITCHVIDEOMODE = 227,
233 L4RE_KEY_KBDILLUMTOGGLE = 228,
234 L4RE_KEY_KBDILLUMDOWN = 229,
235 L4RE_KEY_KBDILLUMUP = 230,
236 L4RE_KEY_SEND = 231,
237 L4RE_KEY_REPLY = 232,
238 L4RE_KEY_FORWARDMAIL = 233,
239 L4RE_KEY_SAVE = 234,
240 L4RE_KEY_DOCUMENTS = 235,
241 L4RE_KEY_UNKNOWN = 240,
242 L4RE_KEY_OK = 0x160,
243 L4RE_KEY_SELECT = 0x161,
244 L4RE_KEY_GOTO = 0x162,
245 L4RE_KEY_CLEAR = 0x163,
246 L4RE_KEY_POWER2 = 0x164,
247 L4RE_KEY_OPTION = 0x165,
248 L4RE_KEY_INFO = 0x166,
249 L4RE_KEY_TIME = 0x167,
250 L4RE_KEY_VENDOR = 0x168,
251 L4RE_KEY_ARCHIVE = 0x169,
252 L4RE_KEY_PROGRAM = 0x16a,
253 L4RE_KEY_CHANNEL = 0x16b,
254 L4RE_KEY_FAVORITES = 0x16c,
255 L4RE_KEY_EPG = 0x16d,
256 L4RE_KEY_PVR = 0x16e,
257 L4RE_KEY_MHP = 0x16f,
258 L4RE_KEY_LANGUAGE = 0x170,
259 L4RE_KEY_TITLE = 0x171,
260 L4RE_KEY_SUBTITLE = 0x172,
261 L4RE_KEY_ANGLE = 0x173,
262 L4RE_KEY_ZOOM = 0x174,
263 L4RE_KEY_MODE = 0x175,
264 L4RE_KEY_KEYBOARD = 0x176,
265 L4RE_KEY_SCREEN = 0x177,
266 L4RE_KEY_PC = 0x178,
267 L4RE_KEY_TV = 0x179,
268 L4RE_KEY_TV2 = 0x17a,
269 L4RE_KEY_VCR = 0x17b,
270 L4RE_KEY_VCR2 = 0x17c,
271 L4RE_KEY_SAT = 0x17d,
272 L4RE_KEY_SAT2 = 0x17e,
273 L4RE_KEY_CD = 0x17f,
274 L4RE_KEY_TAPE = 0x180,
275 L4RE_KEY_RADIO = 0x181,
276 L4RE_KEY_TUNER = 0x182,
277 L4RE_KEY_PLAYER = 0x183,
278 L4RE_KEY_TEXT = 0x184,
279 L4RE_KEY_DVD = 0x185,
280 L4RE_KEY_AUX = 0x186,
281 L4RE_KEY_MP3 = 0x187,
282 L4RE_KEY_AUDIO = 0x188,
283 L4RE_KEY_VIDEO = 0x189,
284 L4RE_KEY_DIRECTORY = 0x18a,
285 L4RE_KEY_LIST = 0x18b,
286 L4RE_KEY_MEMO = 0x18c,
287 L4RE_KEY_CALENDAR = 0x18d,
288 L4RE_KEY_RED = 0x18e,
289 L4RE_KEY_GREEN = 0x18f,
290 L4RE_KEY_YELLOW = 0x190,
291 L4RE_KEY_BLUE = 0x191,
292 L4RE_KEY_CHANNELUP = 0x192,
293 L4RE_KEY_CHANNELDOWN = 0x193,
294 L4RE_KEY_FIRST = 0x194,
295 L4RE_KEY_LAST = 0x195,
296 L4RE_KEY_AB = 0x196,
297 L4RE_KEY_NEXT = 0x197,
298 L4RE_KEY_RESTART = 0x198,
299 L4RE_KEY_SLOW = 0x199,
300 L4RE_KEY_SHUFFLE = 0x19a,
301 L4RE_KEY_BREAK = 0x19b,
302 L4RE_KEY_PREVIOUS = 0x19c,
303 L4RE_KEY_DIGITS = 0x19d,
304 L4RE_KEY_TEEN = 0x19e,
305 L4RE_KEY_TWEN = 0x19f,
306 L4RE_KEY_DEL_EOL = 0x1c0,
307 L4RE_KEY_DEL_EOS = 0x1c1,
308 L4RE_KEY_INS_LINE = 0x1c2,
309 L4RE_KEY_DEL_LINE = 0x1c3,
310 L4RE_KEY_FN = 0x1d0,
311 L4RE_KEY_FN_ESC = 0x1d1,
312 L4RE_KEY_FN_F1 = 0x1d2,
313 L4RE_KEY_FN_F2 = 0x1d3,
314 L4RE_KEY_FN_F3 = 0x1d4,
315 L4RE_KEY_FN_F4 = 0x1d5,
316 L4RE_KEY_FN_F5 = 0x1d6,
317 L4RE_KEY_FN_F6 = 0x1d7,
318 L4RE_KEY_FN_F7 = 0x1d8,
319 L4RE_KEY_FN_F8 = 0x1d9,
320 L4RE_KEY_FN_F9 = 0x1da,
321 L4RE_KEY_FN_F10 = 0x1db,
322 L4RE_KEY_FN_F11 = 0x1dc,
323 L4RE_KEY_FN_F12 = 0x1dd,
324 L4RE_KEY_FN_1 = 0x1de,
325 L4RE_KEY_FN_2 = 0x1df,
326 L4RE_KEY_FN_D = 0x1e0,
327 L4RE_KEY_FN_E = 0x1e1,
328 L4RE_KEY_FN_F = 0x1e2,
329 L4RE_KEY_FN_S = 0x1e3,
330 L4RE_KEY_FN_B = 0x1e4,
331 L4RE_KEY_MAX = 0x1ff,
332};
333
334enum L4Re_events_rel
335{
336 L4RE_REL_X = 0x00,
337 L4RE_REL_Y = 0x01,
338 L4RE_REL_Z = 0x02,
339 L4RE_REL_RX = 0x03,
340 L4RE_REL_RY = 0x04,
341 L4RE_REL_RZ = 0x05,
342 L4RE_REL_HWHEEL = 0x06,
343 L4RE_REL_DIAL = 0x07,
344 L4RE_REL_WHEEL = 0x08,
345 L4RE_REL_MISC = 0x09,
346 L4RE_REL_MAX = 0x0f,
347};
348
349enum L4Re_events_snd
350{
351 L4RE_SND_CLICK = 0x00,
352 L4RE_SND_BELL = 0x01,
353 L4RE_SND_TONE = 0x02,
354 L4RE_SND_MAX = 0x07,
355};
356
357enum L4Re_events_rep
358{
359 L4RE_REP_DELAY = 0x00,
360 L4RE_REP_PERIOD = 0x01,
361 L4RE_REP_MAX = 0x01,
362};
363
364enum L4Re_events_led
365{
366 L4RE_LED_NUML = 0x00,
367 L4RE_LED_CAPSL = 0x01,
368 L4RE_LED_SCROLLL = 0x02,
369 L4RE_LED_COMPOSE = 0x03,
370 L4RE_LED_KANA = 0x04,
371 L4RE_LED_SLEEP = 0x05,
372 L4RE_LED_SUSPEND = 0x06,
373 L4RE_LED_MUTE = 0x07,
374 L4RE_LED_MISC = 0x08,
375 L4RE_LED_MAIL = 0x09,
376 L4RE_LED_CHARGING = 0x0a,
377 L4RE_LED_MAX = 0x0f,
378};
379
380enum L4Re_events_btn
381{
382 L4RE_BTN_MISC = 0x100,
383 L4RE_BTN_0 = 0x100,
384 L4RE_BTN_1 = 0x101,
385 L4RE_BTN_2 = 0x102,
386 L4RE_BTN_3 = 0x103,
387 L4RE_BTN_4 = 0x104,
388 L4RE_BTN_5 = 0x105,
389 L4RE_BTN_6 = 0x106,
390 L4RE_BTN_7 = 0x107,
391 L4RE_BTN_8 = 0x108,
392 L4RE_BTN_9 = 0x109,
393 L4RE_BTN_MOUSE = 0x110,
394 L4RE_BTN_LEFT = 0x110,
395 L4RE_BTN_RIGHT = 0x111,
396 L4RE_BTN_MIDDLE = 0x112,
397 L4RE_BTN_SIDE = 0x113,
398 L4RE_BTN_EXTRA = 0x114,
399 L4RE_BTN_FORWARD = 0x115,
400 L4RE_BTN_BACK = 0x116,
401 L4RE_BTN_TASK = 0x117,
402 L4RE_BTN_JOYSTICK = 0x120,
403 L4RE_BTN_TRIGGER = 0x120,
404 L4RE_BTN_THUMB = 0x121,
405 L4RE_BTN_THUMB2 = 0x122,
406 L4RE_BTN_TOP = 0x123,
407 L4RE_BTN_TOP2 = 0x124,
408 L4RE_BTN_PINKIE = 0x125,
409 L4RE_BTN_BASE = 0x126,
410 L4RE_BTN_BASE2 = 0x127,
411 L4RE_BTN_BASE3 = 0x128,
412 L4RE_BTN_BASE4 = 0x129,
413 L4RE_BTN_BASE5 = 0x12a,
414 L4RE_BTN_BASE6 = 0x12b,
415 L4RE_BTN_DEAD = 0x12f,
416 L4RE_BTN_GAMEPAD = 0x130,
417 L4RE_BTN_A = 0x130,
418 L4RE_BTN_B = 0x131,
419 L4RE_BTN_C = 0x132,
420 L4RE_BTN_X = 0x133,
421 L4RE_BTN_Y = 0x134,
422 L4RE_BTN_Z = 0x135,
423 L4RE_BTN_TL = 0x136,
424 L4RE_BTN_TR = 0x137,
425 L4RE_BTN_TL2 = 0x138,
426 L4RE_BTN_TR2 = 0x139,
427 L4RE_BTN_SELECT = 0x13a,
428 L4RE_BTN_START = 0x13b,
429 L4RE_BTN_MODE = 0x13c,
430 L4RE_BTN_THUMBL = 0x13d,
431 L4RE_BTN_THUMBR = 0x13e,
432 L4RE_BTN_DIGI = 0x140,
433 L4RE_BTN_TOOL_PEN = 0x140,
434 L4RE_BTN_TOOL_RUBBER = 0x141,
435 L4RE_BTN_TOOL_BRUSH = 0x142,
436 L4RE_BTN_TOOL_PENCIL = 0x143,
437 L4RE_BTN_TOOL_AIRBRUSH = 0x144,
438 L4RE_BTN_TOOL_FINGER = 0x145,
439 L4RE_BTN_TOOL_MOUSE = 0x146,
440 L4RE_BTN_TOOL_LENS = 0x147,
441 L4RE_BTN_TOUCH = 0x14a,
442 L4RE_BTN_STYLUS = 0x14b,
443 L4RE_BTN_STYLUS2 = 0x14c,
444 L4RE_BTN_TOOL_DOUBLETAP = 0x14d,
445 L4RE_BTN_TOOL_TRIPLETAP = 0x14e,
446 L4RE_BTN_WHEEL = 0x150,
447 L4RE_BTN_GEAR_DOWN = 0x150,
448 L4RE_BTN_GEAR_UP = 0x151,
449};
450
451enum L4Re_events_sw
452{
453 L4RE_SW_0 = 0x00,
454 L4RE_SW_1 = 0x01,
455 L4RE_SW_2 = 0x02,
456 L4RE_SW_3 = 0x03,
457 L4RE_SW_4 = 0x04,
458 L4RE_SW_5 = 0x05,
459 L4RE_SW_6 = 0x06,
460 L4RE_SW_7 = 0x07,
461 L4RE_SW_MAX = 0x0f,
462};
463
464enum L4Re_events_ev
465{
466 L4RE_EV_SYN = 0x00,
467 L4RE_EV_KEY = 0x01,
468 L4RE_EV_REL = 0x02,
469 L4RE_EV_ABS = 0x03,
470 L4RE_EV_MSC = 0x04,
471 L4RE_EV_SW = 0x05,
472 L4RE_EV_LED = 0x11,
473 L4RE_EV_SND = 0x12,
474 L4RE_EV_REP = 0x14,
475 L4RE_EV_FF = 0x15,
476 L4RE_EV_PWR = 0x16,
477 L4RE_EV_FF_STATUS = 0x17,
478 L4RE_EV_WINDOW = 0x18,
479 L4RE_EV_PM = 0x1e, // power management signals
480 L4RE_EV_MAX = 0x1f,
481};
482
483enum L4Re_events_syn
484{
485 L4RE_SYN_REPORT = 0,
486 L4RE_SYN_CONFIG = 1,
487 L4RE_SYN_MT_REPORT = 2,
488
489 L4RE_SYN_STREAM_CFG = 0x80,
490};
491
492enum L4Re_stream_cfg
493{
494 L4RE_SYN_STREAM_NEW = 0,
495 L4RE_SYN_STREAM_CLOSE = 1,
496};
497
498enum L4Re_events_abs
499{
500 L4RE_ABS_X = 0x00,
501 L4RE_ABS_Y = 0x01,
502 L4RE_ABS_Z = 0x02,
503 L4RE_ABS_RX = 0x03,
504 L4RE_ABS_RY = 0x04,
505 L4RE_ABS_RZ = 0x05,
506 L4RE_ABS_THROTTLE = 0x06,
507 L4RE_ABS_RUDDER = 0x07,
508 L4RE_ABS_WHEEL = 0x08,
509 L4RE_ABS_GAS = 0x09,
510 L4RE_ABS_BRAKE = 0x0a,
511 L4RE_ABS_HAT0X = 0x10,
512 L4RE_ABS_HAT0Y = 0x11,
513 L4RE_ABS_HAT1X = 0x12,
514 L4RE_ABS_HAT1Y = 0x13,
515 L4RE_ABS_HAT2X = 0x14,
516 L4RE_ABS_HAT2Y = 0x15,
517 L4RE_ABS_HAT3X = 0x16,
518 L4RE_ABS_HAT3Y = 0x17,
519 L4RE_ABS_PRESSURE = 0x18,
520 L4RE_ABS_DISTANCE = 0x19,
521 L4RE_ABS_TILT_X = 0x1a,
522 L4RE_ABS_TILT_Y = 0x1b,
523 L4RE_ABS_TOOL_WIDTH = 0x1c,
524 L4RE_ABS_VOLUME = 0x20,
525 L4RE_ABS_MISC = 0x28,
526 L4RE_ABS_MT_TOUCH_MAJOR = 0x30,
527 L4RE_ABS_MT_TOUCH_MINOR = 0x31,
528 L4RE_ABS_MT_WIDTH_MAJOR = 0x32,
529 L4RE_ABS_MT_WIDTH_MINOR = 0x33,
530 L4RE_ABS_MT_ORIENTATION = 0x34,
531 L4RE_ABS_MT_POSITION_X = 0x35,
532 L4RE_ABS_MT_POSITION_Y = 0x36,
533 L4RE_ABS_MT_TOOL_TYPE = 0x37,
534 L4RE_ABS_MT_BLOB_ID = 0x38,
535 L4RE_ABS_MT_TRACKING_ID = 0x39,
536 L4RE_ABS_MT_PRESSURE = 0x3a,
537 L4RE_ABS_MT_DISTANCE = 0x3b,
538
539 L4RE_ABS_MAX = 0x3f,
540};
541
542enum L4Re_events_msc
543{
544 L4RE_MSC_SERIAL = 0x00,
545 L4RE_MSC_PULSELED = 0x01,
546 L4RE_MSC_GESTURE = 0x02,
547 L4RE_MSC_RAW = 0x03,
548 L4RE_MSC_SCAN = 0x04,
549 L4RE_MSC_MAX = 0x07,
550};
551
552enum L4Re_events_properties
553{
554 L4RE_EVENT_PROP_POINTER = 0x00,
555 L4RE_EVENT_PROP_DIRECT = 0x01,
556 L4RE_EVENT_PROP_BUTTONPAD = 0x02,
557 L4RE_EVENT_PROP_SEMI_MT = 0x03,
558 //L4RE_EVENT_PROP_MAX = 0x1f
559};