haskell-opengl/GLUT — pull request #2 by zenzike (2012-02-13 02:08:08+00:00)
Title: Add keyboard/special/mouse callbacks.

While the `keyboardMouseCallback` is a useful convenience function, it's sometimes desirable to have access to a specific primitive callback. Since GLUT is a library binding, it makes sense to expose some of these primitive GLUT callbacks to the end user.

This patch adds the following callbacks: `keyboardCallback`, `keyboardUpCallback`, `specialCallback`, `specialUpCallback`, `mouseCallback`. The original `keyboardMouseCallback` has been left intact, and a note has been added to make it explicit that it shouldn't be used in conjunction with the new callbacks.