What is the mouse wheel parameters (for glutMouseFunc) ?

Started by
0 comments, last by cwchan 22 years, 5 months ago
Hi, beginner here. I am developing an OpenGL simple program under VC++6.0. Hereby just wondering what is the correct code of mouse wheel for glutMouseFunc() (For example, GLUT_LEFT_BUTTON for left mouse button). I wish to define it so that I can use it to zoom in/out the object inside window. Thanks and hope to hear from you.
Advertisement
The documentation is here. I don''t think you can get to it from glut. At best it is going to be translated to keystrokes. You might be able to get to it through DirectInput though.
Keys to success: Ability, ambition and opportunity.

This topic is closed to new replies.

Advertisement