mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
Merge branch 'controller_can_tab' into 'master'
Allow Shoulder Buttons on Controller to act as Tab and Shift Tab in menus Closes #7554 See merge request OpenMW/openmw!3397
This commit is contained in:
commit
fe68ff7807
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue