Lines Matching refs:libevdev
35 import libevdev
115 d = libevdev.Device()
127 if evtype == libevdev.EV_ABS.value:
129 absinfo = libevdev.InputAbsInfo(
137 elif evtype == libevdev.EV_REP.value:
138 if code == libevdev.EV_REP.REP_DELAY.value:
140 elif code == libevdev.EV_REP.REP_PERIOD.value:
142 d.enable(libevdev.evbit(evtype, code), data=data)
146 d.enable(libevdev.propbit(prop))
175 if evtype == libevdev.EV_KEY.value and value == 2: # key repeat
179 e = libevdev.InputEvent(
180 libevdev.evbit(evtype, evcode), value=value, sec=sec, usec=usec
186 if events_skipped and all(e for e in evs if e.matches(libevdev.EV_SYN.SYN_REPORT)):