I'm using the cgkit.wintab module in python to access x,y coordinates of my Wacom tablet. The command cgkit.wintab.Packet.x is supposed to give me the value of the x co-ordinate of the touch on the tablet. Instead I get the response <property object at (hex memory address)>.
How do I extract the value of the x co-ordinate from this object?
Thanks!
cgkit.wintab.Packet is a class. You need to look up x on an instance of the class, not the class itself.
How to get the value of a Property Object in Python?