[Add] Added 'any' modifier to always work.

This commit is contained in:
Allanis 2014-03-15 19:58:03 +00:00
parent 1a8c08c4c2
commit af0ad658c2
2 changed files with 3 additions and 2 deletions

View File

@ -278,6 +278,7 @@ int conf_loadConfig(const char* file) {
else if(strcmp(mod, "ralt") ==0) m = KMOD_RALT;
else if(strcmp(mod, "lmeta") ==0) m = KMOD_LMETA;
else if(strcmp(mod, "rmeta") ==0) m = KMOD_RMETA;
else if(strcmp(mod, "any") ==0) m = KMOD_ALL;
else {
WARN("Unkown keybinding mod of type %s", mod);
m = KMOD_NONE;

View File

@ -227,7 +227,7 @@ int input_getKeybind(char* keybind, KeybindType* type, SDLMod* mod, int* reverse
}
/**
*
* @brief Get the description of the keybinding
*/
const char* input_getKeybindDescription(char* keybind) {
int i;