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

    Skip Assigning an A-Button?

    Scheduled Pinned Locked Moved Help and Support
    atarijoystickbutton mapping
    5 Posts 2 Posters 2.2k 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.
    • hansolo77H
      hansolo77
      last edited by hansolo77

      OK so I just went to the local gaming store and bought a legit 1st party Atari Joystick. Brought it home, plugged it into my Mayflash adapter. Ran the usual jtest ssh command to verify input was being received through the system, and it is. I then went into ES's "Configure Input" setup and I got as far as mapping the stick, but now I can't get the button to map. The problem is because the screen is asking for input for the A-Button. According to this image below, the button is mapped to B. So I need to some how skip the assignment of A on the screen, but I can't. Everything I've tried just doesn't work. I connected a keyboard and tried pressing ESC but that didn't work either. I can't do anything except turn off the machine and try again. Is there a way to skip assigning the A button? Or even better, I have a Sega controller that maps B using the same adapter.. do I even have to map it when a joystick is connected?

      alt text

      Who's Scruffy Looking?

      meleuM 1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @hansolo77
        last edited by

        @hansolo77 Maybe F4 on keyboard can exit emulationstation and interrupt the process, but it would be a little drastic...

        Sorry for not giving much help with your issue, but could you please satisfy my curiosity?: How is this joystick named on the OS? Does it get the adapter name?

        Can you please paste here the output of this big command when your atari 2600 controller is plugged?:
        for js in /dev/input/js*; do path=$(udevadm info --name=$js | grep DEVPATH | cut -d= -f2); name=$(</$(dirname sys$path)/name); echo $name; done

        I'm asking it because I think you may have some problems if you configure a Mega Drive controller when using this adapter and then plug an Atari 2600 controller in the same adapter. If Raspbian name it as the adapter name, the button mappings will be obtained from the same file...

        (sorry if I'm confusing more than clarifying. :) )

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 0
        • hansolo77H
          hansolo77
          last edited by

          I've actually gotten around it by not worrying about it lol. I reset my mappings with the Sega controller, then unplugged it and plugged in the Atari one. After that I tried to load some games and they work fine. The only issue I have is due to hardware limitations. Some games require the user to press START or something (flip a switch, etc) on the actual console, and with essentially a D-Pad and 1 button, you don't have that option. So until I come up with something better, I just can't play those particular games. It would be nice if I could somehow set it up so that the extra buttons can all be pressed using the Sega controller plugged into port #2. But's it's really not that big a deal since I do most of my playing with a totally different controller altogether (XBox360 lol).

          Who's Scruffy Looking?

          1 Reply Last reply Reply Quote 0
          • hansolo77H
            hansolo77
            last edited by hansolo77

            To satisfy your curiosity though:

            pi@retropie:~ $ for js in /dev/input/js*; do path=$(udevadm info --name=$js | grep DEVPATH | cut -d= -f2); name=$(</$(dirname sys$path)/name); echo $name; done
            raphnet.net nes2usb
            raphnet.net nes2usb
            Mayflash Ltd Mayflash MD USB Adapter
            Mayflash Ltd Mayflash MD USB Adapter
            Xbox 360 Wireless Receiver
            Xbox 360 Wireless Receiver
            Xbox 360 Wireless Receiver
            Xbox 360 Wireless Receiver
            pi@retropie:~ $
            

            This of course requires me to go back and change the dev variable from my other problem to /dev/input/js4 instead of 2. :)

            Who's Scruffy Looking?

            meleuM 1 Reply Last reply Reply Quote 1
            • meleuM
              meleu @hansolo77
              last edited by

              @hansolo77 Thanks.

              You may have a file named /opt/retropie/configs/all/retroarch-joypads/MayflashLtdMayflashMDUSBAdapter.cfg or something. AFAIK, RetroArch will get the configs from this file no matter if you have a MegaDrive or an Atari 2600 controller plugged. It can be annoying.

              When you want to come back to this issue, my suggestion is to hardcode the mappings for atari2600 in the file /opt/retropie/configs/atari2600/retroarch.cfg (you may want to have a keyboard plugged in order to solve the issues you mentioned for start button, etc.). You can get the instructions on how to edit it on the wiki: https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#hardcoded-configurations

              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              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.