From 58e6f852030e387ebed3bb8452d2c8fccf707a68 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Mon, 14 Oct 2024 21:56:34 -0400 Subject: [PATCH] data: Add support for the XP-Pen Artist 22R Pro --- data/layouts/xp-pen-artist22r-pro.svg | 465 ++++++++++++++++++++++++++ data/xp-pen-artist-22r-pro.tablet | 27 ++ 2 files changed, 492 insertions(+) create mode 100644 data/layouts/xp-pen-artist22r-pro.svg create mode 100644 data/xp-pen-artist-22r-pro.tablet diff --git a/data/layouts/xp-pen-artist22r-pro.svg b/data/layouts/xp-pen-artist22r-pro.svg new file mode 100644 index 00000000..1ac511ad --- /dev/null +++ b/data/layouts/xp-pen-artist22r-pro.svg @@ -0,0 +1,465 @@ + + + + XP-Pen Artist 22R Pro + + + + A + + + + + B + + + + + C + + + + + D + + + + + E + + + + + + + + CCW + CW + + + + + F + + + + + G + + + + + H + + + + + I + + + + + J + + + + + + K + + + + + L + + + + + M + + + + + N + + + + + O + + + + + + + + CCW + CW + + + + + P + + + + + Q + + + + + R + + + + + S + + + + + T + + diff --git a/data/xp-pen-artist-22r-pro.tablet b/data/xp-pen-artist-22r-pro.tablet new file mode 100644 index 00000000..cb31a6fb --- /dev/null +++ b/data/xp-pen-artist-22r-pro.tablet @@ -0,0 +1,27 @@ +# XP-Pen +# Artist 22R Pro + +[Device] +Name=XP-Pen Artist 22R Pro +ModelName= +DeviceMatch=usb|28bd|091b|UGTABLET 21.5 inch PenDisplay Pen;usb|28bd|091b|UGTABLET 21.5 inch PenDisplay Pad +PairedIDs= +Class=Bamboo +Width=22 +Height=13 +IntegratedIn=Display +Layout=xp-pen-artist22r-pro.svg +Styli=@generic-no-eraser; + +[Features] +Stylus=true +Reversible=false +Touch=false +TouchSwitch=false +NumRings=0 +NumStrips=2 + +[Buttons] +Left=A;B;C;D;E;F;G;H;I;J +Right=K;L;M;N;O;P;Q;R;S;T +EvdevCodes=BTN_0;BTN_1;BTN_2;BTN_3;BTN_4;BTN_5;BTN_6;BTN_7;BTN_8;BTN_RIGHT;BTN_MIDDLE;BTN_SIDE;BTN_EXTRA;BTN_FORWARD;BTN_BACK;BTN_B;BTN_A;BTN_BASE;BTN_BASE2;BTN_X \ No newline at end of file