Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Mouse event

  1. #1
    Guest

    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.

  2. #2
    Intern Newbie
    Join Date
    Jun 2001
    Location
    North America, .
    Posts
    36

    Re: Mouse event

    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.
    Did you know that trekbbs use the same bbs engine???

  3. #3
    Advanced Member Frequent Contributor
    Join Date
    Dec 2001
    Location
    Wellington, New Zealand
    Posts
    548

    Re: Mouse event

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •