Skip to content
Snippets Groups Projects
Commit bea0c340 authored by Your Name's avatar Your Name
Browse files

Add readme for gamepad unit

parent 8c06fe0d
No related branches found
No related tags found
1 merge request!327Remove laser scanner features memory
# GamepadUnit
This component is used to control the robot with a gamepad.
You have to set two device names:
- `GamepadDeviceName`
- Used to read the input from the device.
You can find the proper name by checking various names from `/dev/input/js*` with the command line util `jstest`.
- `GamepadForceFeedbackName`
- Used to give force feedback on the controller.
You can find the proper name by checking various names from `/dev/input/event*` with the command line util `fftest` or `evtest`.
Alternatively you can find the proper name through `/dev/input/by-id`.
E.g. for a Logitech F710 gamepad the proper names are: \
`GamepadDeviceName=/dev/input/by-id/usb-Logitech_Wireless_Gamepad_F710_582F9A6B-joystick` \
`GamepadForceFeedbackName=/dev/input/by-id/usb-Logitech_Wireless_Gamepad_F710_582F9A6B-event-joystick`
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment