Keyboard navigation #24
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mupen64/ugui#24
Loading…
Reference in a new issue
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?
Implement tab focusing and focus outlines.
This has become relevant to me now that the Action API exists, in that this would greatly supplement keyboard control in the SM64Lua (and probably everywhere else as well).
I have some thoughts on the details for how this could be implemented:
Optional
next_focus_element_uidandprevious_focus_element_uidparameters could be assigned to override specific tab focus order. (It'd be the user's responsibility to connect controls "properly", such that going back and forth works as expected, though.)Controls would get an additional optional parameter
group_pathto identify which group they belong to.The "Focus next element" and "Focus previous element" actions would then only cycle through controls that belong to the currently selected group.
If the last point turns out to be too complicated in design, it may be better to handle that in a separate issue. However, I do believe that streamlined grouping of controls is essential to making keyboard navigation intuitive and fast, so it should be considered eventually.