I am attempting to include mouse wheel support in a opengl/glut implementation.
In linux under X-windows the scroll wheel comes up as a separate mouse button on the glut mouse event.
In Mac OSX v10.3.5 the mouse wheel does not appear under the glut mouse function. I have read that glut does not actually support the mouse wheel. How would I get mouse wheel support in a c++ opengl / glut app in Mac OSX?
I'm looking for a function that returns an integer for scroll up and an integer for scroll down.
Thanks!
Start Free Trial