From fbbff05b9a48e5afce73b5fe550d85944b2a4f96 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 14 May 2024 08:57:29 +1000 Subject: [PATCH] Set the bustype in libwacom_new_for_path (#685) Fixes: 61907bb80bc6 ("Add libwacom_new_from_builder to construct a new device (#676)") --- libwacom/libwacom.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libwacom/libwacom.c b/libwacom/libwacom.c index 74c9ada6..73602d44 100644 --- a/libwacom/libwacom.c +++ b/libwacom/libwacom.c @@ -811,6 +811,7 @@ libwacom_new_from_path(const WacomDeviceDatabase *db, const char *path, WacomFal builder = libwacom_builder_new(); libwacom_builder_set_match_name(builder, name); + libwacom_builder_set_bustype(builder, bus); libwacom_builder_set_uniq(builder, uniq); libwacom_builder_set_usbid(builder, vendor_id, product_id); device = libwacom_new_from_builder(db, builder, fallback, error);