On Mon, Sep 24, 2012 at 11:32 PM, Adam Griffiths
<
adam.lw....@gmail.com> wrote:
> I'm interested if you see the mouse issue still.
> I have a feeling there's a regression there.
> When I used Rabbyt, I found the Y axis was inverted; dragging GUI elements
> down, moved them up.
I think this is a Mac OS X thing - I've got pyglet 1.2a1 running on
both Mac OS X and Linux (centos 6.2) and the coordinates I get out of
the mouse events on OS X are inverted in Y. I recall from another
project I was involved with (Blender), I think this was something
happening on the OS level, it's just a difference in the coordinate
system that Cocoa uses for mouse events compared to other OSes.
What I've been doing in my pyglet script is:
if platform.system() != 'Darwin': dy = -dy
where I need to query mouse y values. It probably would be a lot nicer
to have this compensated for within pyglet though...
cheers
Matt