From 3a3c73e6cedabbaf1b31b949fdc7d11a3f1a5fed 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 b40c48d2..6f6a03c1 100644 --- a/tools/list-local-devices.c +++ b/tools/list-local-devices.c @@ -168,6 +168,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",