Re: [PyOpenGL-Users] Mouse Wheel
Brought to you by:
mcfletch
|
From: Dick H. <en...@co...> - 2012-06-19 20:50:38
|
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 <en...@co...
> <mailto:en...@co...>> 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.
|