Skip to content

Commit

Permalink
Set the bustype in libwacom_new_for_path
Browse files Browse the repository at this point in the history
Fixes: 61907bb ("Add libwacom_new_from_builder to construct a new device (linuxwacom#676)")
  • Loading branch information
whot committed May 13, 2024
1 parent 422c81c commit 15c2d8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libwacom/libwacom.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 15c2d8b

Please sign in to comment.