Skip to content

Commit 59c84aa

Browse files
committed
data: Switch PW600-compatible devices over to the new generic 3 btn pen
From Huion's website [1]: Compatible with Kamvas Pro 19 and Kamvas Pro 27, Kamvas 16 (Gen 3) and Kamvas 13 (Gen 3) This produces false positives if a user doesn't have that tool - we still cannot identify Huion pens at runtime. But better to have configuration for buttons that don't exist than lacking configurations for buttons that do exist. [1] https://store.huion.com/au/products/battery-free-pen-pw600 Assisted-by: Claude:claude-opus-4-6
1 parent efb033f commit 59c84aa

5 files changed

Lines changed: 11 additions & 4 deletions

data/huion-kamvas-13-gs1333.tablet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Width=305
4242
Height=178
4343
Layout=huion-kamvas-13-gs1333.svg
4444
IntegratedIn=Display
45-
Styli=@generic-no-eraser;
45+
Styli=@generic-3btn-with-eraser;
4646

4747
[Features]
4848
Stylus=true

data/huion-kamvas-16-gs1563.tablet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Width=356
4444
Height=203
4545
Layout=huion-kamvas-16-gs1563.svg
4646
IntegratedIn=Display
47-
Styli=@generic-no-eraser;
47+
Styli=@generic-3btn-with-eraser;
4848

4949
[Features]
5050
Stylus=true

data/huion-kamvas-pro-19-gt1902.tablet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ DeviceMatch=usb|256c|006b||HUION_M220;
1818
# HUION_MAGIC_BYTES="1303803f01b8b300ff3fd81303000000080040"
1919
Width=406
2020
Height=229
21-
Styli=@generic-no-eraser;
21+
Styli=@generic-3btn-with-eraser;
2222
IntegratedIn=Display
2323

2424
[Features]

data/huion-kamvas-pro-27-gt2701.tablet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ModelName=GT2701
1313
DeviceMatch=usb|256c|006c;
1414
Width=597
1515
Height=336
16-
Styli=@generic-no-eraser;
16+
Styli=@generic-3btn-with-eraser;
1717
IntegratedIn=Display
1818

1919
[Features]

test/test_libwacom.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,13 @@ def test_mobilestudio_pro_modeswitch(db):
333333
WacomStylus.Generic.PEN_NO_ERASER,
334334
],
335335
],
336+
[
337+
(0x256C, 0x006C),
338+
[
339+
WacomStylus.Generic.PEN_3BTN_WITH_ERASER,
340+
WacomStylus.Generic.ERASER_3BTN,
341+
],
342+
],
336343
],
337344
)
338345
def test_generic_pens(db, usbid, expected):

0 commit comments

Comments
 (0)