Using Python for a Wacom tablet on Mac & Linux
Pergunta
I am shortly going to buy a Wacom Bamboo Pen&Touch, and I'd like to be able to access it from Python, preferably using PyQt. I've found a Python module for accessing it under windows (cgkit/wintab) and I've seen Python code for accessing it using GTK (GnomeTabletApps).
Is there an equivalent for Mac? The Cocoa documentation provided by Wacom is way beyond me.
Solução
PySide's QTabletEvent works on Mac. I have also used it on Ubuntu. http://www.pyside.org/docs/pyside/PySide/QtGui/QTabletEvent.html#PySide.QtGui.QTabletEvent
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow