Lines Matching refs:libevdev
36 import libevdev
99 nslots = absinfo[libevdev.EV_ABS.ABS_MT_SLOT.value][1] + 1
104 libevdev.EV_KEY.BTN_TOOL_FINGER: 0,
105 libevdev.EV_KEY.BTN_TOOL_PEN: 0,
106 libevdev.EV_KEY.BTN_TOOL_DOUBLETAP: 1,
107 libevdev.EV_KEY.BTN_TOOL_TRIPLETAP: 2,
108 libevdev.EV_KEY.BTN_TOOL_QUADTAP: 3,
109 libevdev.EV_KEY.BTN_TOOL_QUINTTAP: 4,
113 if bit.value in device["evdev"]["codes"][libevdev.EV_KEY.value]:
135 e = libevdev.InputEvent(
136 code=libevdev.evbit(evdev[2], evdev[3]),
153 if e.code == libevdev.EV_ABS.ABS_MT_SLOT:
162 if e.code == libevdev.EV_ABS.ABS_MT_TRACKING_ID:
168 libevdev.EV_ABS.ABS_MT_POSITION_X,
169 libevdev.EV_ABS.ABS_MT_POSITION_Y,
170 libevdev.EV_ABS.ABS_MT_PRESSURE,
171 libevdev.EV_ABS.ABS_MT_TOUCH_MAJOR,
172 libevdev.EV_ABS.ABS_MT_TOUCH_MINOR,
178 if e.code == libevdev.EV_SYN.SYN_REPORT: