Advertisement

08.23.2004 at 10:28PM PDT, ID: 21104757
[x]
Attachment Details

Mouse Wheel in C++

Asked by burly411 in General Macintosh Programming

Tags: glut, mouse, wheel

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
[+][-]08.25.2004 at 12:15PM PDT, ID: 11896221

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: General Macintosh Programming
Tags: glut, mouse, wheel
Sign Up Now!
Solution Provided By: bachra04
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32