summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-03-20 13:51:06 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-03-20 13:51:31 +1000
commit8b6d799510edb849e0c3ab11ebf6cea5d2ed3e9c (patch)
tree0809c49a9b63f475a6ae2d98f2dc2df41f936fa5 /tools
parenta1ba6186e70b102344ea6b17696b8ef7002ed6a2 (diff)
tools: libinput-record: print the mouse and pointingstick udev properties
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools')
-rw-r--r--tools/libinput-record.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/libinput-record.c b/tools/libinput-record.c
index 21954327..a71bdfe2 100644
--- a/tools/libinput-record.c
+++ b/tools/libinput-record.c
@@ -1124,7 +1124,9 @@ print_udev_properties(struct record_context *ctx, struct record_device *dev)
if (strneq(key, "ID_INPUT", 8) ||
strneq(key, "LIBINPUT", 8) ||
- strneq(key, "EV_ABS", 6)) {
+ strneq(key, "EV_ABS", 6) ||
+ strneq(key, "MOUSE_DPI", 9) ||
+ strneq(key, "POINTINGSTICK_", 14)) {
value = udev_list_entry_get_value(entry);
iprintf(ctx, "- %s=%s\n", key, value);
}