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

    Arcade Joystick and USB Game pads for separate emulators

    Scheduled Pinned Locked Moved Help and Support
    joystickusb controller
    8 Posts 3 Posters 3.4k 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.
    • L
      lumberg
      last edited by

      Pi Model: Rasp 3
      RetroPie Version Used: 3.8
      Built From: SD Image
      USB Devices connected: 2 USB Keyboard encoders , 2 USB gamepads (genric) Keyboard, Powered USB hub (No issues yet).
      Controller used: Arcade/Gamepad
      Error messages received: 0
      Guide used: Wiki Google Retropie Forum
      File:
      Emulator: Tried with PSX
      Attachment of config files:
      How to replicate the problem:

      Hi all
      Im trying to get my USB game pads to work with controller based emu's and my arcade button joystick to work with FBA and MAME I have no issues with them working they all detect fine and config. I first tried adding "
      input_player1_joypad_index = "2"
      input_player2_joypad_index = "3" 2&3 being the USB gamepads 0&1 are Arcade
      To the /psx/retroarch.cfg file and it worked but messed up the button configs some buttons got remapped. So is there any possible way to have USB controllers on certain emu's and joystick arcade for others ?

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

        @lumberg said in Arcade Joystick and USB Game pads for separate emulators:

        So is there any possible way to have USB controllers on certain emu's and joystick arcade for others ?

        I'm currently working on a tool to make it, maybe releasing something next week. Until there you can try it: https://github.com/meleu/RetroPie-joystick-selection

        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        L 1 Reply Last reply Reply Quote 0
        • L
          lumberg @meleu
          last edited by

          @meleu Cool thanks will give it a stab definitely keen to try your tool out as well :)

          1 Reply Last reply Reply Quote 0
          • U
            urstin
            last edited by

            hi,
            ich have the same idea and just "null-ed" the Input value for either Gamepad or arcade stick"

            i use the /all/ retroarch.cfg to configure each Input method (Keyboard , stick and pad)
            and then i disable in each Emulator config the controls wich i dont want to use:

            e.g. /nes/retroarch.cfg :
            i added the lines:
            Input_player1_up= "nul" ( up for my arcade stick)
            and so on. it disables the arcade stick

            L 1 Reply Last reply Reply Quote 0
            • L
              lumberg @urstin
              last edited by

              @urstin excuse my noobness so i would add Input_player1_up= "nul" and add down left right etc e.g. Input_player1_down= "nul" etc thanks for your help

              1 Reply Last reply Reply Quote 0
              • U
                urstin
                last edited by

                hi,
                well i checked my config an the correct way would be:

                Input_player1_up = nul

                but by reading your comment i recognized something.
                i use an arcade stick that simulates a Keyboard so all my Input Attributes are like:
                Input_player1_up = UP
                Input_player1_a = F

                on the other Hand my BT Gamepad uses a different Attribute like:
                input_player1_a_btn = "11"
                Input_player1_up_axis ="-1"

                so if i set the value to NUL i can disable the Input for the Input method i dont want to use.

                i am not sure how your Setup is configured:
                how is your arcade stick connected? is it a Keyboard emulation?

                to find out the right Attribute Name you can check the /all/retroarch.cfg if you have configured your arcade and gamepad in emulationstation (Input for Controlling the menu of emulationstation)

                i hope ist not too confusing ;)

                1 Reply Last reply Reply Quote 0
                • U
                  urstin
                  last edited by

                  if the attributes for your arcade and Gamepad are the same my little idea will not help :(

                  1 Reply Last reply Reply Quote 0
                  • L
                    lumberg
                    last edited by

                    So i figured it out by having retroarch save on exit it was messing up the emulater .cfg by tirning that off and adding
                    input_player1_joypad_index = "2"
                    input_player2_joypad_index = "3
                    To the emu cfg i got it running fine just put it above the include line still have to test on other emus but working fine on psx cheers for everyones help

                    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.