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

Create mapping option #13

Open
alvaromontoro opened this issue Sep 2, 2019 · 2 comments
Open

Create mapping option #13

alvaromontoro opened this issue Sep 2, 2019 · 2 comments
Labels
enhancement New feature or request

Comments

@alvaromontoro
Copy link
Owner

Is your feature request related to a problem? Please describe.
Right now, if the gamepad is not "standard", the developers have to create their own mapping functionality manually, which is not ideal.

Describe the solution you'd like
Provide developers with an internal functionality to remap buttons/axes.

Describe alternatives you've considered
Create a mapping array/object, and allow developers to set it up. They will still have to figure out a way to display to the user the mapping selection. But once it's done, passing the new mapping array/object should internally fix the mapping.

@alvaromontoro alvaromontoro added the enhancement New feature or request label Sep 2, 2019
@gamebrina
Copy link

Hey @alvaromontoro I just started a project and found your very nice library. Good work!
I can really use this feature, so I thought I give it a shot myself. You can have a look at my personal changes here:
ae69a4d

Feel free to merge / change or do nothing.

Kind regards, Mark

@alvaromontoro
Copy link
Owner Author

Sorry for the late response. I'll check the changes later today. This would be a cool feature to add, thanks! :)

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

2 participants