Here are the python classes I used for adding pressure sensitivity to MyPaint. Two files:
- evdev.py does all the hard work of reading /dev/input/event* devices
- pandora.py uses evdev.py to present the touchscreen data in an easy way. Currently it is optimized for pressure values of the stylus.
At the bottom of pandora.py is a small example of how to use it.
I hope it is useful!
pandora.tar.gz
- evdev.py does all the hard work of reading /dev/input/event* devices
- pandora.py uses evdev.py to present the touchscreen data in an easy way. Currently it is optimized for pressure values of the stylus.
At the bottom of pandora.py is a small example of how to use it.
I hope it is useful!
pandora.tar.gz