Especially - API Documentation


void ES_keys

( unsigned char key, int x, int y )

A global function.

Documentation

A global function. This is the key-function loop. It is initialized by OpenGL and always called when a key is pressed. If you want any key action going on it should be here. The code is pretty much self explaining and easy to understand. See the official OpenGl documentation for further information. The default key settings are also in the API Documentation.

Parameters:
key - [unsigned char] code of the key pressed
x - [int] just don't use it
y - [int] just don't use this one either
See Also:
ES_keys_special

Alphabetic index



This page was generated with the help of DOC++.