Pardon my ignorance, I've accessed this stuff via NSEvent in c++ but am 
unsure how this would be done in a pyglet compatible way.  I've tried 
adding listeners to the window for the handlers defined in the tablet, and 
I've tried enumerating and opening the devices directly with no luck.   Am 
I supposed to use pyobjc or NSpython? 

Cheers


On Wednesday, April 20, 2016 at 12:06:27 PM UTC-4, swiftcoder wrote:
>
> I don't know what Pyglet's support for tablets is like at the moment, but 
> Wacom provides excellent documentation as to accessing tablet events on Mac:
>
> http://www.wacomeng.com/mac/Developers%20Guide.htm
>
> At this point I don't honk any mucking around in Carbon or HID is 
> required. The standard Cocoa NSEvent object carries everything you need, 
> which should make it easy to expose to pyglet.
> On Wed, Apr 20, 2016 at 9:00 AM, Tristam MacDonald <[email protected] 
> <javascript:>> wrote:
>
>> Aren't the 
>>
>> On Wed, Apr 20, 2016 at 9:00 AM, Tristam MacDonald <[email protected] 
>> <javascript:>> wrote:
>>
>>>
>>> On Wed, Apr 20, 2016 at 7:57 AM, future stack <[email protected] 
>>> <javascript:>> wrote:
>>>
>>>> Hello - I'm curious what the state of tablet support is on osx and if 
>>>> someone can provide me with an example of how to read pen pressure from a 
>>>> stylus?
>>>>
>>>> I've attached my attempt from a few days ago, but I've been informed 
>>>> that my approach is wrong.
>>>>
>>>> A friend linked me to this page:
>>>>
>>>>
>>>> https://github.com/jpaalasm/pyglet/blob/master/experimental/input/tablet-notes.txt#L37
>>>>
>>>> which says that events are subscribeable via carbon or HID, but I can't 
>>>> find a working example of this anywhere.
>>>>
>>>> I also found this:
>>>> https://bitbucket.org/AnomalousUnderdog/pythonmactabletlib/downloads
>>>>
>>>> but this requires wxwidgets to work, which is apparently still 32 bit, 
>>>> and downgrading my python to get this to work seems less than ideal.
>>>>
>>>> Am I barking up the wrong tree(s)?   Any leads would be appreciated.
>>>>
>>>> Andrew
>>>>
>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "pyglet-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected] <javascript:>.
>>>> To post to this group, send email to [email protected] 
>>>> <javascript:>.
>>>> Visit this group at https://groups.google.com/group/pyglet-users.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to