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

Map axes to buttons #11

Open
chlorate opened this issue Jan 23, 2019 · 0 comments
Open

Map axes to buttons #11

chlorate opened this issue Jan 23, 2019 · 0 comments
Milestone

Comments

@chlorate
Copy link
Owner

Each axis would correspond to up to two "virtual" buttons (not sure on the terminology). E.g, "Axis 1+" would be considered pressed when Axis 1 is pushed in a positive direction and "Axis 1-" would be pressed when pushed in a negative direction.

Virtual buttons would appear in the Controller tab and collect statistics like normal hardware buttons. This is also how the d-pad buttons currently work.

Virtual buttons would only be created if an axis can be pushed in a direction. E.g., if an axis' range is 0 to +1 and its neutral is 0, then it cannot be pushed in the negative direction and so only a positive button is created.

There should be some threshold so that very small movement doesn't create a button (e.g., has to be more than 0.1 units away from neutral).

@chlorate chlorate added this to the v1.2.0 milestone Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant