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

Update example code comments to reflect the correct parameter order of setAxes() #223

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

Conversation

8fdafs2
Copy link

@8fdafs2 8fdafs2 commented Jul 4, 2024

Update the example code (the most important reference material for beginners) comments to reflect the correct parameter order of setAxes().

…ter order of setAxes()

examples/Gamepad/Gamepad.ino: update comments to reflect the correct parameter order of setAxes()
@8fdafs2
Copy link
Author

8fdafs2 commented Jul 4, 2024

It appears that the BleGamepadConfiguration class has an inconsistent order of axes. I'm curious which order would be more suitable: .. z, rz, rx, ... or ... z, rx, ry, rz, ... ?

@LeeNX
Copy link

LeeNX commented Jul 10, 2024

It appears that the BleGamepadConfiguration class has an inconsistent order of axes. I'm curious which order would be more suitable: .. z, rz, rx, ... or ... z, rx, ry, rz, ... ?

Interesting question. Which main stream split do we follow? I think the last suggest would be better for me, but I don't know what anybody else might think for reason.

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.

2 participants