Lines Matching refs:libevdev
36 import libevdev
193 nslots = absinfo[libevdev.EV_ABS.ABS_MT_SLOT.value][1] + 1
204 xres = 1.0 * absinfo[libevdev.EV_ABS.ABS_X.value][4]
205 yres = 1.0 * absinfo[libevdev.EV_ABS.ABS_Y.value][4]
217 libevdev.EV_KEY.BTN_TOUCH: 0,
218 libevdev.EV_KEY.BTN_TOOL_DOUBLETAP: 0,
219 libevdev.EV_KEY.BTN_TOOL_TRIPLETAP: 0,
220 libevdev.EV_KEY.BTN_TOOL_QUADTAP: 0,
221 libevdev.EV_KEY.BTN_TOOL_QUINTTAP: 0,
224 libevdev.EV_KEY.BTN_LEFT: 0,
225 libevdev.EV_KEY.BTN_MIDDLE: 0,
226 libevdev.EV_KEY.BTN_RIGHT: 0,
234 e = libevdev.InputEvent(
235 code=libevdev.evbit(evdev[2], evdev[3]),
251 e.code == libevdev.EV_KEY.BTN_TOOL_FINGER
252 or e.code == libevdev.EV_KEY.BTN_TOOL_PEN
261 elif e.code == libevdev.EV_KEY.BTN_TOOL_DOUBLETAP:
270 elif e.code == libevdev.EV_ABS.ABS_X:
279 elif e.code == libevdev.EV_ABS.ABS_Y:
289 if e.code == libevdev.EV_ABS.ABS_MT_SLOT:
297 elif e.code == libevdev.EV_ABS.ABS_MT_TRACKING_ID:
305 elif e.code == libevdev.EV_ABS.ABS_MT_POSITION_X:
314 elif e.code == libevdev.EV_ABS.ABS_MT_POSITION_Y:
324 if e.code == libevdev.EV_SYN.SYN_REPORT:
334 (libevdev.EV_KEY.BTN_TOOL_QUINTTAP, "QIN"),
335 (libevdev.EV_KEY.BTN_TOOL_QUADTAP, "QAD"),
336 (libevdev.EV_KEY.BTN_TOOL_TRIPLETAP, "TRI"),
337 (libevdev.EV_KEY.BTN_TOOL_DOUBLETAP, "DBL"),
338 (libevdev.EV_KEY.BTN_TOUCH, "TOU"),
349 (libevdev.EV_KEY.BTN_LEFT, "L"),
350 (libevdev.EV_KEY.BTN_MIDDLE, "M"),
351 (libevdev.EV_KEY.BTN_RIGHT, "R"),