ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Remmap buttons and axes PS2 Joystick be same as PS3? [closed]

asked 2015-02-25 03:50:54 -0500

astur gravatar image

I have two joystick: PS2 and PS3 and I want to remmap my PS2 joystick to be the same as PS3, because use same buttons and axes on my own node.

I see that package joystick_remapper is not longer in ROS. Any ideas?

I am working with Joy package to subscribe to joy.

Thank you for your time

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by astur
close date 2015-02-26 09:55:31.159311

Comments

1

I find a easy solution:

sudo apt-get install joystick jstest-gtk

jstest-gtk

Remap what you want, and then:

sudo jscal-store /dev/input/jsX X in my case is 0.

astur gravatar image astur  ( 2015-02-26 09:53:32 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-25 04:07:49 -0500

dornhege gravatar image

If it is just for one node a joystick specific config file for both might be sufficient.

If you want that more general, either backport joy_remapper or write it yourself. Either case should not be difficult at all.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-02-25 03:50:54 -0500

Seen: 530 times

Last updated: Feb 26 '15