• 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

USB limitations in a Pi 3B+?

Scheduled Pinned Locked Moved Help and Support
pi3b+usbdedicatedhotkeys
8 Posts 4 Posters 1.8k 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.
  • P
    PJPJPJPJ
    last edited by 2 Dec 2018, 16:20

    Planning to put together an arcade cabinet using zero-delay USB controllers (joystick and buttons), with Retropie on a RPi 3B+. I purchased the CanaKit power supply that many recommend for the Pi.

    With the Pi having four USB ports, I am wondering if I can do the following:
    ---1 port for player one controller - joystick and buttons only
    ---1 port for player two controller - joystick and buttons only
    ---1 port for another controller that would only have dedicated buttons for save, load, exit, reset, RGUI, etc. (all the normal hotkey functions, but with dedicated buttons)

    Can I set those dedicated buttons on a third controller if that controller has no actual "player" function (no joystick or action buttons) assigned? Or do those functions have to be assigned to a "player" that exists to actually play?

    I understand I would have to do some work in the config file regarding dedicated hotkey buttons - that's fine - I just want to know whether those "hotkey functions" can be given to a "dedicated" controller on a separate USB port.

    1 Reply Last reply Reply Quote 0
    • G
      grant2258 Banned
      last edited by grant2258 12 Feb 2018, 18:20 2 Dec 2018, 18:19

      Each zero day controller has 10 (a,b,x,y r, r1, r2, l ,l1, l2) buttons + start and select

      so thats 24 buttons that should be enough for you. With the two controllers if you need more than 24 buttons go for a 3rd controller

      1 Reply Last reply Reply Quote 0
      • V
        VictimRLSH
        last edited by 2 Dec 2018, 18:58

        A trick I found handy on my mini bartop build (in progress, just cosmetic stuff to do) is keeping a wireless keyboard dongle plugged in, that way if you need extra functions you can map them to the keyboard and keep it out of the way until you need it.

        System Config: Retropie 4.4 with full desktop, RPi 3B, 256gb SD, 5v 2.1A 5,200 mAH USB battery. EasyMSX controller mounted with Pimoroni Hyperpixel 4 (non touch). Also running 4.6 on a 4gb Pi 4 serving as my primary desktop computer now.

        E 1 Reply Last reply 2 Dec 2018, 19:24 Reply Quote 0
        • E
          edmaul69 @VictimRLSH
          last edited by 2 Dec 2018, 19:24

          you do have to pay attention if your wireless keyboard shows up as both a keyboard and a controller. A lot of the mini ones do. If that is the case you want to put it on usb port 3 (the 4th port. Bottom right)

          G 1 Reply Last reply 2 Dec 2018, 19:25 Reply Quote 0
          • G
            grant2258 Banned @edmaul69
            last edited by 2 Dec 2018, 19:25

            @edmaul69 just add a usb hub if you want more ports 4 is plenty for mode cases but you can just add a hub if you dont have enough

            E 1 Reply Last reply 2 Dec 2018, 19:52 Reply Quote 0
            • E
              edmaul69 @grant2258
              last edited by 2 Dec 2018, 19:52

              @grant2258 im well aware. I use a 13 port usb hub. I was stating it so he doesn’t have a keyboard show up as player 1or 2.

              G 1 Reply Last reply 2 Dec 2018, 19:56 Reply Quote 1
              • G
                grant2258 Banned @edmaul69
                last edited by 2 Dec 2018, 19:56

                @edmaul69 sorry mean to @PJPJPJPJ no you was my bad

                1 Reply Last reply Reply Quote 1
                • P
                  PJPJPJPJ
                  last edited by 3 Dec 2018, 02:20

                  I wasn't going to bring that up in this thread but since we went that direction...
                  I was actually planning my cabinet to have player one as one set of joystick/buttons off of Pi USB 1, player two as the second set off Pi USB 2, the dedicated buttons on the third controller on Pi USB 3, and then a hub stuck into Pi USB 4 which would tie (via extension cables) to two external USB ports on the cabinet, to which I could plug in a keyboard, or two SNES joypads or other types of joypads or joysticks. I was going to cross that "hot swappable/which is active/how do I program that" bridge when I came to it.

                  It sounds like, from above, it actually matters which of the 4 USB ports on the Pi I plug into? I figured they were all just addressed the same. Is that true? If so, I assume I plug a hub into USB 4 and those become 4, 5, 6, 7...?

                  To clarify what I'm actually doing...

                  I'm making a portable console like those ones you can buy online, which simply has a power cord and an HDMI cable and can be plugged into a TV anywhere. But my intent is to have the central portion of the panel have all the "hotkey default" dedicated buttons - save, load, exit, reset, etc. - and then have each of the two joy/button controller areas be small pull-out boxes with long cords, so the "base" can sit on the coffee table while the two controllers get passed between the kids sitting on the sectional sofa. I have plans in my head, and I'm using USB extension cables as the "pull out" cables (connecting the zero-delay boards to the Pi in the base).

                  But what this means is that I can't (at least easily) use the pin plugs on the zero-delay boards in each "remote controller" for the buttons which I want on the base. Each zero-delay board will be in the pull-out box, and the "hotkey" dedicated buttons will be several feet away in the base on the coffee table. The only way to have those "hotkey" buttons plugged into the boards which operate the joysticks and action buttons would be to do some wire dissecting and soldering, and I don't want to bother with that.

                  So my original question above was, can I use a third zero-delay board in the "base" which would only have those load-save-exit-reset-RGUI dedicated buttons, but NO actual controls tied to it? I suppose another way of looking at it is, can you "null" out all the hotkeys on player one and player two, and then null out all the directional/joystick/X/Y/A/B stuff on player 3 and still assign the hotkey commands?

                  I'm working up a sketch of what I'm imagining for more clarity and will post when done, if this isn't clear... or too long that you didn't read it... :)

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