wacom: improve a timestamp debug message
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
e5375a55dd
commit
32091d9a7b
|
@ -1083,7 +1083,8 @@ class WacomProtocolIntuosPro(WacomProtocolSlate):
|
||||||
nstrokes = int.from_bytes(data[offset:offset + 2], byteorder='little')
|
nstrokes = int.from_bytes(data[offset:offset + 2], byteorder='little')
|
||||||
offset += 2
|
offset += 2
|
||||||
|
|
||||||
logger.debug(f'Drawing timestamp: {t}, {nstrokes} strokes')
|
timestamp = time.strftime('%Y%m%d-%H%M%S', t)
|
||||||
|
logger.debug(f'Drawing timestamp: {timestamp}, {nstrokes} strokes')
|
||||||
|
|
||||||
# Can't have enough zeroes. They'll come in handy one day
|
# Can't have enough zeroes. They'll come in handy one day
|
||||||
expected_header = b'\x00\x00\x00\x00'
|
expected_header = b'\x00\x00\x00\x00'
|
||||||
|
|
Loading…
Reference in New Issue