RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    Scheduled Pinned Locked Moved Help and Support
    retropieevdevjoystickcalibration
    4 Posts 3 Posters 750 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      francis2019
      last edited by

      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!

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • D
          DimaKompot
          last edited by

          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

          F 1 Reply Last reply Reply Quote 0
          • F
            francis2019 @DimaKompot
            last edited by

            @DimaKompot I will try that

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            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.