Pen Tablet reacts slowly

Andre Schmeißer schmeisser at iupr.org
Fri Nov 23 15:44:05 EST 2007


Andre Schmeißer wrote:

>> Did you do something else to detect a pen tablet event?
> 
> I think not.

Ok, I've forgot something, my code includes this:

l = gtk.gdk.devices_list()
for d in l:
     if d.source == gtk.gdk.SOURCE_PEN:
         if verbose: print d.name, d.mode, "#Axes:", d.num_axes, d.source
         d.set_mode(gtk.gdk.MODE_SCREEN)

because it seems the devices initially are all in mode gtk.gdk.MODE_DISABLED






More information about the Devel mailing list