Navigation

    Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Libretro and Mame different keys

    Emulator Arcade/PC/Console
    keyboard mappin mame vs libretr libretro
    2
    3
    1440
    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.
    • midworld08
      midworld08 last edited by

      Hi,
      Hoping someone can point me in the right direction.
      I have a Rpi2, which I managed to get Recalbox running on....and updated on the network to V4.0.2.
      I added a bunch of ROMS in Mame and LibRetro folders as some of the games did not work under one emulator and did under the other.
      At this point I notice the LibRetro and MAME use different keys on the keyboard.....no joystick or anything connected yet.

      So first off, can these be made to have the same keyboard mapping, and if so where can I find the details?

      I jumped ahead, and added my arcade joystick and a bunch of buttons. Problem is that the buttons and joystick work differently between the 2 emulators....well no real surprise considering the above 🙂
      I tried doing a config of the controller settings, and it turns out that was a big mistake.....as now quite a few of the games will not run. I then added more buttons to fully populate the player 1 input, and went in and did another config of the controller settings, and at least got some of the games to work again.

      So can anyone point me in the right direction?

      Substring 1 Reply Last reply Reply Quote 0
      • Substring
        Substring @midworld08 last edited by

        @midworld08 hi

        First of all, forget about the keyboard, we don't.bother configuring it for emulators.

        Next : the way buttons are mapped solely depends on the core itself, and how it internally handles libretro inputs. You may eventually play aroubd with core remaps, but it will be a try and die until you match the button configuration of the other arcade emulator.

        Regarding you controller, buttons should ve mapped like :
        Y X L
        B A R

        You must map start select and hotkey (if you don't have a dedicated button, use select)

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        1 Reply Last reply Reply Quote 0
        • midworld08
          midworld08 last edited by

          Hey thanks,

          So, do you need both Hotkeys on P1 and P2 mapped? Or can you get away with P1 only?

          OK so I understand forget the keyboard interface....but does my comment about FBA Libretro and MAME using the joystick inputs differently seem correct?

          Actually, FBA Libretro is just not usable. MAME works with the GPIO joystick config done inside ES. Libretro doesn't, so I guess libretro only works with SNES controllers and the like, definitely not with GPIO. So I guess I am off to figure out core remaps....which doesn't sound fun...

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Want to support us ?

          134
          Online

          87.8k
          Users

          25.8k
          Topics

          178.8k
          Posts

          Copyright © 2021 recalbox.com