wacom: make relative/abs events more obvious in the log
Mark the deltas with a * if they're the ones that changed.
This commit is contained in:
parent
80d0066cef
commit
6c156efc01
|
@ -643,7 +643,10 @@ class WacomProtocolBase(WacomProtocolLowLevelComm):
|
|||
y += dy
|
||||
p += dp
|
||||
|
||||
logger.info(f'point at {x},{y} ({dx:+}, {dy:+}) with pressure {p} ({dp:+})')
|
||||
xr = '*' if xrel else ''
|
||||
yr = '*' if yrel else ''
|
||||
pr = '*' if prel else ''
|
||||
logger.info(f'point at {x},{y} ({dx:+}{xr}, {dy:+}{yr}) with pressure {p} ({dp:+}{pr})')
|
||||
|
||||
if bitmask & 0b00111100 == 0:
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue