summaryrefslogtreecommitdiff
path: root/src/input/inputmanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/inputmanager.h')
-rw-r--r--src/input/inputmanager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index c76d5728c..6b0634a96 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -21,6 +21,7 @@
#ifndef INPUT_INPUTMANAGER_H
#define INPUT_INPUTMANAGER_H
+#include "input/inputaction.h"
#include "input/keyfunction.h"
#include "input/keydata.h"
@@ -129,7 +130,7 @@ class InputManager final
std::map<std::string, int> mNameMap;
- KeyFunction mKey[Input::KEY_TOTAL]; /**< Pointer to all the key data */
+ KeyFunction mKey[InputAction::TOTAL];
};
extern InputManager inputManager;