• 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

Amiberry 5.1 controller mapping problem (since upgrading from 3.x)

Scheduled Pinned Locked Moved Help and Support
amiberry 5.0controller
45 Posts 7 Posters 5.8k 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.
  • D
    DTEAM @mitu
    last edited by DTEAM 19 Jul 2022, 15:49

    @mitu
    When I connect another controller (basic snes USB controller) it shows in port 0 and I can only use hotkeys, but in port 1 it's Tensyduino and now I can play the game with Teensyduino, but hotkeys only work with SNES controller. This seems to be a port problem.

    I have to do it via /opt/retropie/configs.hdmi/amiga/amiberry/conf/amiberry.conf because it doesn't save

    New edit: even if the checkbox is selected, it doesn't generate the .log file. I changed the .log file directory location for /opt/retropie/configs/amiga and now it works.

    Here's my log file: https://pastebin.com/4Xv5u9cX

    D 1 Reply Last reply 20 Jul 2022, 15:56 Reply Quote 0
    • D
      DTEAM @DTEAM
      last edited by DTEAM 20 Jul 2022, 15:56

      @mitu
      Hi Mitu
      I don't have this file on my PI. Could it be the problem? See my log on pastebin.com

      target_cfgfile_load(): load file /opt/retropie/emulators/amiberry/conf/default.uae
      load config '/opt/retropie/emulators/amiberry/conf/default.uae':3
      cfgfile_load_2 failed
      

      new edit : I added my controller in the /opt/retropie/configs.hdmi/amiga/amiberry/conf/gamecontrollerdb.txt with the ppsspp method and nothing has changed.

      03000000c01600008204000011010000,Teensyduino Keyboard/Mouse/Joystick,platform:Linux,a:b4,b:b3,x:b1,y:b2,back:b0,start:b9,leftstick:b14,rightstick:b15,leftshoulder:b10,rightshoulder:b12,dpup:b5,dpdown:b6,dpleft:b7,dpright:b8,leftx:a2~,lefty:a3~,rightx:a0~,righty:a1~,lefttrigger:b11,righttrigger:b13,
      
      D 2 Replies Last reply 20 Jul 2022, 17:35 Reply Quote 0
      • D
        DTEAM @DTEAM
        last edited by 20 Jul 2022, 17:35

        Could someone please share /opt/retropie/emulators/amiberry/conf/default.uae in pastebin.com

        1 Reply Last reply Reply Quote 0
        • M
          mitu Global Moderator
          last edited by mitu 20 Jul 2022, 18:19

          @DTEAM said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):

          I don't have this file on my PI. Could it be the problem? See my log on pastebin.com

          No, I don't think that's the problem - by default there's no default.uae shipped with Amiberry/RetroPie.

          I don't see any issues in the log, the controller is detected - though Amiberry may be confused by the axis used as buttons. But if you updated the gamecontrollerdb.txt with your mapping (and the log shows the loaded mapping) then this shouldn't be a problem.
          You can try removing the mouse entry and see if only with the joystick set the input is accepted and works.

          EDIT: can you post the RetroArch .cfg profile for your gamepad ?

          D 1 Reply Last reply 20 Jul 2022, 20:42 Reply Quote 1
          • D
            DTEAM @mitu
            last edited by DTEAM 20 Jul 2022, 20:42

            @mitu said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):

            EDIT: can you post the RetroArch .cfg profile for your gamepad ?

            /opt/retropie/configs.hdmi/amiga/amiberry/conf/retroarch.cfg

            https://pastebin.com/a5AaD3mN

            1 Reply Last reply Reply Quote 0
            • D
              DTEAM @DTEAM
              last edited by DTEAM 20 Jul 2022, 20:56

              @DTEAM said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):

              new edit : I added my controller in the /opt/retropie/configs.hdmi/amiga/amiberry/conf/gamecontrollerdb.txt with the ppsspp method and nothing has changed.

              I did the same thing for /opt/retropie/configs.hdmi/all/retroarch/autoconfig/gamecontrollerdb_user.txt
              The mapping was incomplete and wrong.

              Can it be interference between retroarch.cfg and gamecontrollerdb_user.txt

              1 Reply Last reply Reply Quote 0
              • M
                mitu Global Moderator
                last edited by 21 Jul 2022, 03:45

                @DTEAM said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):

                I did the same thing for /opt/retropie/configs.hdmi/all/retroarch/autoconfig/gamecontrollerdb_user.txt

                I don't think Amiberry looks there - it ships a gamecontrollerdb.txtin /opt/retropie/configs/amiga/amiberry/conf and it looks also for gamecontrollerdb_user.txtin the same location, so you might want to use the latter file to add your gamepad mapping.

                /opt/retropie/configs.hdmi/amiga/amiberry/conf/retroarch.cfg

                That's not the file I was asking - the controller's .cfg file should be in /opt/retropie/configs/all/retroarch-joypads.

                D 1 Reply Last reply 22 Jul 2022, 13:11 Reply Quote 0
                • D
                  DTEAM @mitu
                  last edited by DTEAM 22 Jul 2022, 13:11

                  @mitu said in Amiberry 5.1 controller mapping problem (since upgrading from 3.x):

                  That's not the file I was asking - the controller's .cfg file should be in /opt/retropie/configs/all/retroarch-joypads.

                  Hi, here it is.
                  /opt/retropie/configs/all/retroarch/retroarch-joypads/Teensyduino KeyboardMouseJoystick.cfg

                  https://pastebin.com/jk7DGSEG

                  New edit: I tried many things, but nothing works. I'm out of ideas. Do you know where is the file where we can select the gamepad. I would like to change CD32 pad to default, but it never saves my selection. it doesn't seem to be in amiberry.conf
                  Capture.PNG

                  D 1 Reply Last reply 26 Jul 2022, 20:14 Reply Quote 0
                  • D
                    DTEAM @DTEAM
                    last edited by DTEAM 26 Jul 2022, 20:14

                    @mitu

                    Solved!! In /opt/retropie/configs.hdmi/amiga/amiberry/conf/amiberry.conf , I modified:

                    default_controller1=joy1
                    default_controller2=joy2
                    

                    for

                    default_controller1=joy0
                    default_controller2=joy1
                    

                    For some reason, with Amiberry 5.X, it was joy 1 and joy 2 instead of joy0 and joy1.
                    I'm doing test for the mouse

                    default_mouse2=joy0 or joy1
                    

                    NEW EDIT: I think It's an error in the original .conf file, maybe it should be fixed. Another thing, my analog joystick is in reverse mode for left and right and also up and down. Is there an option to fix that?

                    In order to have sound, I had to put default_soundcard=1 in /opt/retropie/configs.hdmi/amiga/amiberry/conf/amiberry.conf

                    D 1 Reply Last reply 2 Aug 2022, 16:47 Reply Quote 1
                    • D
                      DTEAM @DTEAM
                      last edited by 2 Aug 2022, 16:47

                      On Amiberry, it looks like I don't have access to all the buttons on my gamepad for CD32.
                      Can someone do a test with Chambers Of Shaolin and tell me if he is able to punch and kick?

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