Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few enhancements #53

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

A few enhancements #53

wants to merge 11 commits into from

Conversation

pmetras
Copy link

@pmetras pmetras commented Dec 31, 2019

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"

Copy link

@CNB-Kevin CNB-Kevin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Crash at line 317 of huion-tablet-driver.py when the user only has 1 monitor.

huion-tablet-driver.py Outdated Show resolved Hide resolved
@CNB-Kevin
Copy link

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.

@pmetras
Copy link
Author

pmetras commented Jan 2, 2020

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.

Introduces a constant so that users can specify their output monitor for calibrate_mapping(). 
This expands on the bug fix mentioned here joseluis#53 (comment)
pmetras and others added 2 commits February 17, 2020 04:50
Create constant XOUTPUT_DEVICE_ARGUMENT to control calibrate_mapping
@pmetras
Copy link
Author

pmetras commented Feb 17, 2020

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.

@slagatoras
Copy link

slagatoras commented Apr 23, 2020

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!

@pmetras
Copy link
Author

pmetras commented Apr 23, 2020

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.

@slagatoras
Copy link

slagatoras commented Apr 24, 2020

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

@pmetras
Copy link
Author

pmetras commented Apr 25, 2020

Could it be that the calibration of the tablet is not correct?
Or perhaps this pull request #62 is correcting your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants