mouseCallback
Controls the mouse callback for the current window.
A keyboard/mouse callback
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.