Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interactor implementation with keycallbacks #14

Open
lknknm opened this issue Sep 12, 2024 · 1 comment
Open

Interactor implementation with keycallbacks #14

lknknm opened this issue Sep 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lknknm
Copy link
Owner

lknknm commented Sep 12, 2024

Description

Since we already have an Input namespace and the OttWindow class with set callbacks for key inputs, these should be now expanded with keycallbacks using an interactor class. This will benefit the OttCamera class with a better dealing for inputs, as well as set new shortcuts for general purposes.

@lknknm lknknm added the enhancement New feature or request label Sep 19, 2024
@lknknm
Copy link
Owner Author

lknknm commented Nov 24, 2024

After some research, I've been thinking about implementing the Interactor class with a command pattern.
That would probably be helpful to hold the application state and eliminate the huge switch cases/if conditionals that the current keyCallback implementation has.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant