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

    Emulationstation button mapping strange?

    Scheduled Pinned Locked Moved Help and Support
    emulationstatiomapping
    4 Posts 2 Posters 2.0k 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.
    • vbsV
      vbs
      last edited by

      Naive question: Isn't the default button mapping for the main buttons (A and B) in emulationstation a bit strange? I mean if I configure my buttons of my gamepads in a way that makes sense for Playstation, SNES etc. then in my opinion the buttons A and B in Emulationstation are twisted.

      Lets say I configure my main gamepad buttons (A, B, X, Y) to match SNES and Playstation (also works good for NES, Megadrive etc.):
      alt text
      alt text

      I consider the lower middle button ('B' for SNES and PSX) as the button usually used for 'confirm' and 'A' usually used for cancel, no? So with this buttons the "normal" console button mapping feels natural.

      But in ES 'A' is used for confirmation and 'B' is used for cancellation (inverted to the emulators). So in the end it feels like the Emulationstation mapping and the mapping of most emulators don't go very well together. Am I missing something?
      As far as I can see the button mapping is hardcoded in ES and cannot be configured:

      bool ISimpleGameListView::input(InputConfig* config, Input input)
      {
      	if(input.value != 0)
      	{
      		if(config->isMappedTo("a", input))
      		{
      			<...>
      				
      			return true;
      		}else if(config->isMappedTo("b", input))
      		{
      			<...>
      
      1 Reply Last reply Reply Quote 0
      • vbsV
        vbs
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators
          last edited by

          There is an option to swap A and B (you will need to reconfigure the controller after) - check Configuration / Tools or go directly to Manage Packages -> Core Packages -> Emulationstation to configure.

          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
          • vbsV
            vbs
            last edited by

            Oh man, I didn't see xD Works great, big thanks!

            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.