Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

EVDEV doesntkeep joystick calibration



  • Hello
    I have a retropie setup with a joystick connected to an Ultimarc A-PAC
    I'm using advrance mame to play games.
    the problem is that the joystick is not calibrated correctly.

    I calibrate it successfully by using that command via the putty program :

    sudo evdev-joystick --e /dev/input/by-id/usb--event-joystick --a 0 --minimum -1250 --maximum 1050
    & \sudo evdev-joystick --e /dev/input/by-id/usb-
    -event-joystick --a 1 --minimum -1300 --maximum 1300

    but as soon as I restart retropie, the configuration of the joystickare back to normal

    any way to save those configuration.
    I was thinking about executing that command automaticly after retropie has started, but I dont know how to do it.
    thanks!


  • Global Moderator

    You can execute those commands automatically when RetroPie starts by adding them to the /opt/retropie/configs/all/autostart.sh file. Edit the file (using nano from the command like) and add the commands before the line that starts EmulationStation.



  • You might like to use a new tool:
    https://github.com/Virusmater/evdev-joystick-calibration
    I just added the instruction to README on how to make an autoload of such configuration



  • @DimaKompot I will try that



Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.