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

How to configure an Atari 2600 Button for noth A and B actions at the same time ?

Scheduled Pinned Locked Moved Help and Support
atari joystickatari 2600atari buttonjoystick controjoystick button
8 Posts 2 Posters 740 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.
  • E
    eran_p
    last edited by eran_p 18 Feb 2020, 14:23

    Hi,

    Basically , The Atari 2600 Joystick has only one button.

    The button usually is mapped as an "B" action in the Retropie.

    I would to choose a rom from the listed roms, and launch it using the Atari joystick button . That means that the joystick button should activate an "A" functionality for running a rom , and the "B" function for a regular fire button in the Atari games

    How can I set the Retropie for this request ? means that the button is mapped the A and B as well

    thanks
    Eran

    1 Reply Last reply Reply Quote 0
    • M
      mitu Global Moderator
      last edited by 18 Feb 2020, 17:12

      You can't map the same button to 2 different actions - it's either A or B for a button. If you want to operate EmulationStation just with a single button, you can modify the es_input.cfg file (it's in \\retropie\configs\all\emulationstation) and add the button scancode to A and discard the B button action. You can set up EmulationStation to boot straight into one system (Atari 2600) and then just navigate the list with the joystick, pressing the button to start a game.
      You'll probably need a keyboard though just for the initial setup, you'll probably want to adjust some emulator settings and that's not going to work with just one button.

      1 Reply Last reply Reply Quote 0
      • E
        eran_p
        last edited by 18 Feb 2020, 18:19

        Thank you.
        I have already set the Retropie to boot direct to the list of Atari roms
        I found the this setting file : "es_input.cfg"

        However, I did understand your suggestion :
        If I change the button to "A", Then the button get a "skill" to run a rom from the list , but since the Atari need a "B" functionality to "fire" in a game the joystick would lose the "skill" of the fire (B)

        Can you elaborate your suggestion how can I set a button for choosing a rom in the list and also function as a fire ?

        Eran

        M 1 Reply Last reply 18 Feb 2020, 18:42 Reply Quote 0
        • M
          mitu Global Moderator @eran_p
          last edited by 18 Feb 2020, 18:42

          @eran_p said in How to configure an Atari 2600 Button for noth A and B actions at the same time ?:

          Can you elaborate your suggestion how can I set a button for choosing a rom in the list and also function as a fire ?

          The front-end functionality is separated from the emulator mappings - you mention you have 1 button only, so you can't use 2 buttons in the emulator if you need them. What emulator are you using for Atari games ?

          1 Reply Last reply Reply Quote 0
          • E
            eran_p
            last edited by 18 Feb 2020, 19:29

            Hi,
            I am using : lr-stella

            Good progress :
            I updated the joystick in the "es_input.cfg" :

            <input name "a" type="button" id="1" value="1">
            <input name "b" type="button" id="1" value="1">

            I don't know if it a bug or not , but now the button has both A and B functionality.
            I need more time to test it and to see if it is permanent behavior :)

            Eran

            M 1 Reply Last reply 18 Feb 2020, 20:52 Reply Quote 0
            • M
              mitu Global Moderator @eran_p
              last edited by 18 Feb 2020, 20:52

              @eran_p said in How to configure an Atari 2600 Button for noth A and B actions at the same time ?:

              I don't know if it a bug or not , but now the button has both A and B functionality.

              Since you mapped the same buttons to both actions, yes, it would have the same functionality, though I can't see how you could launch a game since B would exit the current gamelist, while you'd need A to launch the game ?

              1 Reply Last reply Reply Quote 0
              • E
                eran_p
                last edited by 19 Feb 2020, 15:37

                I have wondered the same thing. But actually it works.

                1 Reply Last reply Reply Quote 0
                • M
                  mitu Global Moderator
                  last edited by mitu 19 Feb 2020, 15:47

                  That's a fortunate coincidence :).

                  1 Reply Last reply Reply Quote 0
                  4 out of 8
                  • First post
                    4/8
                    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.

                    This community forum collects and processes your personal information.
                    consent.not_received