mouseCallback

Controls the mouse callback for the current window.
A mouse callback
A keyboard/mouse callback
A multi-touch variant of MouseCallback.
Controls the keyboard/mouse callback for the current window. The keyboard/mouse callback for a window is called when the state of a key or mouse button changes. The callback parameters indicate the new state of the key/button, the state of the keyboard modifiers, and the mouse location in window relative coordinates. Note that this is a convenience function that should not ordinarily be used in conjunction with keyboardCallback, keyboardUpCallback, specialCallback, specialUpCallback, or mouseCallback.
(freeglut only) A multi-touch variant of mouseCallback.