5692a1f3b2
For data packets other than basic motion/pressure strokes, add a PacketHandler that can deal with that particular packet. Those handlers are part of the class declaration, when we instantiate a protocol we pull them all into a packet_handlers list and go through them. The first one to return True is considered the right handler and we expect something has been done with the packet. This patch includes the handlers for the end-of-stroke and end-of-sequence packets, the rest to be added later. |
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
ble.py | ||
config.py | ||
dbusserver.py | ||
drawing.py | ||
uhid.py | ||
wacom.py |