Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Mouse Wheel in C++

Posted on 2004-08-23
1
Medium Priority
?
4,725 Views
Last Modified: 2013-12-26
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!
0
Comment
Question by:burly411
1 Comment
 
LVL 2

Accepted Solution

by:
bachra04 earned 560 total points
ID: 11896221
Please Have a Look at this link
I think it may help:
http://ecki.to/vim-icns/MouseWheel.diff



-BT
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
Ready to get certified? Check out some courses that help you prepare for third-party exams.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question