diff --git a/RetroFE/Source/Control/UserInput.cpp b/RetroFE/Source/Control/UserInput.cpp index 170c58c..7b32c3d 100644 --- a/RetroFE/Source/Control/UserInput.cpp +++ b/RetroFE/Source/Control/UserInput.cpp @@ -31,7 +31,6 @@ const key_names_s key_names[] = { sed 's/^#define \([^ \t]\+\)[ \t]*\([^\ \t]\+\)/ { \"\1\",\t\2 },/' /usr/include/linux/input.h */ { "KEY_RESERVED", SDLK_UNKNOWN }, - { "KEY_FIRST", SDLK_FIRST }, { "Escape", SDLK_ESCAPE }, { "1", SDLK_1 }, { "2", SDLK_2 }, @@ -237,7 +236,7 @@ bool UserInput::MapKey(std::string keyDescription, KeyCode_E key, bool required) bool found = false; - if (scanCode != SDLK_UNKNOWN || !strcmp(token.c_str(),"SDLK_FIRST") ) + if (scanCode != SDLK_UNKNOWN) { Logger::write(Logger::ZONE_INFO, "Input", "Binding key " + configKey + ", Key Value: " + std::to_string(scanCode)); keyHandlers_.push_back(std::pair(new KeyboardHandler(scanCode), key)); diff --git a/RetroFE/Source/Menu/MenuMode.cpp b/RetroFE/Source/Menu/MenuMode.cpp index 8e77bd8..c098370 100644 --- a/RetroFE/Source/Menu/MenuMode.cpp +++ b/RetroFE/Source/Menu/MenuMode.cpp @@ -606,7 +606,6 @@ void MenuMode::launch( ) break; case SDLK_q: - case SDLK_FIRST: case SDLK_ESCAPE: stop_menu_loop = 1; break;