PDA

View Full Version : Mouse event



02-17-2002, 09:41 PM
Does anyone know which GL_" "_BUTTON should be used for a mac, since it only has one button?

Any help would be great. Thanks.

Confused in Collegeville.

Qwylli
02-19-2002, 03:09 AM
I think it is the left button.
But it's been long time since I using GLUT.

It's probably the middle button, bu I would bet it is the left butt.
Hope that help.

OneSadCookie
02-19-2002, 12:07 PM
GLUT_LEFT_BUTTON is the primary mouse button (ie the only button on most mac mice). On Mac OS X with GLUT.framework, the user can generate right- and middle- mouse events by holding option or command. If the user has a three-button mouse, the right- and middle- button events will be generated as normal.