diff --git a/data/huion-inspiroy-2-l---h1061p.tablet b/data/huion-inspiroy-2-l---h1061p.tablet index bb524354..e1842d54 100644 --- a/data/huion-inspiroy-2-l---h1061p.tablet +++ b/data/huion-inspiroy-2-l---h1061p.tablet @@ -1,17 +1,43 @@ -# This tablet description file has been generated using an automated tool: -# https://github.com/JoseExposito/uclogic-libwacom-tablet-descriptions -# If you own this tablet, please improve it. +# Huion +# Inspiroy 2L +# H1061P # -# sysinfo missing - if you own this device please provide it. See this link -# for details: https://github.com/linuxwacom/libwacom/wiki/Adding-a-new-device +# sysinfo.tar.gz +# https://github.com/linuxwacom/wacom-hid-descriptors/issues/382 +# +# Button Map: +# (A=1, B=2, C=3, ...) +# +# +----------------------------------+ +# | | +# A D | | +# B E | | +# C F | | +# G | | +# | | +# H | | +# I | | +# J | | +# K | | +# | | +# +----------------------------------+ +# +# Dial Map: +# (A=1st ring, B=2nd ring, ...) +# +# *-----------------------* +# | | +# A | TABLET | +# | | +# *-----------------------* [Device] -Name=Inspiroy 2 L - H1061P -ModelName=Inspiroy 2 L - H1061P +Name=Huion Inspiroy 2 L +ModelName=H1061P Class=Bamboo -DeviceMatch=usb|256c|0068||HUION_T21m -Width=9 # autogenerated value, please fix -Height=6 # autogenerated value, please fix +DeviceMatch=usb|256c|0068; +Width=11 +Height=7 Layout=huion-inspiroy-2-l---h1061p.svg Styli=@generic-no-eraser; IntegratedIn= @@ -24,6 +50,7 @@ Reversible=true Stylus=true Touch=false TouchSwitch=false +Buttons=11 [Buttons] Left=A;B;C;D;E;F;G;H;I;J;K diff --git a/data/layouts/huion-inspiroy-2-l---h1061p.svg b/data/layouts/huion-inspiroy-2-l---h1061p.svg index 00fa3d97..b30832f3 100644 --- a/data/layouts/huion-inspiroy-2-l---h1061p.svg +++ b/data/layouts/huion-inspiroy-2-l---h1061p.svg @@ -1,331 +1,263 @@ - + + - - + version="1.1" + xmlns="http://www.w3.org/2000/svg"> Inspiroy 2 L - H1061P + id="title">Inspiroy 2 M - H1061P - - + + + class="A ModeSwitch Button" + cx="22.0" + cy="40.5" + r="10.5" /> + A - - - + + class="B ModeSwitch Button" + cx="22.0" + cy="80.5" + r="10.5" /> + B - - - + + class="C ModeSwitch Button" + cx="22.0" + cy="120.5" + r="10.5" /> + C - - + + x="46.0" + y="28.0" + width="38.0" + height="24.5" + rx="4.0" /> + D - - + + x="46.0" + y="68.0" + width="38.0" + height="24.5" + rx="4.0" /> + E - - + + x="46.0" + y="108.0" + width="38.0" + height="24.5" + rx="4.0" /> + F - - + + x="46.0" + y="148.0" + width="38.0" + height="24.5" + rx="4.0" /> + G + + + + id="LeaderDialCCW" + class="DialCCW Dial Leader" + d="M 65.0 196.0 V 190.0 H 106.0" /> + + Up + Down - + + x="46.0" + y="250.0" + width="38.0" + height="24.5" + rx="4.0" /> + H - - + + x="46.0" + y="289.0" + width="38.0" + height="24.5" + rx="4.0" /> + I - - + + x="46.0" + y="329.0" + width="38.0" + height="24.5" + rx="4.0" /> + J - - + + x="46.0" + y="369.0" + width="38.0" + height="24.5" + rx="4.0" /> + K - - - - - - - - - Up - Down -