keyDownCallback
Default mainpageApplicationkeyDownCallback
Description Source Call Graph
keyDownCallback ( Static Functions )
Creates a callback in FreeGLUT for when a key is pressed.
 
Syntax / parameters
void keyDownCallback(unsigned char key, int x, int y)

Name Type Default Description
key unsigned char
  The key pressed
x int
  The x coordinate of the mouse relative to the window The y coordinate of the mouse relative to the window
y int
   
Description
Creates a callback in FreeGLUT for when a key is pressed.
 
Source
The documentation for this Member was generated from the following file:
  • GLUTApplication.cpp