Link to home
Start Free TrialLog in
Avatar of burly411
burly411

asked on

Mouse Wheel in C++

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!
ASKER CERTIFIED SOLUTION
Avatar of bachra04
bachra04
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial