Re: Tablet events from ordinary touchpad?

2009-09-21 Thread Raleigh Ledet
Tablet proximity events are sent to the first responder of the window the cursor is over. Which is probably not what you want. You have two options: 1) On 10.6, add a local event monitor to catch proximity events directly by the objects that care. 2) Create your own NSApplication subclass and

Re: Tablet events from ordinary touchpad?

2009-09-21 Thread Uli Kusterer
Am 21.09.2009 um 21:05 schrieb Sander Stoks: However, I'm still not getting the tabletProximity: event in my NSView. In the Event Tabs Testbench I do see it. Is there anything special I must do to my NSView to receive these tablet-only events? I don't think there was anything special need

Re: Tablet events from ordinary touchpad?

2009-09-21 Thread Sander Stoks
Hello all, Thanks to the Event Taps Testbench by PreFab Software (thanks, Bill) I was able to confirm that the tablet was indeed sending out different events. The pressure value was correctly set to 1.0 by the "ordinary mouse" events (it was a typo elsewhere that caused my misinterpretat

Tablet events from ordinary touchpad?

2009-09-21 Thread Sander Stoks
Hello all, In a program I'm writing, I'm getting nice results from my Wacom tablet. However, I can't discern between "ordinary" mouse drags (via the trackpad on my MBP) and "real" Wacom events. The reason I want to do this is because the normal mouse events seem to have a bogus "pressur