Signature
glutKeyboardFunc(
function
)
Specify handler for GLUT 'Keyboard' events def handler( (int) key, (int) x, (int) y ): return None
Parameters
Variables | Description |
---|---|
func |
The new keyboard callback function.
|
See Also
glutKeyboardUpFunc glutSpecialFunc glutCreateWindow glutMouseFunc glutSpaceballButtonFunc glutButtonBoxFunc glutTabletButtonFunc glutGetModifiersSample Code References
The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.
glutKeyboardFunc