summaryrefslogtreecommitdiff
path: root/src/keyboarddata.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyboarddata.h')
-rw-r--r--src/keyboarddata.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/keyboarddata.h b/src/keyboarddata.h
index b6ae17815..7ade46d6e 100644
--- a/src/keyboarddata.h
+++ b/src/keyboarddata.h
@@ -26,6 +26,7 @@
#include "actionmanager.h"
#include "inputmanager.h"
#include "keyboardconfig.h"
+#include "keydata.h"
#include "localconsts.h"
#include "utils/gettext.h"
@@ -33,17 +34,6 @@
#include <string>
-struct KeyData
-{
- const char *configField;
- int defaultValue;
- int grp;
- ActionFuncPtr action;
- int modKeyIndex;
- int priority;
- int condition;
-};
-
// keyData must be in same order as enum keyAction.
static KeyData const keyData[KeyboardConfig::KEY_TOTAL] = {
{"keyMoveUp", SDLK_UP,