I am using Huion H1060P Drawing tablet for a while now, I was facing issue setting up the physical button on pad and stylus. Using AUR's official package have some glitches, major one was that when I draw it will flicker the cursor and push it to top left corner of screen and bring back in milliseconds. To fix this issue I use xsetwacom
and it was also a challenge in it self for my tablet, lets fix the issue.Installing the required packagesNote: Make sure you have any AUR helper installed.
Find the ID & name for your device
My Sample Output
Now you need to test which device is the stylus and which is the pad.
Now if you get any output, then it's your stylus. See, I put 18
, which corresponds to the HUION HUION Tablet_H1060P Pen stylus
. So now I know it is my pen. If you don't see any output, then try changing the test ID.
Similarly, do it for the tablet, look for the keyword, such as tablet, pad, etc. In my case, it's HUION HUION Tablet_H1060P Pad pad
with ID 20, so I will again test it with xinput test 20
and then press the button on the tablet. If I get output, I am right, else, change the ID to something else from the list.
Now set the stylus and pad button to keys
Create a bash file to update the keys for pad and stylus. I will call it huionKeySetup.sh
.
Here you can see how I have set the key combination and buttons. Button 1
is your mouse primary click, Button 2
is your middle click and Button 3
is your right click.
Note: Make sure to check which
Button 1
crossponds to which key on your tablet. For meButton 8
crossponds to 4th button on my tablet
Now you need to run this bash file at startup and all set. Thank you for reading.
Stay Informed with Wedoes Blog