RE: Wacom Tablet Input



You might want to have a look at theGimp source code. It does this for sure. It uses Gtk. So, it must be possible.
 
-----Original Message-----
From: gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org]On Behalf Of Paul Davis
Sent: Thursday, September 14, 2006 3:44 PM
To: gtkmm-list gnome org
Subject: Wacom Tablet Input

I'm trying to figure out a way to distinguish input from a Wacom Table vs. the mouse, particularly in a on_motion_notify_event signal handler.


I've checked everything that looks relevant, but it all seems to be the same device as far as Gtk is concerned.

Specifically, in GdkEventMotion, using:

device->name
device->mode
device->source


All values are the same for the mouse, the stylus, and the eraser.  Has anyone found a way to distinguish inputs like this?


Thanks,
Paul
The information contained in this e-mail message is privileged and/or
confidential and is intended only for the use of the individual or entity
named above. If the reader of this message is not the intended
recipient, or the employee or agent responsible to deliver it to the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please immediately
notify us by telephone (330-668-5000), and destroy the original
message. Thank you.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]