From 8b6d799510edb849e0c3ab11ebf6cea5d2ed3e9c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 20 Mar 2018 13:51:06 +1000 Subject: [PATCH] tools: libinput-record: print the mouse and pointingstick udev properties Signed-off-by: Peter Hutterer --- tools/libinput-record.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); }