Gamepad Controls #40
Labels
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SketchyMaze/doodle#40
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The game should be playable using a USB gamepad controller.
X Style and N Style
There should be an option in the Game Settings to, at the very least, switch the control scheme between Xbox style and Nintendo style (A/B and X/Y buttons swapped).
All of my controllers are Nintendo's so this ticket will use N style controls:
General Controls
During gameplay:
Mouse Cursor Mode
When in the Level Editor the gamepad should be able to toggle between "mouse cursor mode" and normal mode.
In mouse mode:
Navigating UI Elements
Probably the UI toolkit itself should become gamepad-aware.
Upon receiving directional inputs (outside of Play Mode), the UI toolkit should "highlight" widgets managed by the Supervisor in the nearest direction from the currently highlighted widget.
e.g. when a Down input is received, the nearest widget south of the currently selected one becomes selected.
Upon the very first direction input on loading a new scene, the top-left-most widget is highlighted by default.
The highlight would take the form of a rectangle that outlines around the widget in question.