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.