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

    Help for xbox one config in pifba

    Scheduled Pinned Locked Moved Help and Support
    pifbaxbox one s
    5 Posts 3 Posters 1.6k 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.
    • kenwongK
      kenwong
      last edited by

      Hi guys. I install retropie 4.2 in my Pi zero and my xbox one S controller via bluetooth.

      version: 4.2 (update and upgrade all I can)
      Pi: Pi zero (not W)
      Controller: Xbox one S (with newest update)

      My problem is I can't use my xbox one controller in Pifba. Even I edit fba2x.cfg
      jstest /dev/input/js0 even doesn't work in ssh, I can't see any change on/off in my macOS ssh terminal.

      How can I do to use my xbox controller in PIFBA? as you know. only PIFBA can run smoothly in Pi zero.

      Thank a lot for your helping. :)

      B 1 Reply Last reply Reply Quote 0
      • B
        backstander @kenwong
        last edited by backstander

        @kenwong

        jstest /dev/input/js0 even doesn't work in ssh, I can't see any change on/off in my macOS ssh terminal.

        That's odd. What do you see when you are SSH'd in and you type:

        ls /dev/input/
        

        The reason I ask is because you might need to do jstest /dev/input/js1 instead.

        kenwongK 1 Reply Last reply Reply Quote 0
        • kenwongK
          kenwong @backstander
          last edited by

          @backstander
          Thank you ! backstander, I try jstest /dev/input/js2, it work's know.
          However, I am sure the select button I map in my controller is "13".
          but It doesn't work even I edit the fba2x.cfg.

          there is my fba2x.cfg.
          ///////////---------------------------//////
          [Keyboard]

          Get codes from /usr/include/SDL/SDL_keysym.h

          A_1=306
          B_1=32
          X_1=308
          Y_1=304
          L_1=122
          R_1=120
          START_1=13
          SELECT_1=9
          LEFT_1=276
          RIGHT_1=275
          UP_1=273
          DOWN_1=274
          QUIT=27
          #player 2 keyboard controls, disabled by default
          A_2=999
          B_2=999
          X_2=999
          Y_2=999
          L_2=999
          R_2=999
          START_2=999
          SELECT_2=999
          LEFT_2=999
          RIGHT_2=999
          UP_2=999
          DOWN_2=999

          [Joystick]

          Get codes from "jstest /dev/input/js2"

          from package "joystick"

          A_1=0
          B_1=1
          X_1=3
          Y_1=4
          L_1=4
          R_1=5
          START_1=6
          SELECT_1=13
          #Joystick axis
          JA_LR=0
          JA_UD=3
          #player 2 button configuration
          A_2=3
          B_2=0
          X_2=2
          Y_2=1
          L_2=7
          R_2=5
          START_2=11
          SELECT_2=13
          #Joystick axis
          JA_LR_2=0
          JA_UD_2=1

          [Graphics]
          DisplaySmoothStretch=1

          Display Effect: 0 none, 1 scanlines

          DisplayEffect=0
          DisplayBorder=0
          ///////---------------------------/////
          what's wrong?

          B BuZzB 2 Replies Last reply Reply Quote 1
          • B
            backstander @kenwong
            last edited by

            @kenwong

            However, I am sure the select button I map in my controller is "13".

            My guess would be that the Select Button is one number less than the Start Button?

            I think my Start button is "9" and my Select button is "8" (or something like that)

            1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @kenwong
              last edited by

              @kenwong When posting configs please use markdown and a code block or else data is lost as styling. http://commonmark.org/help/

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              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.