YoYoGames / GameMaker-Bugs

Public tracking for GameMaker bugs
21 stars 8 forks source link

In-Game: Add ImGUI support for gamepad navigation of the debug views #6823

Open hagand3 opened 1 month ago

hagand3 commented 1 month ago

Is your feature request related to a problem?

When running a game on a console or PC with a gamepad, I can't navigate through debug views due to lack of controller support. I need to be using a mouse.

Describe the solution you'd like

As far as I know, the debug views are built using some kind of IMGUI wrapper? If that's the case, I'm fairly sure IMGUI has basic controller navigation support, but even if it doesn't or isn't applicable here, I'm hopeful it's possible to implement.

Describe alternatives you've considered

I've built a custom editor but not using debug views. I'd prefer to use debug views because they're awesome and quick to throw together.

Additional context

No response

gnysek commented 1 month ago

Seems like extended FR for what I asked - ability to at least scroll with gamepad: https://github.com/YoYoGames/GameMaker-Bugs/issues/2855 .

hagand3 commented 1 month ago

Seems like extended FR for what I asked - ability to at least scroll with gamepad: https://github.com/YoYoGames/GameMaker-Bugs/issues/2855 .

Upvoted yours. I could delete this one but if it's "extended", I'd rather keep it.

gnysek commented 1 month ago

Yeah, your is better, as it's about navigating in whole GUI, mine was for scrolling only, because it was specifically for Steam Deck, where you have cursor, but it's just hard to drag the cursor vertically perfectly. Having option to navigate some virtual ImGui cursor with gamepad in that case (and move scrollbars with right stick for example) would be even better.