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

Replace ControllerInput actions and axes fields with map #73

Open
azriel91 opened this issue Mar 12, 2020 · 0 comments
Open

Replace ControllerInput actions and axes fields with map #73

azriel91 opened this issue Mar 12, 2020 · 0 comments
Labels
M: code Code maintenance and quality.
Milestone

Comments

@azriel91
Copy link
Owner

In GitLab by @azriel91 on Sep 13, 2018, 14:51

Instead of having a field per control action, we should just use a HashMap<ControlAction, bool>. That way when we add/remove buttons, it automatically gets added.

Ditto for Axis.

@azriel91 azriel91 added the M: code Code maintenance and quality. label Mar 12, 2020
@azriel91 azriel91 added this to the Backlog milestone Mar 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
M: code Code maintenance and quality.
Projects
None yet
Development

No branches or pull requests

1 participant