Lines Matching refs:libevdev
35 import libevdev
44 if code in (libevdev.EV_ABS.ABS_MISC, libevdev.EV_MSC.MSC_SERIAL):
48 if code.type == libevdev.EV_REL:
56 if code.type in (libevdev.EV_KEY, libevdev.EV_SW, libevdev.EV_SYN):
60 if code.type == libevdev.EV_ABS:
61 if libevdev.EV_ABS.ABS_MT_SLOT <= code <= libevdev.EV_ABS.ABS_MAX:
91 yield libevdev.InputEvent(
92 code=libevdev.evbit(evdev[2], evdev[3]),
135 if e.code.type == libevdev.EV_KEY:
140 elif e.code == libevdev.EV_SYN.SYN_REPORT:
168 code = libevdev.evbit(int(evtype), int(c))
178 if libevdev.EV_ABS.ABS_MT_SLOT <= code <= libevdev.EV_ABS.ABS_MAX: