1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
\r
2 // This file is part of the "Irrlicht Engine".
\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
\r
5 #ifndef __S_KEY_MAP_H_INCLUDED__
\r
6 #define __S_KEY_MAP_H_INCLUDED__
\r
8 #include "Keycodes.h"
\r
13 //! enumeration for key actions. Used for example in the FPS Camera.
\r
16 EKA_MOVE_FORWARD = 0,
\r
26 //! This value is not used. It only forces this enumeration to compile in 32 bit.
\r
27 EKA_FORCE_32BIT = 0x7fffffff
\r
30 //! Struct storing which key belongs to which action.
\r
34 SKeyMap(EKEY_ACTION action, EKEY_CODE keyCode) : Action(action), KeyCode(keyCode) {}
\r
40 } // end namespace irr
\r