This is a proposed fix for the GIMP pressure curve problem. Initially you must squash the pressure curve to make Networktablet properly function inside of GIMP. This fix allows you to use the entire curve by expanding the short int pessure value to a long using a ratio. This fixes the extremely tiny unmanagble pressure curve in GIMP 2.8.
This fix also makes the networktablet window a lot more pleasing to the eye. Included is a pressure bar that changes color and size depending on your last pressure applied to the screen, which updates in real time.
I would also like to propose a linear ramp between the larger values to make the transition smoother. This helps with the values lost at the driver level from the short to long int expansion.
What do you guys think?
I’m new to C++…but if you have any suggestions let me know!
Tested and functioning on Ubuntu 14.04 LTS Studio.
Without being able to see a direct mapping between tablet and screen, it seems like it would be useful to have the device behave more like a touchpad, that is, when it detects the pen, it starts moving the mouse, and when it loses the pen, it stops, and when it notices the pen in a different location, the mouse doesn’t jump.