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

    Quake 2 Yamagi Port - 8BitDo -sticks not working.

    Scheduled Pinned Locked Moved Help and Support
    quake 2yamagi quake 28bitdo joystick
    3 Posts 2 Posters 314 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.
    • M
      MrBitey
      last edited by

      Hi all, relative Pi noob here, still learning!

      I'd love to get Quake 2 fully working on my Pi 3b+ pn RetroPie 4.7.1.
      Quake 1, Doom, Duke 3d etc all work fine with both the joysticks on my 8BitDo controller but Quake 2 doesn't. I can use the D pad to move but its no good for fine movements. I can also set all the rest of the buttons using the menu in the game. Just nothing at all when I try to use the joysticks. Here is some log info which might help?
      "To use joystick as game controller please set SDL_GAMECONTROLLERCONFIG:
      e.g. SDL_GAMECONTROLLERCONFIG='05000000c82d00000261000000010000,8BitDo SN30Pro+,leftx:a0,lefty:a1,rightx:a2,righty:a3,back:b1,..."

      Is there something I can do in the config section or a config file I can add this info into?

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

        You can set the SDL config for the game controller in the autostart.sh script, before emulationstation is started:

        export SDL_GAMECONTROLLERCONFIG="05000000c82d00000261000000010000,8BitDo SN30 Pro+,a:b0,b:b1,back:b10,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b2,leftshoulder:b6,leftstick:b13,lefttrigger:b8,leftx:a0,lefty:a1,rightshoulder:b7,rightstick:b14,righttrigger:b9,rightx:a2,righty:a3,start:b11,x:b3,y:b4,hint:SDL_GAMECONTROLLER_USE_BUTTON_LABELS:=1,"
        
        emulationstation #auto
        

        You can find autostart.sh at /opt/retropie/configs/all/autostart.sh (or via file shares at \\retropie\configs\all\autostart.sh.

        M 1 Reply Last reply Reply Quote 1
        • M
          MrBitey @mitu
          last edited by

          @mitu That did it!

          Thank you soo much for your help.
          I've learned something today!

          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.