tablet-tool: add usb_vendor_id and usb_product_id to wlr_tablet

This commit is contained in:
Simon Ser 2024-02-29 12:20:02 +01:00 committed by Isaac Freund
parent 22178451f7
commit e21b975f5d
3 changed files with 5 additions and 0 deletions

View file

@ -815,6 +815,8 @@ static void handle_tablet_id(void *data, struct zwp_tablet_v2 *zwp_tablet_v2,
tablet->base.vendor = vid;
tablet->base.product = pid;
tablet->usb_vendor_id = vid;
tablet->usb_product_id = pid;
}
static void handle_tablet_path(void *data, struct zwp_tablet_v2 *zwp_tablet_v2,