/usr/share/player/config/joystick.cfg is in robot-player 3.0.2+dfsg-4.1ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | # A robot (position device) to be controlled
driver
(
name "p2os"
provides ["odometry:::position2d:0"]
port "/dev/ttyS0"
)
# A joystick that controls the above robot. It also provides a joystick
# and position interface, which clients can read.
driver
(
name "linuxjoystick"
provides ["joystick:0" "position2d:1"]
requires ["position2d:0"]
max_speed [0.5 0 50]
axes [3 2 -1]
axis_minima [5000 5000 5000]
port "/dev/input/js0"
alwayson 1
)
|