This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Offset brush coordinates based on tilt

Tags: None
(comma "," separated)
wufik
Registered Member
Posts
2
Karma
0
I'm using a Huion H950P tablet on a Windows 10 machine, and I have an issue with the quite large cursor offset based on pen tilt (as in, when the pen tip is held in place, and the pen angle and direction is changed, the recorded position of the cursor shifts in the direction the pen is leaning by amounts I consider too large for comfort).

I figured I could make the problem less noticeable by manually offsetting the brush position based on tilt, so that if, say, the pen is tilted 30 degrees to the left, and the cursor is therefore registered to the left of where it would be if the pen was held perpendicular to the tablet, I would tell Krita to draw the line offset to the right by a set amount, to compensate for the issue.

However, I didn't find any way to actually do that in Krita, so I am asking if this is at all possible, and if not, if anyone could suggest a different workaround to the problem.

This is my first post here, so apologies in advance if I broke some rule, or posted this in the wrong place

PS. For those curious why I even consider it a problem on a display-less tablet, I am experimenting with building a rudimentary tablet by combining a display-less device with an actual screen from a stripped down monitor, something I confirmed works reasonably well for a "budget" option, except for the unfortunate cursor offset issue, which becomes a large problem when you actually expect the cursor to be roughly in the exact same physical point as the pen tip.
ahabgreybeard
Registered Member
Posts
1269
Karma
11
OS
As far I can tell, there's no way to apply an offset to the brush position using any of the control inputs.
I can imagine that offset happening with tilt but it sounds dispruptive. Do any user reviews of the tablet mention that happening?
There's a possibility that you have a 'bad' tablet/stylus so have you contacted Huion to ask them about this?
wufik
Registered Member
Posts
2
Karma
0
Oh well, guess I'll just calibrate it to be accurate for a natural hand position, and see if that's good enough.

I happen to have a second pen and it behaves the same, so that's not the issue. For reviews, I didn't see anyone reporting that specific problem, but then again, it's not really noticeable when using the device as intended, I only noticed myself after attaching a screen. I'll see if Huion has anything interesting to say.
Lynx3d
Registered Member
Posts
31
Karma
0
OS
ahabgreybeard wrote:I can imagine that offset happening with tilt but it sounds dispruptive. Do any user reviews of the tablet mention that happening?


Yes the other day I finally found a more indepth youtube comparison of the 16" Cintiq and XP-Pen Artist variants, and it nicely demostrated the issue of the cursor moving off with tilt on the XP-Pen while it stayed (somewhat) nicely with Wacom.
That actually made me put my plans to get an XP-Pen on hold again...

Since Huion to my knowledge uses much the same UC-Logic controller hardware, I'd expect it to have the same issue.

Though when I saw people can hack an evdev input driver for unsupported Huion tablets in under 100 lines of Python code, I wondered how hard it would be to create a (wrapper) driver that implements stuff like advanced stylus calibration...but I didn't have much luck making myself familiar with X11 input, it seems to be rather hardcore "read the code yourself, there's no textual docs" stuff I'd prefer not want to deal with :P

-edit-
this is the video I was referring to: https://www.youtube.com/watch?v=0Q2tCvdcLII
shadowphile
Registered Member
Posts
2
Karma
0
this topic is a little stale but a big +1 on this. all digital pens I've used up to now have that annoying and disruptive behavior that I find impossible to take advantage of tilt ie side strokes with a 'pencil'.
Seems like it would be easy to add an 'offset' parameter to the list of pen settings. (Could also lead to some pretty quirky pens mapping offset to non-tilt control signals)


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]