Replace logic function with per-event callbacks in registry #86
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#86
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?
This change would cut down quite a bit of code, while also making adding a mechanism to signal whether an event was handled (we don't do that currently, relying only on the rules of input capture instead) easier.
The change isn't quite trivial because we still have to return an actual primary value and meta table.
The primary value is easily handled by just writing it to
control_data.primary(or some other place) in the event handlers and reading it back internally inugui.control.The meta table is more difficult to handle cleanly. I'll keep thinking about this :/