D2 log 062 – Menu navigation

I’d love to see the game running on Steam Deck one day. Until then, I’m using an Xbox controller for testing.

Some menus were impossible to navigate with the gamepad or keyboard. I’m not building any sort of generalized UI framework but this needed to be fixed.

Each menu item contains links to its neighbors and pressing ←↑↓→ changes focus accordingly. In most simple cases, such as the main menu, the autogenerated links were enough but in more complex layouts some were omitted. So added a way to create the missing links manually.

Now I can get right into the game using just the controller, which is cool.