Re: Mouse Wheel
Dick Holmes <[email protected]>
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <[email protected]> |
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)
On 6/19/2012 1:03 PM, Ian Mallett wrote:
> On Mon, Jun 18, 2012 at 11:34 AM, Dick Holmes <[email protected]
> <mailto:[email protected]>> wrote:
>
> I am interested in using the mouse wheel in a GLUT environment. A
> search of the .py files turned up a reference to
> glutMouseWheelFunc, but when I tried to use it I received and
> error message indicating that the function did not exist. Is this
> feature supported? If so, can you tell me how to activate it?
>
> Thanks for you help!
>
> Dick Holmes
>
> Without more information, a quick Google search suggests this
> <http://stackoverflow.com/questions/10359407/how-to-use-freeglut-glutmousewheelfunc-in-pyopengl-program>
> might be helpful.
------------------------------------------------------------------------------
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