View Single Post
Posts: 17 | Thanked: 15 times | Joined on May 2010
#399
Originally Posted by anders_gud View Post
Just add:
print event.get_axis(gtk.gdk.AXIS_X)
print event.get_axis(gtk.gdk.AXIS_Y)
at line 26
Thanks Anders.

I changed that to the following in order to display all one one line

Code:
print "@(", int(event.get_axis(gtk.gdk.AXIS_X)), ",",
print int(event.get_axis(gtk.gdk.AXIS_Y)), ") p =",
and can confirm that a hard press produces a value around 0.04 and a light touch around 0.26

(PR1.1.1 on my phone, if that makes any difference).
 

The Following 3 Users Say Thank You to witchole For This Useful Post: