Allow navigating with TAB in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@13332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
f6685af2e1
commit
27a1509532
@ -531,6 +531,7 @@ void InputManager::dispatchInput(Input::InputType type, int deviceID,
|
|||||||
else if (button == KEY_RIGHT) action = PA_MENU_RIGHT;
|
else if (button == KEY_RIGHT) action = PA_MENU_RIGHT;
|
||||||
else if (button == KEY_SPACE) action = PA_MENU_SELECT;
|
else if (button == KEY_SPACE) action = PA_MENU_SELECT;
|
||||||
else if (button == KEY_RETURN) action = PA_MENU_SELECT;
|
else if (button == KEY_RETURN) action = PA_MENU_SELECT;
|
||||||
|
else if (button == KEY_TAB) action = PA_MENU_DOWN;
|
||||||
|
|
||||||
if (button == KEY_RETURN && GUIEngine::ModalDialog::isADialogActive())
|
if (button == KEY_RETURN && GUIEngine::ModalDialog::isADialogActive())
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user