Dispatch Own Input Events to avoid code duplication
Closed this issue · 1 comments
xesf commented
Dispatch custom input events to avoid code duplication. For example skip listeners that listen for key codes could be potentially on its own event. We can combine multiple events, for example the tap event, with a key event in a single listener. MESSAGE_OBJ is a good example where this can be applied.
agrande commented
I made some refactoring that improved on that code duplication issue.
It's not using custom events though. Not sure if it should.