This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
robots:phoenix:manual:gamepad [2014/02/24 18:28] claes |
robots:phoenix:manual:gamepad [2021/08/14 04:21] (current) |
||
|---|---|---|---|
| Line 12: | Line 12: | ||
| | | ||
| The gamepad is now installed on the computer. | The gamepad is now installed on the computer. | ||
| + | |||
| + | ==== Permissions ==== | ||
| + | Do the following steps: | ||
| + | - Add a new group < | ||
| + | - Add your user to the group < | ||
| + | - Add the file joystick_acl_correction.sh | ||
| + | - Make joystick_acl_correction.sh executable < | ||
| + | - Add the file 80-local.rules to < | ||
| + | |||
| + | |||
| + | <file bash joystick_acl_correction.sh> | ||
| + | #!/bin/bash | ||
| + | |||
| + | if [ -c / | ||
| + | then | ||
| + | setfacl -m g: | ||
| + | echo " | ||
| + | else | ||
| + | echo "No gamepad detected, ACL not set" | ||
| + | fi | ||
| + | </ | ||
| + | |||
| + | <file bash 80-local.rules> | ||
| + | #This rule is to make the Logitec gamepad read/ | ||
| + | SUBSYSTEM==" | ||
| + | </ | ||
| + | |||
| + | |||
| ===== Running MobotWare with Gamepad ===== | ===== Running MobotWare with Gamepad ===== | ||