Mouse event

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.

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.

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.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.