From 3d21219a9eba6ee8166ca0930bfd1e94b324b56e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 13 May 2024 18:17:57 +1000 Subject: [PATCH] data: fix tablet file for the Huion Inspiroy 2S (#686) --- data/huion-inspiroy-2-s---h641p.tablet | 49 +++- data/layouts/huion-inspiroy-2-s---h641p.svg | 301 ++++++++++++++------ 2 files changed, 249 insertions(+), 101 deletions(-) diff --git a/data/huion-inspiroy-2-s---h641p.tablet b/data/huion-inspiroy-2-s---h641p.tablet index 5d9a4ffb..28add042 100644 --- a/data/huion-inspiroy-2-s---h641p.tablet +++ b/data/huion-inspiroy-2-s---h641p.tablet @@ -1,25 +1,50 @@ -# 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 2S +# H641 # -# 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.25eW86cnXE.tar.gz +# https://github.com/linuxwacom/wacom-hid-descriptors/issues/379 +# +# Button Map: +# (A=1, B=2, C=3, ...) +# +# +----------------------------------+ +# | | +# A | | +# B | | +# C | | +# | | +# | | +# D | | +# E | | +# F | | +# | | +# +----------------------------------+ +# +# Dial Map: +# (A=1st ring, B=2nd ring, ...) +# +# *-----------------------* +# | | +# A | TABLET | +# | | +# *-----------------------* [Device] -Name=Inspiroy 2 S - H641P -ModelName=Inspiroy 2 S - H641P +Name=Inspiroy 2 S +ModelName=H641P Class=Bamboo -# Product ID is unknown, please fix -DeviceMatch=usb|256c|006e||HUION_T21j;usb|256c|006d||HUION_T21j;usb|256c|006f||HUION_T21j;usb|256c|0064||HUION_T21j; -Width=9 # autogenerated value, please fix -Height=6 # autogenerated value, please fix +DeviceMatch=usb|256c|0066||HUION_T21j; +Width=6 +Height=4 Layout=huion-inspiroy-2-s---h641p.svg Styli=@generic-no-eraser; IntegratedIn= [Features] -NumStrips=1 +NumStrips=0 NumRings=0 +NumDials=1 Reversible=true Stylus=true Touch=false diff --git a/data/layouts/huion-inspiroy-2-s---h641p.svg b/data/layouts/huion-inspiroy-2-s---h641p.svg index fe3a3fb4..b7dfb1ae 100644 --- a/data/layouts/huion-inspiroy-2-s---h641p.svg +++ b/data/layouts/huion-inspiroy-2-s---h641p.svg @@ -1,90 +1,213 @@ - - - - Inspiroy 2 S - H641P - - - - - A - , - - - B - , - - - C - , - - - D - , - - - E - , - - - F - + + + + + +Inspiroy 2 S - H641P + + +A +, + +B +, + +C +, + +D +, + +E +, + +F + + + + + +Up +Down + + + + + + +