keyboardMouseCallback :: SettableStateVar (Maybe KeyboardMouseCallback)
GLUT Graphics.UI.GLUT.Callbacks.Window
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.
type KeyboardMouseCallback = Key -> KeyState -> Modifiers -> Position -> IO ()
GLUT Graphics.UI.GLUT.Callbacks.Window
A keyboard/mouse callback