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

Custom values for joystick movement #27

Open
farazappy opened this issue Jan 2, 2019 · 3 comments
Open

Custom values for joystick movement #27

farazappy opened this issue Jan 2, 2019 · 3 comments

Comments

@farazappy
Copy link

Hello,
I wanna use your library, but I want to use custom values, like I don't want to use Angle/Strength.

For each axis I want a max and a min value, Is this possible? If yes then how?

Thanks.

@ralismark
Copy link

Right now, you can use getNormalizedX() and getNormalizedY() to the position along each axis as a integer between 0 and 100. You can use these to calculated values between a min and max value.

@boltcode1
Copy link

I want to have a range(NormalisedXorY) between to be customizable like, not only from 0 to 100, I want it to be 1000 range. like 0, 1, 2 ......1000. Can something like this be done?

@boltcode1
Copy link

Right now, you can use getNormalizedX() and getNormalizedY() to the position along each axis as a integer between 0 and 100. You can use these to calculated values between a min and max value.

Please consider above question.

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

No branches or pull requests

3 participants