Use Linux. (On Linux, Glut returns mouse wheel events as buttons 4 and
5), or use FreeGlut. On both Windows and Linux freeglut returns mouse
wheel events as buttons 4 and 5.
Gary Herron
Didn't I answer this already?
GLUT on windows usually does not catch mousewheel events for me.
(Although it seems to me that is has worked sporadically over past years
and versions.) GLUT on Linux does catch wheel events nicely -- but
read on anyway...
Freeglut (which is open source) is an (almost) direct binary replacement
for GLUT, and it *does* catch mousewheel events. (On both Windows and
Linux.)
Is there a reason this answer is not satisfactory? If you're not
*forced* to use GLUT, use FREEGLUT and your problem is solved with no
additional work.
If you *are* forced to use GLUT, rebel. GLUT has not been maintained
for more than 10 years, is showing its age, and is licensed in such a
way that you can't modify it. Use FREEGLUT instead: see
http://freeglut.sourceforge.net/
> Didn't I answer this already?
If you did, for whatever reason I didn't see it; I just rechecked my
inbox to be sure. Thanks for doing so again!
I assume, given the list we're on, that Freeglut can be used with
Python. I'll look into it. Thanks for the pointer!
Gary Herron
:-)
Gary Herron