tuhi/tuhi
Peter Hutterer 5692a1f3b2 wacom: add PacketHandlers for handling special commands
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.
2018-02-16 15:43:28 +10:00
..
__init__.py __init__: remove empty line that snuck in during rebasing 2018-01-24 21:39:56 +10:00
base.py wacom: add support for the Intuos Pro 2 paper 2018-02-14 15:03:02 +10:00
ble.py ble: disable a debug message 2018-02-16 15:43:28 +10:00
config.py config: store the protocol used by the device in the config file 2018-02-09 13:31:11 +10:00
dbusserver.py live-mode: properly pack the fds over DBus 2018-02-14 06:23:25 +10:00
drawing.py drawing: add a stroke.seal() functionality 2018-02-16 15:43:28 +10:00
uhid.py wacom: create a uhid device on live mode 2018-02-14 06:23:25 +10:00
wacom.py wacom: add PacketHandlers for handling special commands 2018-02-16 15:43:28 +10:00