Skip to content

Commit

Permalink
Improve Huion Inspiroy 2 m support (#699)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattie20 authored May 17, 2024
1 parent 84ad9d4 commit d2c6cc0
Show file tree
Hide file tree
Showing 2 changed files with 220 additions and 254 deletions.
60 changes: 46 additions & 14 deletions data/huion-inspiroy-2-m---h951p.tablet
Original file line number Diff line number Diff line change
@@ -1,29 +1,61 @@
# 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 2 M
# H951P
#
# sysinfo.nLrNAqLFy1.tar.gz
# https://github.com/linuxwacom/wacom-hid-descriptors/issues/383
#
#
# Button Map:
# (A=1, B=2, C=3, ...)
#
# *-----------------------*
# | |
# A D | |
# B E | |
# C F | |
# G | |
# | TABLET |
# H | |
# I | |
# J | |
# K | |
# | |
# *-----------------------*
#
#
# Dial Map:
# (A=1, B=2, C=3, ...)
#
# *-----------------------*
# | |
# | |
# A | TABLET |
# | |
# | |
# *-----------------------*
#
# 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

[Device]
Name=Inspiroy 2 M - H951P
ModelName=Inspiroy 2 M - H951P
Name=Huion Inspiroy 2 M
ModelName=H951P
Class=Bamboo
DeviceMatch=usb|256c|0067||HUION_T21k
Width=9 # autogenerated value, please fix
Height=6 # autogenerated value, please fix
DeviceMatch=usb|256c|0067;
Width=9
Height=6 # Technically rounds down to 5, but 6 seems more natural
IntegratedIn=
Layout=huion-inspiroy-2-m---h951p.svg
Styli=@generic-no-eraser;
IntegratedIn=

[Features]
NumStrips=0
NumRings=0
NumDials=1
Reversible=true
Stylus=true
Reversible=true
Touch=false
TouchSwitch=false
NumRings=0
NumDials=1
NumStrips=0

[Buttons]
Left=A;B;C;D;E;F;G;H;I;J;K
Expand Down
Loading

0 comments on commit d2c6cc0

Please sign in to comment.