summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-05-05 10:25:44 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-05-10 09:52:04 +1000
commita6828caa94f5fd9c81880eb11da294eed9cc48af (patch)
treef140581e48c90f1f7215bbf6fb38bf6c0f16dccd
parent742c3e4494bf89301031ba6a627a7f5d5f49556f (diff)
downloadxf86-input-wacom-a6828caa94f5fd9c81880eb11da294eed9cc48af.tar.gz
Make a debug message easier to understand
We printed the device type as "tool id", let's print both but with the right naming. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Aaron Skomra <aaron.skomra@wacom.com>
-rw-r--r--src/wcmCommon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wcmCommon.c b/src/wcmCommon.c
index c2ebc9a..894c48b 100644
--- a/src/wcmCommon.c
+++ b/src/wcmCommon.c
@@ -1160,7 +1160,7 @@ void wcmEvent(WacomCommonPtr common, unsigned int channel,
return;
}
- DBG(11, common, "tool id=%d for %s\n", ds.device_type, priv->name);
+ DBG(11, common, "device_type=%d tool_id=%d for %s\n", ds.device_type, ds.device_id, priv->name);
if (TabletHasFeature(common, WCM_ROTATION) &&
TabletHasFeature(common, WCM_RING) &&