Lines Matching refs:EV_KEY
453 if not self._get_value(EV_KEY, BTN_TOUCH) == 1:
455 elif self._get_value(EV_KEY, BTN_TOOL_TRIPLETAP) == 1:
457 elif self._get_value(EV_KEY, BTN_TOOL_DOUBLETAP) == 1:
459 elif self._get_value(EV_KEY, BTN_TOOL_FINGER) == 1:
492 return int(self._get_value(EV_KEY, BTN_LEFT) == 1)
495 return int(self._get_value(EV_KEY, BTN_RIGHT) == 1)
498 return int(self._get_value(EV_KEY, BTN_MIDDLE) == 1)
510 return ((EV_KEY in self.events) and
511 (BTN_TOOL_FINGER in self.events[EV_KEY]) and
515 return ((EV_KEY in self.events) and
516 (KEY_F2 in self.events[EV_KEY]))
519 return ((EV_KEY in self.events) and
520 (BTN_TOUCH in self.events[EV_KEY]) and
521 (not BTN_TOOL_FINGER in self.events[EV_KEY]) and