From 680d47dd04467b55119adcc7805ad3a22bde58b9 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 8 Oct 2024 14:40:53 +1000 Subject: [PATCH] data: improve the Huion mini keydial (KD100) a bit Mark this as remote and reduce the device match to just 6d - based on the udev rule shown in https://github.com/mckset/KD100 --- data/huion-mini-keydial-kd100.tablet | 15 +- data/layouts/huion-mini-keydial-kd100.svg | 576 ++++++++++++++++++---- 2 files changed, 479 insertions(+), 112 deletions(-) diff --git a/data/huion-mini-keydial-kd100.tablet b/data/huion-mini-keydial-kd100.tablet index 26de2317..2eac471f 100644 --- a/data/huion-mini-keydial-kd100.tablet +++ b/data/huion-mini-keydial-kd100.tablet @@ -8,23 +8,14 @@ [Device] Name=Mini KeyDial KD100 ModelName=Mini KeyDial KD100 -Class=Bamboo -# Product ID is unknown, please fix -DeviceMatch=usb|256c|006e||HUION_T200;usb|256c|006d||HUION_T200;usb|256c|006f||HUION_T200;usb|256c|0064||HUION_T200; -Width=9 # autogenerated value, please fix -Height=6 # autogenerated value, please fix +Class=Remote +DeviceMatch=usb|256c|006d||HUION_T200 Layout=huion-mini-keydial-kd100.svg -Styli=@generic-no-eraser; IntegratedIn= [Features] -NumStrips=0 -NumRings=0 NumDials=1 -Reversible=true -Stylus=true -Touch=false -TouchSwitch=false +Stylus=false [Buttons] Left=A;B;C;D;E;F;G;H;I;J;K;L;M;N;O;P;Q;R;S diff --git a/data/layouts/huion-mini-keydial-kd100.svg b/data/layouts/huion-mini-keydial-kd100.svg index 8cad7be0..c21c29bc 100644 --- a/data/layouts/huion-mini-keydial-kd100.svg +++ b/data/layouts/huion-mini-keydial-kd100.svg @@ -1,102 +1,478 @@ - - - - - - Mini KeyDial KD100 - - - A - - - - - B - - - - - C - - - - - D - - - - - E - - - - - F - - - - - G - - - - - H - - - - - I - - - - - J - - - - - K - - - - - L - - - - - M - - - - - N - - - - - O - - - - - P - - - - - Q - - - - - R - - - - - S - + + + + + Mini KeyDial KD100 + + + + A + + + + B + + + + + C + + + + + D + + + + + E + + + + + F + + + + + G + + + + + H + + + + + I + + + + + J + + + + + K + + + + + L + + + + + M + + + + + N + + + + + O + + + + + P + + + + + Q + + + + + R + + + + + S + + + + + + CCW + + CW