| H A D | test_tablet.py | 35 """Represents whether a button is pressed on the stylus""" 60 self, touch: BtnTouch, tool: Optional[ToolType], button: Optional[bool] 64 self.button = button # type: ignore 70 button = False 87 # we take only the provided button into account 89 button = bool(evdev.value[test_button.value]) 92 # the button will be released after 94 button = False 96 return cls((touch, tool, button)) # typ 500 assert_expected_input_events(self, evdev, button) global() argument 543 move_to(self, pen, state, button) global() argument 614 event(self, pen, button) global() argument 662 validate_transitions( self, from_state, pen, evdev, events, allow_intermediate_states, button ) global() argument 684 _test_states( self, state_list, scribble, allow_intermediate_states, button=None ) global() argument 922 move_to(self, pen, state, button) global() argument 1024 move_to(self, pen, state, button, debug=True) global() argument 1075 send_intermediate_state(self, pen, state, button) global() argument 1080 event(self, pen, button) global() argument 1161 move_to(self, pen, state, button, debug=True) global() argument 1247 event(self, pen, button) global() argument [all...] |