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

    2 generic USB controllers for mame-2003

    Scheduled Pinned Locked Moved Help and Support
    controllermame-20032 player setup
    3 Posts 2 Posters 354 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.
    • H
      hsamuels
      last edited by

      I've built a couple of arcade systems with a bunch buttons, joysticks, etc, plugged into one "zero delay USB encoder." Two-player games were limited to those which alternated between the two players - you can't play simultaneously.

      Now I have one box with a joystick, coin, 1P, 2P, and two other buttons (for things like thrust and fire). The USB encoder for these controls is plugged into port 0 on the Raspberry Pi 3B (top left). A second box has only a joystick and two buttons. That box's USB encoder is optionally plugged into the Raspberry Pi port 1 (bottom left).

      When I configure input on the main controller, life is good. But when I subsequently configure input on the second controller, things get confusing. The A button on the main controller works in the Retropie menu, but not in the other menus (emulation station)? Sometimes the A button on the secondary controller works, and sometimes the only thing that will cause a select or enter event is a return on a keyboard.

      Note that I don't assign a hotkey for the second controller. The intent is only the main controller can do things like choose games, start games, exit games, etc.

      Am I doing something wrong configuring the two controllers?

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

        @hsamuels said in 2 generic USB controllers for mame-2003:

        When I configure input on the main controller, life is good. But when I subsequently configure input on the second controller, things get confusing. The A button on the main controller works in the Retropie menu, but not in the other menus (emulation station)? Sometimes the A button on the secondary controller works, and sometimes the only thing that will cause a select or enter event is a return on a keyboard.

        Common problem - make sure both encoders's inputs are wired identically so button A on P1 produces the same input code as button A on P2. SInce both encoders are similar (model/vendor), they share the same configuration - configuring P1 will also configure P2 and vice-versa. If P1 and P2 don't have an identical input configuration (same wiring), then one of them will not work correctly.

        H 1 Reply Last reply Reply Quote 0
        • H
          hsamuels @mitu
          last edited by

          @mitu Thank you, that was the problem!

          I may have missed something in the documentation. I thought I had to configure input twice, once for the main box, and once for the second box. But configuring for the second box, even with all the buttons plugged into the same slots, caused the important buttons on the main box (coin, 1P, 2P) to be forgotten.

          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.