| H A D | test_tablet.py | 30 PEN = libevdev.EV_KEY.BTN_TOOL_PEN variable in ToolType 43 """Pen states according to Microsoft reference: 44 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 50 PEN_IS_IN_RANGE = BtnTouch.UP, ToolType.PEN, False 51 PEN_IS_IN_RANGE_WITH_BUTTON = BtnTouch.UP, ToolType.PEN, True 52 PEN_IS_IN_CONTACT = BtnTouch.DOWN, ToolType.PEN, False 53 PEN_IS_IN_CONTACT_WITH_BUTTON = BtnTouch.DOWN, ToolType.PEN, True 273 """This is the first half of the Windows Pen Implementation state machine: 275 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states 299 """This is the second half of the Windows Pen Implementatio 451 class Pen(object): global() class 543 move_to(self, pen, state, button) global() argument 614 event(self, pen, button) global() argument 655 post(self, uhdev, pen, test_button) global() argument 662 validate_transitions( self, from_state, pen, evdev, events, allow_intermediate_states, button ) global() argument 873 event(self, pen, test_button) global() argument 922 move_to(self, pen, state, button) global() argument 986 event(self, pen, test_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 1242 send_intermediate_state(self, pen, state, test_button) global() argument 1247 event(self, pen, button) global() argument [all...] |