summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-11-16 19:53:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-11-16 19:53:24 +0300
commitf18489753fb66394ca3683d070d1ba7b4494deb7 (patch)
tree61ced7201d31dc8cbab21f8b14b352a7bd0eb97c /src/input
parent6b981b572854798901816ddccf7cb343690ca8f1 (diff)
downloadplus-f18489753fb66394ca3683d070d1ba7b4494deb7.tar.gz
plus-f18489753fb66394ca3683d070d1ba7b4494deb7.tar.bz2
plus-f18489753fb66394ca3683d070d1ba7b4494deb7.tar.xz
plus-f18489753fb66394ca3683d070d1ba7b4494deb7.zip
add new gui keys for some letters.
Diffstat (limited to 'src/input')
-rw-r--r--src/input/keyboarddata.h79
-rw-r--r--src/input/keydata.h11
2 files changed, 89 insertions, 1 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index 42b8f9fc6..ce4f35510 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -1974,7 +1974,84 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
Input::GRP_DEFAULT,
&ActionManager::moveForward,
Input::KEY_NO_VALUE, 50,
- COND_GAME}
+ COND_GAME},
+ {"keyGUICtrl",
+ INPUT_KEYBOARD, SDLK_LCTRL,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIb",
+ INPUT_KEYBOARD, SDLK_b,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIc",
+ INPUT_KEYBOARD, SDLK_c,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUId",
+ INPUT_KEYBOARD, SDLK_d,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIe",
+ INPUT_KEYBOARD, SDLK_e,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIf",
+ INPUT_KEYBOARD, SDLK_f,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIh",
+ INPUT_KEYBOARD, SDLK_h,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIk",
+ INPUT_KEYBOARD, SDLK_k,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIu",
+ INPUT_KEYBOARD, SDLK_u,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIv",
+ INPUT_KEYBOARD, SDLK_v,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIw",
+ INPUT_KEYBOARD, SDLK_w,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT}
};
#endif // INPUT_KEYBOARDDATA_H
diff --git a/src/input/keydata.h b/src/input/keydata.h
index aea8c9244..6c2d6901c 100644
--- a/src/input/keydata.h
+++ b/src/input/keydata.h
@@ -342,6 +342,17 @@ namespace Input
KEY_SHOW_WINDOWS,
KEY_CHAT_MOD,
KEY_MOVE_FORWARD,
+ KEY_GUI_CTRL,
+ KEY_GUI_B,
+ KEY_GUI_C,
+ KEY_GUI_D,
+ KEY_GUI_E,
+ KEY_GUI_F,
+ KEY_GUI_H,
+ KEY_GUI_K,
+ KEY_GUI_U,
+ KEY_GUI_V,
+ KEY_GUI_W,
KEY_TOTAL
};
} // namespace Input