huion-linux-drivers icon indicating copy to clipboard operation
huion-linux-drivers copied to clipboard

A few enhancements

Open pmetras opened this issue 5 years ago • 7 comments

This merge requests adds a few enhancements:

  • Driver launcher script
  • Tablet calibration
  • Multi pointer: the mouse on the primary screen and the pencil/stylet on the tablet
  • Ubuntu 16.04 LTS example with Huion Kamvas Pro 12" (GT-116) in documentation
  • New 5 buttons menu for Gimp and Krita that can be used on Kamvas Pro 12"

pmetras avatar Dec 31 '19 01:12 pmetras

There is an issue where if you turn off the driver (I run it in a terminal and use ctrl+C while I'm testing things) if multi-cursor is enabled (which it is by default). Leftover cursors can stay on screen or appear/disappear.

It could be user error on my part because I turn it off, but it's also caused by the lack of cleanup at the end of the program, which is also a thing on the main branch.

CNB-Kevin avatar Jan 02 '20 22:01 CNB-Kevin

Yes, multi-cursor on X is not reliable. There a bit of cleanup in the code when the driver is started again but it would be better to do it at the end of program, if there were a cleanup procedure before exiting.

pmetras avatar Jan 02 '20 22:01 pmetras

I finally had the opportunity to test the clean up code for multi-cursor (the tablet is 6000 km from my computer!). Leftover cursors when the driver is interrupted shouldn't remain on the screen and X should be more stable now.

pmetras avatar Feb 17 '20 10:02 pmetras

hey! first of all thank you for this miracle! everything is ok except i still have the residual pointers in my tablet. also while drawing i get a round semi transparent box around the cursor. and i have two residuals cursors on my tablet after i end the script that keep flickering. aaand while it works there is always one inactive cursor on the side of the tablet. so i have one moving with the mouse.one with the pen and one that just sits there. also even if i set multi cursor to false its still enabled oh sorry 18.04 version!

slagatoras avatar Apr 23 '20 18:04 slagatoras

My daughter who owns the tablet told me she has the same behaviour from time to time. She told me that there could be a conflict with Firefox too but I don't have the details. And I can't debug, only when I go and visit my daughter far from home... The multi-pointer part is really a hack. I hope a temporary one before we have a better driver.

pmetras avatar Apr 23 '20 20:04 pmetras

i see well even like that its still great!! but.. sorry really. i upgraded to 20.04 and i have this issue while running the code.would you happen to have any ideas as to why??i'll try to take a look at it tomorow since its past midnight here but i was just wondering!the problem is that the pointer is not directly folowing the pen unless i reach the far right of the screen. Screenshot from 2020-04-25 00-31-33 edit: it coudl just needed a reboot as now it works flawless . i did change the display settings using LXRandR but i dont know if its a coincidense! in any case i'll look into it a bit more tomorow

slagatoras avatar Apr 24 '20 21:04 slagatoras

Could it be that the calibration of the tablet is not correct? Or perhaps this pull request https://github.com/joseluis/huion-linux-drivers/pull/62 is correcting your issue?

pmetras avatar Apr 25 '20 01:04 pmetras