mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-07-12 18:03:52 +00:00
Allow toggling through combo box options using left/right on gamepads/keyboards
This commit is contained in:
@@ -50,4 +50,12 @@ ComboBox {
|
||||
popup.onAboutToHide: {
|
||||
SdlGamepadKeyNavigation.setUiNavMode(true)
|
||||
}
|
||||
|
||||
Keys.onLeftPressed: {
|
||||
decrementCurrentIndex()
|
||||
}
|
||||
|
||||
Keys.onRightPressed: {
|
||||
incrementCurrentIndex()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user