Qt: Add controller navigation for the game list#14220
Qt: Add controller navigation for the game list#14220jasaaved wants to merge 6 commits intoPCSX2:masterfrom
Conversation
User can now navigate the game list via their controller using the d-pad or left analog stick.
If there exists a saved state for a game, the user can now use a controller to select the options. Controller stops scrolling through the game titles in the main window. Fixed issue where the first game title wasn't highlighted after first controller input.
When a game was being launched input from the menu was still being carried over into the game. This has been fixed now.
If the user scrolls first before using a controller, the window wouldn't scroll to the top. This is now fixed.
|
Why is this needed if we have FullscreenUI (Big Picture Mode) which can easily be accessed? |
|
I apologized to that. I didn't even notice there was big picture mode. I guess it's a preference thing as this point. You can use a controller without needing to use big picture mode. The only issue I saw with the other implementation is I didn't see a quick and obvious way to go into big picture mode without restarting the application. We can close out this PR if we don't want to implement this. I can work on improving FullscreenUI by adding analog control and a quick way of entering it, if possible. |
You can go to the big picture mode from Qt by either:
|
-Big Picture mode can now be launched directly from the controller's guide button. User no longer needs to have the toolbar on and use the big picture mode button. -Fixed issue where Qt menu was still processing input while the imgui menu was running
|
I will push back slightly here, since some users may want to use a controller without switching to Big Picture Mode. I also think Big Picture Mode has some discoverability issues, since accessing it requires going into interface settings or enabling the toolbar via the View menu. There is also a small usability concern, as it depends on the toolbar being enabled to make it a one-click option. That said, if there is disagreement on this direction, I am fine with closing this PR. I also submitted another PR that adds analog control support to Big Picture Mode. In addition, I updated this PR so Big Picture Mode can be launched directly using the guide button on a controller. |
|
I would recommend not using the guide button as away to enable big picture due to the fact the guide button is usually mapped to the analog button and for some games pressing said button removes analog control |
|
I did disable the functionality while a game is running. So it won't enter/exit big picture mode. |
Description of Changes
Adds controller D-pad and left analog stick navigation to the game list and game grid. Pressing Cross/A or Start launches the selected game.
Rationale behind Changes
Improves usability for users who prefer to navigate the game library with a controller without needing to switch to a mouse.
Suggested Testing Steps
Did you use AI to help find, test, or implement this issue or feature?
Yes. I used AI to help implement the feature. Since Qt does not natively translate controller input, AI helped figure out how to hook into PCSX2's existing input pipeline to bridge controller events to Qt's navigation system.