Tablet Pressure - 1.3
Eric Pavey (akeric)
A class giving you access to tablet pressure data in Pygame.
It requires the "Python Computer Graphics Kit" (cgkit) and specifically its wintab module:
Only works on windows (frown), since its an implementation of the wintab api. See homepage (link below) for pressureTest.py, simple pygame showing example usage (what the screenshot was made with), and other instructions.
Updated to version 1.3: Realized that I didnā??t need to track mouse position and button-presses in the Tablet class: Pygame (obviously) does all this for you. Solves a lot of problems. Tablet object now only returns back pressure info, which is all we really want from it anyway. The example 'Pressure Test' app has been updated as well to reflect this as well. Simpler, but better! Windows only.
Pygame.org account Comments
If you wish to leave a comment with your pygame.org account, please sign in first.