I have a xbox 360 joystick.
I'm currently have trouble with connecting my joystick to PC.
I've searched the information about this.
My device is connected on /dev/input/js0
$ jstest /dev/input/js0
$ jstest-gtk
$ sudo chmod a+rw /dev/input/js0
Whenever I type that line
$ rosrun joy joy_node dev:=/dev/input/js0
Thanks.
Stumbled upon this. Just for completion: the question seems to be answered in an issue of the corresponding ros package here.