As above, I had problems with the original download (on OS X 10.5.6, python 2.52). fix.py seemed to work fine, although I couldn't make the image button or the horizontal thermometer-looking widget do anything. mousetest.py gave the following results -266,525 -- upper left 512,522 -- upper right 506,-57 -- lower right -237,-57 -- lower left moving the window around and retesting gave basically the same values
On Apr 28, 9:12 pm, Derick <[email protected]> wrote: > In an attempt to try and figure out why the mouse isn't working > properly, I've added a new download at > > http://code.google.com/p/pygag/ > > called pygagtest. Its basically the same download as before, but there > are two additional files. > > The optimistically named 'fix.py' file tries passing the mouse > position slightly differently than before. Originally, I was only > keeping track of updates to the mouse position; now, I'm passing in > the absolute coordinates. Normally, when I run the program, pyglet > posts a mouse motion event immediately, even before the mouse moves, > with the motion values effectively equal to the current position. I'm > not sure this is happening in all cases. > > The second file is called 'mousetest.py'. It simply makes a log file > (log.txt) of where the gui believes the mouse is currently located. If > some of you who are having could run this program, and post the > results, I would appreciate it. Probably the best thing to do is click > the mouse near the 4 corners of the window, and let me know which > corner is associated with each set of values. This might give me an > idea of what's going on. > > Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
