mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-21 09:39:56 +00:00
Allow Shoulder Buttons on Controller to act as Tab and Shift Tab in menus
This commit is contained in:
parent
b818414d82
commit
96178a2605
@ -183,6 +183,10 @@ namespace MWGui
|
||||
return switchFocus(D_Down, false);
|
||||
case MyGUI::KeyCode::Tab:
|
||||
return switchFocus(MyGUI::InputManager::getInstance().isShiftPressed() ? D_Prev : D_Next, true);
|
||||
case MyGUI::KeyCode::Period:
|
||||
return switchFocus(D_Prev, true);
|
||||
case MyGUI::KeyCode::Slash:
|
||||
return switchFocus(D_Next, true);
|
||||
case MyGUI::KeyCode::Return:
|
||||
case MyGUI::KeyCode::NumpadEnter:
|
||||
case MyGUI::KeyCode::Space:
|
||||
|
Loading…
x
Reference in New Issue
Block a user