On Thu, Oct 21, 2010 at 12:51 AM, Richard Jones <[email protected]>wrote:
> On Thu, Oct 21, 2010 at 4:58 AM, Bruce Smith <[email protected]> wrote: > > On Tue, Oct 19, 2010 at 10:41 PM, Richard Jones <[email protected]> > >> pyglet on OS X appears to be in a bit of a bad state at the moment. > >> The current development version is based on Carbon, which is a number > >> of years out of date, and broken to boot (e.g. on_mouse_drag doesn't > >> get buttons). ... > > > > About that bug specifically (on_mouse_drag doesn't get buttons) -- I > think > > this showed up for me when I switched to Snow Leopard. > > It's not just drag - it's any mouse event involving buttons with any > device (including trackpad). Attempting to get the > kEventParamMouseChord results in nothing being returned. > I am pretty sure I posted this back when the problem first surfaced, but anyway, for some reason you need to use GetCurrentEventButtonState() instead. -- Tristam MacDonald http://swiftcoder.wordpress.com/ -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en.
