Irrlicht 3D Engine
SKeyMap.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __S_KEY_MAP_H_INCLUDED__
6 #define __S_KEY_MAP_H_INCLUDED__
7 
8 #include "Keycodes.h"
9 
10 namespace irr
11 {
12 
15  {
25 
27  EKA_FORCE_32BIT = 0x7fffffff
28  };
29 
31  struct SKeyMap
32  {
33  SKeyMap() {}
34  SKeyMap(EKEY_ACTION action, EKEY_CODE keyCode) : Action(action), KeyCode(keyCode) {}
35 
38  };
39 
40 } // end namespace irr
41 
42 #endif
43 
EKEY_CODE
Definition: Keycodes.h:11
Struct storing which key belongs to which action.
Definition: SKeyMap.h:31
Everything in the Irrlicht Engine can be found in this namespace.
Definition: aabbox3d.h:12
This value is not used. It only forces this enumeration to compile in 32 bit.
Definition: SKeyMap.h:27
EKEY_ACTION
enumeration for key actions. Used for example in the FPS Camera.
Definition: SKeyMap.h:14
EKEY_ACTION Action
Definition: SKeyMap.h:36
SKeyMap(EKEY_ACTION action, EKEY_CODE keyCode)
Definition: SKeyMap.h:34
EKEY_CODE KeyCode
Definition: SKeyMap.h:37