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

Support other joysticks/button mappings #76

Open
nstiurca opened this issue Aug 19, 2016 · 2 comments
Open

Support other joysticks/button mappings #76

nstiurca opened this issue Aug 19, 2016 · 2 comments

Comments

@nstiurca
Copy link
Contributor

Unfortunately, joystick_teleop_node is almost unusable with a PS4 controller because axis 3 maps to the left trigger. Also, the emergency stop button maps to X on PS4 controller, although from the comments it seems like it should map to O which is generally PS4's equivalent to Xbox's B button.

I can implement this quickly and easily with an additional ~mapping parameter or such, defaulting to "xbox", but would also accept "ps4".

@nstiurca
Copy link
Contributor Author

Question: what exactly does axis 3 map to on Xbox controller? I would guess left thumb stick side-to-side? I could also see it being right thumb side-to-side.

@nstiurca
Copy link
Contributor Author

(axis 3 is currently used for turning if you can't be bothered to read the source)

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

1 participant