diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2023-04-04 15:42:21 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2023-04-06 15:55:21 +1000 |
commit | 0011abd1a3220f443415fe71360fc50ac9d6b77e (patch) | |
tree | 1f5ed646921c49b39977f8908257228286e7e5e3 | |
parent | 72b86caffcb05ed03e6467801fc19d8af81e6f4f (diff) | |
download | libwacom-0011abd1a3220f443415fe71360fc50ac9d6b77e.tar.gz |
data: narrow down the Huion H950p to include a name match
Huion re-uses the USB IDs for, presumably, fun and profit and the only
way we can distinguish them is with name matches. To make things even
more fun, *other* vendors like Gaomon re-use Huion's VID/PID too.
For all devices except the H950p we match on name, but this one was the
first one introduced so it only matches on VID/PID. As a result, all
devices that don't match on the name get matched for the H950p -
including the Dial and Touch Strip subdevices of the Gaomon S620
(see #556). For the user this looks like they have a Gaomon device (pen
and pad) and a Huion H950p (dial and touchstrip).
Fix this by narrowing down the H950p to the device name too.
The name comes from the sysinfo file linked to in the data file.
-rw-r--r-- | data/huion-h950p.tablet | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/huion-h950p.tablet b/data/huion-h950p.tablet index e894f88..1f1bb1a 100644 --- a/data/huion-h950p.tablet +++ b/data/huion-h950p.tablet @@ -6,7 +6,7 @@ [Device] Name=Huion H950P ModelName= -DeviceMatch=usb:256c:006d +DeviceMatch=usb:256c:006d:HID 256c:006d Pen;usb:256c:006d:HID 256c:006d Pad Class=Bamboo Width=9 Height=5 |