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

    XBox wireless key mapping seems to be wrong

    Scheduled Pinned Locked Moved Help and Support
    xbox wirelesskey bindings
    4 Posts 2 Posters 449 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.
    • K
      kalli
      last edited by

      I have set up a retropie system on rpi4 with two xbox one wireless controllers some month ago.
      The machine is running quite well.
      But when configuring the controllers I had to adopt an automatic configuration file 'Xbox Wireless Controller.cfg' because there are some key mappings inside which are actually wrong, at least on my machine. I took a while to figure out what to do because keys are mapped very often here and there. Finally I have successfully re-mapped those keys in Retroarc configuration.
      So actually this is not an open question but a hint that there is a thing which could be fixed easily, maybe.

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

        @kalli said in XBox wireless key mapping seems to be wrong:

        So actually this is not an open question but a hint that there is a thing which could be fixed easily, maybe.

        How can we fix it if we don't know what went wrong in the first place ?

        1 Reply Last reply Reply Quote 0
        • K
          kalli
          last edited by kalli

          I came to the conclusion that there is no such button with id=2
          a,b are still swapped in-game compared to retropie ui but I do not care.

          my:
          input_a_btn = "0"
          input_b_btn = "1"
          input_x_btn = "4"
          input_y_btn = "3"

          original:
          input_a_btn = "0"
          input_b_btn = "1"
          input_x_btn = "2"
          input_y_btn = "3"

          for a working setup with n64 I re-mapped much more because I need almost all keys and both joysticks. I found these changes useful for n64 emulation, original values <, my values >

          10c10
          < input_select_btn = "7"
          > input_select_btn = "15"

          24c24
          < input_x_btn = "2"
          > input_x_btn = "4"

          27c27
          < input_start_btn = "6"
          > input_start_btn = "11"

          31a32,38
          > input_vendor_id = "1118"
          > input_product_id = "765"
          > input_l_btn = "7"
          > input_r_btn = "6"
          > input_r2_axis = "+5"
          > input_l2_btn = "13"
          > input_r2_btn = "0"

          1 Reply Last reply Reply Quote 0
          • K
            kalli
            last edited by kalli

            ... typos fixed above

            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.