Lines Matching refs:EV_ABS
202 elif self.is_mt_b() and ev.type == EV_ABS and ev.code in ABS_MT_RANGE:
274 if ev_type == EV_ABS:
317 if c not in self.events[EV_ABS]:
338 ev_abs = self.events[EV_ABS]
361 return self.events[EV_ABS][ABS_MT_SLOT].value
405 if type != EV_ABS:
422 if type == EV_ABS:
477 return self._get_value(EV_ABS, ABS_X)
480 return self._get_min(EV_ABS, ABS_X)
483 return self._get_max(EV_ABS, ABS_X)
486 return self._get_value(EV_ABS, ABS_Y)
489 return self._get_min(EV_ABS, ABS_Y)
492 return self._get_max(EV_ABS, ABS_Y)
495 return self._get_value(EV_ABS, ABS_PRESSURE)
498 return self._get_min(EV_ABS, ABS_PRESSURE)
501 return self._get_max(EV_ABS, ABS_PRESSURE)
524 (EV_ABS in self.events))
540 (EV_ABS in self.events))
547 return self.is_mt() and ABS_MT_SLOT in self.events[EV_ABS]
550 return self.is_mt() and ABS_MT_SLOT not in self.events[EV_ABS]
553 return (EV_ABS in self.events and
554 (set(self.events[EV_ABS]) & set(ABS_MT_RANGE)))
573 if EV_ABS in self.events and axis in self.events[EV_ABS]:
574 a = self.events[EV_ABS][axis]
617 abs = EV_STRINGS[EV_ABS].get(a, '?')