From 06d0dafcbf0a8d70a2adf98399fffcf7a5f3a673 Mon Sep 17 00:00:00 2001 From: "auria.mg" Date: Fri, 18 May 2018 21:23:31 -0400 Subject: [PATCH] Change default keyboard key for "back" in the UI, backspace can be accidentally triggered when trying to erase texte --- src/input/keyboard_config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/keyboard_config.cpp b/src/input/keyboard_config.cpp index 87f3a2ebe..d41c7293f 100644 --- a/src/input/keyboard_config.cpp +++ b/src/input/keyboard_config.cpp @@ -69,7 +69,7 @@ void KeyboardConfig::setDefaultBinds() setBinding(PA_MENU_LEFT, Input::IT_KEYBOARD, IRR_KEY_LEFT); setBinding(PA_MENU_RIGHT, Input::IT_KEYBOARD, IRR_KEY_RIGHT); setBinding(PA_MENU_SELECT, Input::IT_KEYBOARD, IRR_KEY_RETURN); - setBinding(PA_MENU_CANCEL, Input::IT_KEYBOARD, IRR_KEY_BACK); + setBinding(PA_MENU_CANCEL, Input::IT_KEYBOARD, IRR_KEY_ESCAPE); } //------------------------------------------------------------------------------