summaryrefslogtreecommitdiff
path: root/src/keyboarddata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-08 02:53:09 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-08 03:27:51 +0300
commitad0fcc99678c13c6f6ebacead6ba2d573294163d (patch)
treed6550eb1ab13382544d7eb674b596a16c003302e /src/keyboarddata.h
parent4f73caba4497344c50ea245673493941d277699f (diff)
downloadplus-ad0fcc99678c13c6f6ebacead6ba2d573294163d.tar.gz
plus-ad0fcc99678c13c6f6ebacead6ba2d573294163d.tar.bz2
plus-ad0fcc99678c13c6f6ebacead6ba2d573294163d.tar.xz
plus-ad0fcc99678c13c6f6ebacead6ba2d573294163d.zip
Allow assign 3 keys to any action.
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,