Created
August 6, 2020 04:24
-
-
Save mariacamilarg/91a11a99ad7aa30d8cf9e3738ef4dc33 to your computer and use it in GitHub Desktop.
How to configure Huion HS610 in Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# installing | |
git clone https://github.com/DIGImend/digimend-kernel-drivers | |
cd digimend-kernel-drivers | |
dpkg-buildpackage -b -uc | |
sudo dpkg -i ../digimend-dkms_10_all.deb | |
# sudo reboot | |
# uninstalling | |
sudo modprobe -r hid-kye hid-uclogic hid-polostar hid-viewsonic | |
sudo apt-get remove digimend-dkms | |
# sudo reboot | |
# config keys | |
cd /etc/X11 | |
sudo mkdir xorg.conf.d | |
cd xorg.conf.d | |
sudo gedit 50-huion-hs610.conf | |
# write this: | |
#Section "InputClass" | |
# Identifier "Tablet" | |
# Driver "wacom" | |
# MatchDevicePath "/dev/input/event*" | |
# MatchUSBID "256c:006d" | |
#EndSection | |
#sudo reboot | |
# see all input pads | |
xsetwacom --list | |
#You should see something like this (with the tablet plugged in): | |
#HUION Huion Tablet Pad pad id: 17 type: PAD | |
#HUION Huion Tablet Pen stylus id: 18 type: STYLUS | |
#HUION Huion Tablet Touch Ring pad id: 19 type: PAD | |
#HUION Huion Tablet Dial pad id: 20 type: PAD | |
# view the options for each pad | |
xsetwacom -s --get "HUION Huion Tablet Touch Ring pad" all | |
# set specific keys | |
xsetwacom --set "HUION Huion Tablet Pad pad" Button 1 "key ctrl" "key z" | |
xsetwacom --set "HUION Huion Tablet Pad pad" Button 2 "key ctrl" "key y" | |
xsetwacom --set "HUION Huion Tablet Pad pad" Button 3 "key ctrl" "key 1" | |
xsetwacom --set "HUION Huion Tablet Pad pad" Button 8 "key ctrl" "key 2" | |
xsetwacom --set "HUION Huion Tablet Pad pad" Button 9 "key ctrl" "key 3" | |
xsetwacom --set "HUION Huion Tablet Pad pad" Button 10 "key ctrl" "key 4" | |
xsetwacom --set "HUION Huion Tablet Pad pad" Button 11 "key ctrl" "key 5" | |
xsetwacom --set "HUION Huion Tablet Pad pad" Button 12 "key ctrl" "key 6" | |
# xsetwacom --set "HUION Huion Tablet Pad pad" Button 3 "key ctrl" "key shift" "key p" | |
# xsetwacom --set "HUION Huion Tablet Pad pad" Button 8 "key ctrl" "key shift" "key t" | |
xsetwacom --set "HUION Huion Tablet Touch Ring pad" Suppress 0 | |
xsetwacom --set "HUION Huion Tablet Touch Ring pad" RelWheelDown "key ctrl" "key shift" "key plus" # zoom in | |
xsetwacom --set "HUION Huion Tablet Touch Ring pad" AbsWheelDown "key ctrl" "key shift" "key plus" # zoom in | |
xsetwacom --set "HUION Huion Tablet Touch Ring pad" RelWheelUp "key ctrl" "key minus" # zoom out | |
xsetwacom --set "HUION Huion Tablet Touch Ring pad" AbsWheelUp "key ctrl" "key minus" # zoom out | |
# references: | |
# http://www.magicbluesmoke.org/getting-a-huion-hs610-working-in-linux/ | |
# https://github.com/DIGImend/digimend-kernel-drivers/issues/275 | |
# https://github.com/linuxwacom/xf86-input-wacom/wiki/xsetwacom | |
# https://github.com/xournalpp/xournalpp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment