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

    XBOX360 pad (xboxdrv) only Dpad works when used as Player 2

    Scheduled Pinned Locked Moved Help and Support
    dpadxbox360xboxdrv2 player setup
    7 Posts 2 Posters 2.1k 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
      Pyjamarama
      last edited by

      Hi!

      I have put my XBOX 360 pad (using the xboxdrv) to have the left stick as dpad.

      I have an arcade controller (with zero delay and the hex edit thingy) as well.

      When I have both connected, my 360 pad stops to operate the left stick and I can only use the dpad

      I tested it in FBA, MAME2003

      Any clues?

      Thank you!

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

        @Pyjamarama
        It seems that you configured your xbox pad .cfg file using *_player1* explicitly. Can you paste your /opt/retropie/configs/all/retroarch-joypads/YOUR_XBOX_CONFIG_FILE.cfg? (maybe in pastebin.com if it's to big)

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

          I have 3 configs there. One for my zero delay stick and there are 2 for the 360. I am using xboxdrv but I do not know which is which

          MicrosoftX-Box360pad.cfg

          input_device = "Microsoft X-Box 360 pad"
          input_driver = "udev"
          input_r_y_plus_axis = "+4"
          input_l3_btn = "9"
          input_r_x_minus_axis = "-3"
          input_r_axis = "+2"
          input_save_state_axis = "+2"
          input_start_btn = "7"
          input_exit_emulator_btn = "7"
          input_l_y_minus_axis = "-1"
          input_l_axis = "-2"
          input_load_state_axis = "-2"
          input_up_btn = "h0up"
          input_r_y_minus_axis = "-4"
          input_a_btn = "0"
          input_b_btn = "1"
          input_reset_btn = "1"
          input_down_btn = "h0down"
          input_r2_btn = "5"
          input_l_x_plus_axis = "+0"
          input_l_y_plus_axis = "+1"
          input_r3_btn = "10"
          input_right_btn = "h0right"
          input_state_slot_increase_btn = "h0right"
          input_x_btn = "2"
          input_menu_toggle_btn = "2"
          input_select_btn = "6"
          input_enable_hotkey_btn = "6"
          input_l_x_minus_axis = "-0"
          input_y_btn = "3"
          input_left_btn = "h0left"
          input_state_slot_decrease_btn = "h0left"
          input_r_x_plus_axis = "+3"
          

          and

          XBoxGamepad(userspacedriver)

          input_device = "Xbox Gamepad (userspace driver)"
          input_driver = "udev"
          input_r_y_plus_axis = "+3"
          input_l3_btn = "11"
          input_r_x_minus_axis = "-2"
          input_r_btn = "7"
          input_save_state_btn = "7"
          input_l2_btn = "4"
          input_start_btn = "9"
          input_exit_emulator_btn = "9"
          input_l_y_minus_axis = "-1"
          input_l_btn = "6"
          input_load_state_btn = "6"
          input_up_btn = "h0up"
          input_r_y_minus_axis = "-3"
          input_a_btn = "0"
          input_b_btn = "1"
          input_reset_btn = "1"
          input_down_btn = "h0down"
          input_r2_btn = "5"
          input_l_x_plus_axis = "+0"
          input_l_y_plus_axis = "+1"
          input_r3_btn = "12"
          input_right_btn = "h0right"
          input_state_slot_increase_btn = "h0right"
          input_x_btn = "2"
          input_menu_toggle_btn = "2"
          input_select_btn = "8"
          input_enable_hotkey_btn = "8"
          input_l_x_minus_axis = "-0"
          input_y_btn = "3"
          input_left_btn = "h0left"
          input_state_slot_decrease_btn = "h0left"
          input_r_x_plus_axis = "+2"
          
          meleuM 1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @Pyjamarama
            last edited by meleu

            @Pyjamarama I don't know the xboxdrv details, sorry. But it seems that the xboxdrv config file is the XBoxGamepad(userspacedriver).cfg and the "pure" XBox 360 gamepad config file is the MicrosoftX-Box360pad.cfg.

            It seems that when the controller is plugged alone, it uses the xboxdrv file and when it's plugged together with the zero delay it gets the "pure xbox" file. I think you can assure it looking for those yellow text when RetroArch starts.

            I noticed that some mappings are missing in MicrosoftX-Box360pad.cfg: L, R and L2.

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 2
            • P
              Pyjamarama
              last edited by

              Thank you for your reply!

              Silly question: If I delete the MicrosoftX-Box360pad.cfg, will it revert to xboxdrv pad profile when in 2p mode?

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

                @Pyjamarama

                Silly question: If I delete the MicrosoftX-Box360pad.cfg, will it revert to xboxdrv pad profile when in 2p mode?

                I'm not sure but I can't see any reason to make it happen.

                If this question were in a school test I would venture to answer "no, it won't". :-)
                I think you'll get that "joystick blablabla not configured" message.

                You don't need to actually delete the file, just rename it to something like MicrosoftX-Box360pad.cfg-backup and make some tests. ;-)

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

                  I renamed the file.

                  I also went to RetroArch congifuration and put the digital->Left analog to P2 and P3 (silly me!!)

                  It worked like a dream.

                  Thanx @meleu

                  1 Reply Last reply Reply Quote 1
                  • 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.