From fe2d87f9a9b0512adecd5ef0ae4f45c06d114c74 Mon Sep 17 00:00:00 2001 From: hooger Date: Sun, 14 Jan 2024 13:18:35 +0100 Subject: [PATCH 1/4] add support for xp-pen artist 10s table --- data/layouts/xp-pen-artist10s.svg | 166 ++++++++++++++++++++++++++++++ data/xp-pen-artist10s.tablet | 28 +++++ 2 files changed, 194 insertions(+) create mode 100644 data/layouts/xp-pen-artist10s.svg create mode 100644 data/xp-pen-artist10s.tablet diff --git a/data/layouts/xp-pen-artist10s.svg b/data/layouts/xp-pen-artist10s.svg new file mode 100644 index 000000000..8d2e75239 --- /dev/null +++ b/data/layouts/xp-pen-artist10s.svg @@ -0,0 +1,166 @@ + + + + + + + + A + + + + + B + + + + + C + + + + + D + + + + + E + + + + + F + + diff --git a/data/xp-pen-artist10s.tablet b/data/xp-pen-artist10s.tablet new file mode 100644 index 000000000..17938419f --- /dev/null +++ b/data/xp-pen-artist10s.tablet @@ -0,0 +1,28 @@ +# XP-Pen +# Artist 10S (1st generation) +# + +[Device] +Name=UGEE 10.1 Tablet Monitor +ModelName=XP-Pen Artist 10S (1st gen) +DeviceMatch=usb:5543:004a:UGEE 10.1 Tablet Monitor;usb:5543:004a:UGEE 10.1 Tablet Monitor Pad;usb:5543:004a:UGEE 10.1 Tablet Monitor Mouse +PairedIDs= +Class=Bamboo +Width=8.5 +Height=5.3 +IntegratedIn= +Layout=xp-pen-artist10s.svg +Styli=@generic-no-eraser; + +[Features] +Stylus=true +Reversible=true +Touch=false +TouchSwitch=false +Ring=false +Ring2=false +NumStrips=1 + +[Buttons] +Left=A;B;C;D;E;F +EvdevCodes=BTN_0;BTN_1;BTN_2;BTN_3;BTN_4;BTN_5 From fd4db804c5842c0f207a014522ac53ac54ca643a Mon Sep 17 00:00:00 2001 From: hooger Date: Mon, 15 Jan 2024 09:11:12 +0100 Subject: [PATCH 2/4] fixes suggested by @whot --- data/xp-pen-artist10s.tablet | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/xp-pen-artist10s.tablet b/data/xp-pen-artist10s.tablet index 17938419f..72c455262 100644 --- a/data/xp-pen-artist10s.tablet +++ b/data/xp-pen-artist10s.tablet @@ -4,12 +4,12 @@ [Device] Name=UGEE 10.1 Tablet Monitor -ModelName=XP-Pen Artist 10S (1st gen) +ModelName= DeviceMatch=usb:5543:004a:UGEE 10.1 Tablet Monitor;usb:5543:004a:UGEE 10.1 Tablet Monitor Pad;usb:5543:004a:UGEE 10.1 Tablet Monitor Mouse PairedIDs= Class=Bamboo -Width=8.5 -Height=5.3 +Width=9 +Height=5 IntegratedIn= Layout=xp-pen-artist10s.svg Styli=@generic-no-eraser; From ca88a9039e68e878cd39c03603905d888fabc6e8 Mon Sep 17 00:00:00 2001 From: hooger Date: Mon, 15 Jan 2024 09:29:36 +0100 Subject: [PATCH 3/4] add sysinfo and link by wacom-hid-descriptor --- data/xp-pen-artist10s.tablet | 2 ++ 1 file changed, 2 insertions(+) diff --git a/data/xp-pen-artist10s.tablet b/data/xp-pen-artist10s.tablet index 72c455262..5b7a22ab9 100644 --- a/data/xp-pen-artist10s.tablet +++ b/data/xp-pen-artist10s.tablet @@ -1,6 +1,8 @@ # XP-Pen # Artist 10S (1st generation) # +# sysinfo.2kd91mftwQ +# https://github.com/linuxwacom/wacom-hid-descriptors/issues/354 [Device] Name=UGEE 10.1 Tablet Monitor From 3559a369ec04d40673fdd5a378d82746f27e345e Mon Sep 17 00:00:00 2001 From: hooger Date: Sun, 21 Jan 2024 11:55:30 +0100 Subject: [PATCH 4/4] xp-pen artist 10s has no touch strip --- data/xp-pen-artist10s.tablet | 1 - 1 file changed, 1 deletion(-) diff --git a/data/xp-pen-artist10s.tablet b/data/xp-pen-artist10s.tablet index 5b7a22ab9..8125ea8ad 100644 --- a/data/xp-pen-artist10s.tablet +++ b/data/xp-pen-artist10s.tablet @@ -23,7 +23,6 @@ Touch=false TouchSwitch=false Ring=false Ring2=false -NumStrips=1 [Buttons] Left=A;B;C;D;E;F