From 9585408e415aac0661e312aaaf32049b37d49f01 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 8 Nov 2024 08:03:46 +1000 Subject: [PATCH] tools/list-local-devices: print the stylus VID as well --- tools/list-local-devices.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/list-local-devices.c b/tools/list-local-devices.c index 01c0c3d9..a90fa401 100644 --- a/tools/list-local-devices.c +++ b/tools/list-local-devices.c @@ -167,6 +167,7 @@ tablet_print_yaml(gpointer data, gpointer user_data) case WSTYLUS_MOBILE: type = "mobile"; break; } printf(" - id: 0x%x\n", libwacom_stylus_get_id(stylus)); + printf(" vid: 0x%04x\n", libwacom_stylus_get_vendor_id(stylus)); printf(" name: '%s'\n", libwacom_stylus_get_name(stylus)); printf(" type: '%s'\n", type); printf(" axes: ['x', 'y' %s%s%s%s%s]\n",