Re: Mouse Wheel
Ian Mallett <[email protected]>
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <CAG4NV=sYBHNQa1Ksi6Bwz9ZBe2aXZQQjRyVQXu=-e9itWL9A_g@mail.gmail.com> |
On Tue, Jun 19, 2012 at 1:50 PM, Dick Holmes <[email protected]> wrote: > Ian, > > I renamed the glut32.dll as suggested in your referenced web page and > copied freeglut.dll to the dlls directory. My program runs without any > error messages, but the mouse wheel function isn't invoked. The relevant > code is: > > def wheel(button, direction, x, y): > print button, direction, x, y > ... > glutMouseWheelFunc(wheel) > I don't know then. As an aside, perhaps try using PyGame (Python port of SDL) instead? GLUT is not as flexible, and in my experience, it is buggy. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net _______________________________________________ PyOpenGL-Users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyopengl-users