mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-25 21:40:06 +00:00
Allow toggling through combo box options using left/right on gamepads/keyboards
This commit is contained in:
1 parent
7c93aaf659
commit
02004bac3f
1 file changed
+8
@@ -50,4 +50,12 @@ ComboBox {
|
|||||||
popup.onAboutToHide: {
|
popup.onAboutToHide: {
|
||||||
SdlGamepadKeyNavigation.setUiNavMode(true)
|
SdlGamepadKeyNavigation.setUiNavMode(true)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onLeftPressed: {
|
||||||
|
decrementCurrentIndex()
|
||||||
|
}
|
||||||
|
|
||||||
|
Keys.onRightPressed: {
|
||||||
|
incrementCurrentIndex()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user