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

Options to select a single axis for the joystick #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Rubbonn
Copy link

@Rubbonn Rubbonn commented Aug 21, 2021

Fix: #23

I just added an option "axis" which can be "x", "y" or false (default). This way you can choose if the joystick must be on single axis or both.

I don't know how you minified the js so i'll leave this task to you.

@cauafroes
Copy link

underrated pull request. really useful param

@bobboteck
Copy link
Owner

I am considering what solution to take, I would also like to create a different graphic

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

Successfully merging this pull request may close these issues.

Add one dimensional joysticks (X or Y axis)
3 participants