Elin
05-16-2003, 04:09 AM
Hey all,
I have ported some code from win32 to mac os x using glut. The only problem left is a 2button mouse. glutGetDevice(GLUT_NUM_MOUSE_BUTTONS) gets the right number of buttons, but glutMouseFunc doesnīt do anything. The keyboard functions both work fine, the mouse works at least with windows, so the mouse callback seems to be okay (in principle).
Am I missing something about using mouses on the mac, an USE_THE_MOUSE_NOW-flag maybe? http://www.opengl.org/discussion_boards/ubb/smile.gif
thanks
Elin
I have ported some code from win32 to mac os x using glut. The only problem left is a 2button mouse. glutGetDevice(GLUT_NUM_MOUSE_BUTTONS) gets the right number of buttons, but glutMouseFunc doesnīt do anything. The keyboard functions both work fine, the mouse works at least with windows, so the mouse callback seems to be okay (in principle).
Am I missing something about using mouses on the mac, an USE_THE_MOUSE_NOW-flag maybe? http://www.opengl.org/discussion_boards/ubb/smile.gif
thanks
Elin