Page MenuHome

Grease Pencil pressure sensitivity issue with Adesso Cyber tablet T12
Closed, ResolvedPublic


System Information
Operating system: Windows 10 x64
Graphics card: none

Blender Version
Broken: 2.80 BETA 1b6da95ccb11

Short description of error

I ran into an issue with any brush I select, where after I draw a line and let go, Blender thinks I pushed the pen down all the way and leaves a large pen stroke there, or it will slant up to where my pen left the tablet surface. This doesn’t happen every time usually, just like every other. I tried my tablet on other software (Pencil2D) and this does not happen.

Exact steps for others to reproduce the error

I opened the 2D template from the splash screen and began using the tablet to draw, switching from the pencil, to pen, to marker, etc... from time to time.

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.

Does this happen with the latest blender beta?

Yes, I just downloaded the recent one: January 29, 02:29:54 - 957b4547aeeb Blender 2.8 x64, and the above error still occurs.

Currently Blender uses WM_MOUSExxx and WM_xBUTTON events, as well as WM_POINTERUPDATE events where the pressure is processed. If the last WM_POINTERUPDATE event percieved the pen was off the screen before a WM_xBUTTONUP it may have set the pressure to full (the logic is so that users can remove the pen and draw with the mouse). I'm currently in the process of adding support for more of the WM_POINTERxxx events which should hopefully fix this.

Sebastian Parborg (zeddb) raised the priority of this task from Needs Information from User to Normal.

I'll assign this to you them. I hope it's ok.

Just to give an update to this. I've been working on this and I hope to have something put up for code review later this week. The new version uses the WM_POINTERxxx messages for Touch and Stylus and the GetPointerInfo, GetPointerPenInfo and GetPointerTouch info. So far it seems to be working well, I've just got a little more work to do with it and spend some time testing it. I also hope that this implementation will also fix issues some users have seen on Windows 8.