Krig Game Engine
Classes | Macros
KeyState.h File Reference

Lookup state of all keyboard keys. More...

Go to the source code of this file.

Classes

class  KeyState
 

Macros

#define MAX_KEYS   256
 
#define KEY_STATE_INIT   -1
 
#define KEY_STATE_PRESSED   1
 
#define KEY_STATE_RELEASED   2
 

Detailed Description

Lookup state of all keyboard keys.

Determine whether a given keyboard key is being pressed, has been released, or has not been pressed at all.