Skip to content

Commit

Permalink
Set the bustype in libwacom_new_for_path (#685)
Browse files Browse the repository at this point in the history
Fixes: 61907bb ("Add libwacom_new_from_builder to construct a new device (#676)")
  • Loading branch information
whot authored May 13, 2024
1 parent 923dbc4 commit fbbff05
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 fbbff05

Please sign in to comment.