RE: Wacom Tablet Input
- From: "Butler, Gerald" <GButler jewels com>
- To: "Paul Davis" <pjdavis engineering uiowa edu>, <gtkmm-list gnome org>
- Subject: RE: Wacom Tablet Input
- Date: Thu, 14 Sep 2006 15:57:37 -0400
You might want to
have a look at theGimp source code. It does this for sure. It uses Gtk. So, it
must be possible.
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]