12 L4RE_KEY_RESERVED = 0,
26 L4RE_KEY_BACKSPACE = 14,
38 L4RE_KEY_LEFTBRACE = 26,
39 L4RE_KEY_RIGHTBRACE = 27,
41 L4RE_KEY_LEFTCTRL = 29,
51 L4RE_KEY_SEMICOLON = 39,
52 L4RE_KEY_APOSTROPHE = 40,
54 L4RE_KEY_LEFTSHIFT = 42,
55 L4RE_KEY_BACKSLASH = 43,
66 L4RE_KEY_RIGHTSHIFT = 54,
67 L4RE_KEY_KPASTERISK = 55,
68 L4RE_KEY_LEFTALT = 56,
70 L4RE_KEY_CAPSLOCK = 58,
81 L4RE_KEY_NUMLOCK = 69,
82 L4RE_KEY_SCROLLLOCK = 70,
86 L4RE_KEY_KPMINUS = 74,
96 L4RE_KEY_ZENKAKUHANKAKU = 85,
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,
111 L4RE_KEY_RIGHTALT = 100,
112 L4RE_KEY_LINEFEED = 101,
115 L4RE_KEY_PAGEUP = 104,
117 L4RE_KEY_RIGHT = 106,
120 L4RE_KEY_PAGEDOWN = 109,
121 L4RE_KEY_INSERT = 110,
122 L4RE_KEY_DELETE = 111,
123 L4RE_KEY_MACRO = 112,
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,
136 L4RE_KEY_LEFTMETA = 125,
137 L4RE_KEY_RIGHTMETA = 126,
138 L4RE_KEY_COMPOSE = 127,
140 L4RE_KEY_AGAIN = 129,
141 L4RE_KEY_PROPS = 130,
143 L4RE_KEY_FRONT = 132,
146 L4RE_KEY_PASTE = 135,
152 L4RE_KEY_SETUP = 141,
153 L4RE_KEY_SLEEP = 142,
154 L4RE_KEY_WAKEUP = 143,
156 L4RE_KEY_SENDFILE = 145,
157 L4RE_KEY_DELETEFILE = 146,
159 L4RE_KEY_PROG1 = 148,
160 L4RE_KEY_PROG2 = 149,
162 L4RE_KEY_MSDOS = 151,
163 L4RE_KEY_COFFEE = 152,
164 L4RE_KEY_DIRECTION = 153,
165 L4RE_KEY_CYCLEWINDOWS = 154,
167 L4RE_KEY_BOOKMARKS = 156,
168 L4RE_KEY_COMPUTER = 157,
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,
182 L4RE_KEY_CONFIG = 171,
183 L4RE_KEY_HOMEPAGE = 172,
184 L4RE_KEY_REFRESH = 173,
188 L4RE_KEY_SCROLLUP = 177,
189 L4RE_KEY_SCROLLDOWN = 178,
190 L4RE_KEY_KPLEFTPAREN = 179,
191 L4RE_KEY_KPRIGHTPAREN = 180,
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,
213 L4RE_KEY_FASTFORWARD = 208,
214 L4RE_KEY_BASSBOOST = 209,
215 L4RE_KEY_PRINT = 210,
217 L4RE_KEY_CAMERA = 212,
218 L4RE_KEY_SOUND = 213,
219 L4RE_KEY_QUESTION = 214,
220 L4RE_KEY_EMAIL = 215,
222 L4RE_KEY_SEARCH = 217,
223 L4RE_KEY_CONNECT = 218,
224 L4RE_KEY_FINANCE = 219,
225 L4RE_KEY_SPORT = 220,
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,
237 L4RE_KEY_REPLY = 232,
238 L4RE_KEY_FORWARDMAIL = 233,
240 L4RE_KEY_DOCUMENTS = 235,
241 L4RE_KEY_UNKNOWN = 240,
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,
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,
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,
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,
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,
342 L4RE_REL_HWHEEL = 0x06,
343 L4RE_REL_DIAL = 0x07,
344 L4RE_REL_WHEEL = 0x08,
345 L4RE_REL_MISC = 0x09,
351 L4RE_SND_CLICK = 0x00,
352 L4RE_SND_BELL = 0x01,
353 L4RE_SND_TONE = 0x02,
359 L4RE_REP_DELAY = 0x00,
360 L4RE_REP_PERIOD = 0x01,
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,
382 L4RE_BTN_MISC = 0x100,
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,
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,
477 L4RE_EV_FF_STATUS = 0x17,
478 L4RE_EV_WINDOW = 0x18,
487 L4RE_SYN_MT_REPORT = 2,
489 L4RE_SYN_STREAM_CFG = 0x80,
494 L4RE_SYN_STREAM_NEW = 0,
495 L4RE_SYN_STREAM_CLOSE = 1,
506 L4RE_ABS_THROTTLE = 0x06,
507 L4RE_ABS_RUDDER = 0x07,
508 L4RE_ABS_WHEEL = 0x08,
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,
544 L4RE_MSC_SERIAL = 0x00,
545 L4RE_MSC_PULSELED = 0x01,
546 L4RE_MSC_GESTURE = 0x02,
548 L4RE_MSC_SCAN = 0x04,
552enum L4Re_events_properties
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,