Lines Matching refs:evdev
176 def match_evdev_rule(self, application, evdev): argument
187 return evdev.name.endswith(application)
530 evdev = uhdev.get_evdev()
534 assert evdev.name == expected_name
825 evdev = self.uhdev.get_evdev()
826 info = evdev.absinfo[libevdev.EV_ABS.ABS_WHEEL]
839 evdev = uhdev.get_evdev()
841 print(evdev.name)
897 def assert_contact(self, uhdev, evdev, contact_ids, t=0): argument
914 assert evdev.slots[slot_num][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == tracking_id
916 assert evdev.slots[slot_num][libevdev.EV_ABS.ABS_MT_POSITION_X] == x
917 assert evdev.slots[slot_num][libevdev.EV_ABS.ABS_MT_POSITION_Y] == y
919 def assert_contacts(self, uhdev, evdev, data, t=0): argument
924 self.assert_contact(uhdev, evdev, contact_ids, t)
936 evdev = uhdev.get_evdev()
946 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
947 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_POSITION_X] == 50
948 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_POSITION_Y] == 100
957 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
987 evdev = uhdev.get_evdev()
1000 self.assert_contacts(uhdev, evdev,
1007 def confidence_change_assert_playback(self, uhdev, evdev, timeline): argument
1030 self.assert_contacts(uhdev, evdev, ids, t)
1045 evdev = uhdev.get_evdev()
1047 self.confidence_change_assert_playback(uhdev, evdev, [
1080 evdev = uhdev.get_evdev()
1082 self.confidence_change_assert_playback(uhdev, evdev, [
1114 evdev = uhdev.get_evdev()
1116 self.confidence_change_assert_playback(uhdev, evdev, [
1145 evdev = uhdev.get_evdev()
1147 self.confidence_change_assert_playback(uhdev, evdev, [
1176 evdev = uhdev.get_evdev()
1178 self.confidence_change_assert_playback(uhdev, evdev, [