mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-27 05:28:37 -06:00
added huion tablet script
This commit is contained in:
parent
5103cccde2
commit
4434956890
1 changed files with 20 additions and 0 deletions
20
huion-tablet-setup.sh
Executable file
20
huion-tablet-setup.sh
Executable file
|
@ -0,0 +1,20 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Steps for setting up the drivers of Huion Inspiroy H640P
|
||||||
|
|
||||||
|
# git clone https://github.com/Huion-Linux/DIGImend-kernel-drivers-for-Huion
|
||||||
|
# cd DIGImend-kernel-drivers-for-Huion
|
||||||
|
# sed -i 's/SUBDIRS=/M=/' Makefile
|
||||||
|
# sudo make dkms_install
|
||||||
|
|
||||||
|
# Make sure to install xf86-input-wacom (might have to restart)
|
||||||
|
# Add this script to autostart
|
||||||
|
|
||||||
|
xsetwacom --set 'HID 256c:006d Pen stylus' Button 2 "1"
|
||||||
|
xsetwacom --set 'HID 256c:006d Pen stylus' Button 3 "3"
|
||||||
|
xsetwacom --set 'HID 256c:006d Pad pad' Button 1 "1"
|
||||||
|
xsetwacom --set 'HID 256c:006d Pad pad' Button 2 "3"
|
||||||
|
xsetwacom --set 'HID 256c:006d Pad pad' Button 3 "4"
|
||||||
|
xsetwacom --set 'HID 256c:006d Pad pad' Button 8 "5"
|
||||||
|
xsetwacom --set 'HID 256c:006d Pad pad' Button 9 "key +ctrl +z -z -ctrl"
|
||||||
|
xsetwacom --set 'HID 256c:006d Pad pad' Button 10 "key +ctrl +y -y -ctrl"
|
Loading…
Reference in a new issue