GLUT Keyboard Callback

All keyboard callback functions take the form:

    def func(key, x, y):
         ...

key is the key pressed or released - either a single-character string (e.g. 'a'), or a special-key constant (e.g. GLUT_KEY_UP)

x, y is the mouse pointer location when the key event occurred