From ad0fcc99678c13c6f6ebacead6ba2d573294163d Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 8 Apr 2012 02:53:09 +0300 Subject: Allow assign 3 keys to any action. --- src/keyboarddata.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/keyboarddata.h') 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 -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, -- cgit v1.2.3-70-g09d2