• 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

lr-FBA controller config

Scheduled Pinned Locked Moved Help and Support
fbacontrolscustomjoystickmapping
7 Posts 5 Posters 3.5k 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.
  • T
    tr3v0r
    last edited by 17 Jun 2018, 12:01

    Hi all,

    My joystick controllers are set up like the following;

    B X Y
    A L R

    After running jstest, I have learned that this translates as;

    1 2 3
    0 4 5

    This is the same for both player 1 and player 2 controls.

    Therefore, I amended the retroarch.cfg file located in \RETROPIE\configs\fba to the following;

    Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

    input_remapping_directory = "/opt/retropie/configs/fba/"

    input_player1_joypad_index = 0
    input_player1_b_btn = 1
    input_player1_a_btn = 0
    input_player1_y_btn = 3
    input_player1_x_btn = 2
    input_player1_l_btn = 4
    input_player1_r_btn = 5
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player2_joypad_index = 1
    input_player1_b_btn = 1
    input_player1_a_btn = 0
    input_player1_y_btn = 3
    input_player1_x_btn = 2
    input_player1_l_btn = 4
    input_player1_r_btn = 5
    input_player2_start_btn = 9
    input_player2_select_btn = 8

    Axis for RetroArch D-Pad.
    Needs to be either '+' or '-' in the first character signaling either positive or negative direction of the axis, then the axis number.
    input_player1_up_axis = -32757
    input_player1_down_axis = +32767
    input_player1_left_axis = -32767
    input_player1_right_axis = +32767
    input_player2_up_axis = -32757
    input_player2_down_axis = +32767
    input_player2_left_axis = -32767
    input_player2_right_axis = +32767

    Hotkeys- Hotkeys enable you to press a combination of buttons to do such things as exit emulators, save states,
    and load states, as well as any other functionality in an emulator. (In the example below 8 is the select key
    and 9 is the start key so when I hold down select and press start it will exit the emulator.)
    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9
    input_save_state_btn = 5
    input_load_state_btn = 4
    input_menu_toggle_btn = 0
    input_state_slot_increase_axis = +0
    input_state_slot_decrease_axis = -0

    include "/opt/retropie/configs/all/retroarch.cfg"

    (Removed the # symbols from above as they were formatting the text incorrectly on here, but the symbol remains in my script)

    However, the new configuration isn't working and the default controls seem to remain. I have been using Metal Slug 3 as a test of controls. Currently, my B button is still performing the A action, my A action performing B and D for the final action, which should be C.

    I guess that I am missing something very simple, but have no idea what it is!

    Anyone have a clue?

    Cheers

    D E B 4 Replies Last reply 17 Jun 2018, 22:50 Reply Quote 0
    • D
      dankcushions Global Moderator @tr3v0r
      last edited by 17 Jun 2018, 22:50

      a little confused - why are you rebinding for fba? did you not set up your controller via https://retropie.org.uk/docs/First-Installation/#configure-controllers ? you shouldn't need to rebind like this at the core level - it should use your global settings.

      1 Reply Last reply Reply Quote 0
      • E
        edmaul69 @tr3v0r
        last edited by 18 Jun 2018, 13:18

        @tr3v0r when you set up a 6 button layout it is supposed to be set up as

        LXR
        YBA

        G 1 Reply Last reply 18 Jun 2018, 16:46 Reply Quote 0
        • E
          edmaul69 @tr3v0r
          last edited by 18 Jun 2018, 13:19

          @tr3v0r https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration

          G 1 Reply Last reply 18 Jun 2018, 15:51 Reply Quote 0
          • G
            grant2258 Banned @edmaul69
            last edited by grant2258 18 Jun 2018, 15:51

            @edmaul69 said in lr-FBA controller config:

            @tr3v0r https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration

            select modern retropad map as i would need to look up the source to work the classic out

            Y X R
            B A R1

            1 Reply Last reply Reply Quote 0
            • B
              barbudreadmon @tr3v0r
              last edited by 18 Jun 2018, 16:22

              @tr3v0r Sorry i won't be really answering your question since i have no clue how overrides work in retropie.
              But with a 6 buttons panel, fba will expect something like this :
              Y X L
              B A R
              With "classic" device type selected in "Quick Menu > Controls" (this is the default).

              Setting your controller as
              B X Y
              A L R
              Is a really bad idea, no retroarch core expect this kind of layout and you'll have to use override everywhere.

              FBNeo developer - github - forum

              1 Reply Last reply Reply Quote 0
              • G
                grant2258 Banned @edmaul69
                last edited by 18 Jun 2018, 16:46

                @edmaul69 said in lr-FBA controller config:

                @tr3v0r when you set up a 6 button layout it is supposed to be set up as

                LXR
                YBA

                yes there is massive confusion at the moment with 6 and 8 buttons.

                the Megadrive/Genesis (6 Button) layout you where using is probably for the megadrive emulator its no good in other cores. Keep in mind to remap your genesis core if your using this as a global

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