tuhi/tuhi
Peter Hutterer e420b04fda protocol: add stroke parsing
This is a slightly different model as the messages, primarily because it's not
quite as model-specific. So there's only one parse function and it can handle
both file types that we currently support (intuos pro and the spark/slate
bits).

All wrapped into their own classes to make future extensions a bit easier.
It's not a 1:1 implementation of the tuhi/wacom.py bits either because we now
know about a few extra bits like the flags in stroke headers.

Most importantly though, this can be easily tested now, with one test case
searching for raw logs in $XDG_DATA_HOME/tuhi/raw and parsing all of those. So
the more files are sitting in there (i.e. the more the tablet is used), the
better the test suite becomes.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2019-08-21 09:31:52 +02:00
..
gui gui: simplify the Config's singleton pattern 2019-08-20 12:19:52 +10:00
__init__.py __init__: remove empty line that snuck in during rebasing 2018-01-24 21:39:56 +10:00
base.py tuhi: log the tuhi server session data to a file 2019-08-19 15:43:01 +02:00
ble.py ble: prefix all device logs with address 2019-06-07 08:34:07 +10:00
config.py Move the default config setting to the entry points 2019-08-19 15:43:01 +02:00
dbusserver.py Bubble up the width/height from the protocol to the dbus interface 2019-07-15 09:38:19 +02:00
drawing.py drawing: fix deprecation warning 2019-06-07 15:35:59 +10:00
protocol.py protocol: add stroke parsing 2019-08-21 09:31:52 +02:00
svg.py svg: use our Json SVG converter from kete 2019-08-20 12:02:30 +10:00
uhid.py wacom: create a uhid device on live mode 2018-02-14 06:23:25 +10:00
util.py protocol: add stroke parsing 2019-08-21 09:31:52 +02:00
wacom.py protocol: add stroke parsing 2019-08-21 09:31:52 +02:00