summaryrefslogtreecommitdiff
path: root/src/input/keyboarddata.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-02 13:40:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-02 13:40:42 +0300
commitfa4ce6cc00f1d3029ccfe7fd02cca29d4147bfb3 (patch)
tree8f3950de53b13b8b9071d3006121f050ea9c23d2 /src/input/keyboarddata.h
parent07518d71fdcb0c16ea8ece1993b6448839346092 (diff)
downloadManaVerse-fa4ce6cc00f1d3029ccfe7fd02cca29d4147bfb3.tar.gz
ManaVerse-fa4ce6cc00f1d3029ccfe7fd02cca29d4147bfb3.tar.bz2
ManaVerse-fa4ce6cc00f1d3029ccfe7fd02cca29d4147bfb3.tar.xz
ManaVerse-fa4ce6cc00f1d3029ccfe7fd02cca29d4147bfb3.zip
Dehardcode Fx keys in chat window.
Diffstat (limited to 'src/input/keyboarddata.h')
-rw-r--r--src/input/keyboarddata.h85
1 files changed, 85 insertions, 0 deletions
diff --git a/src/input/keyboarddata.h b/src/input/keyboarddata.h
index e6bafb61b..a3fbbeab5 100644
--- a/src/input/keyboarddata.h
+++ b/src/input/keyboarddata.h
@@ -2087,6 +2087,91 @@ static const KeyData keyData[Input::KEY_TOTAL] = {
&ActionManager::openTrade,
Input::KEY_NO_VALUE, 50,
COND_GAME | COND_NOTARGET},
+
+ {"keyGUIF1",
+ INPUT_KEYBOARD, SDLK_F1,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF2",
+ INPUT_KEYBOARD, SDLK_F2,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF3",
+ INPUT_KEYBOARD, SDLK_F3,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF4",
+ INPUT_KEYBOARD, SDLK_F4,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF5",
+ INPUT_KEYBOARD, SDLK_F5,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF6",
+ INPUT_KEYBOARD, SDLK_F6,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF7",
+ INPUT_KEYBOARD, SDLK_F7,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF8",
+ INPUT_KEYBOARD, SDLK_F8,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF9",
+ INPUT_KEYBOARD, SDLK_F9,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF10",
+ INPUT_KEYBOARD, SDLK_F10,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF11",
+ INPUT_KEYBOARD, SDLK_F11,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
+ {"keyGUIF12",
+ INPUT_KEYBOARD, SDLK_F12,
+ INPUT_UNKNOWN, Input::KEY_NO_VALUE,
+ Input::GRP_GUICHAN | Input::GRP_CHAT,
+ nullptr,
+ Input::KEY_NO_VALUE, 50,
+ COND_DEFAULT},
};
#endif // INPUT_KEYBOARDDATA_H