schellingb / dosbox-pure

DOSBox Pure is a new fork of DOSBox built for RetroArch/Libretro aiming for simplicity and ease of use.
GNU General Public License v2.0
731 stars 61 forks source link

A is B and X is Y #454

Closed InterClaw closed 6 months ago

InterClaw commented 6 months ago

I noticed that in the Gamepad Mapper A is B and X is Y. It seems that DOSBox-Pure is using the classic SNES button layout, rather than the today more commonly used Xbox 360 layout.

Is this deliberately so? Is this a holdover from vanilla DOSBox perhaps? It is different from how RetroArch has it at least, so it's a bit confusing until you understand what's going on, hehe.

image

image

schellingb commented 6 months ago

The core is not choosing this. We're using what libretro (the API) and the reference frontend RetroArch dictates. I think it would be much more confusing if we were to ignore that.

How did you get your RetroArch to use an XBox style button layout? I've never seen that, not do I know of an option to switch it.

image

Edit: Oh, I see, with a recognized controller plugged in, it will show the button names of the actual pad under Quick Menu -> Controls -> Port X Controls. Under Settings -> Input -> RetroPad Binds -> Port X Controls it always shows the image above.

There's no way via libretro to figure out what kind of button layout the physical device that is assigned to a port has, so we can't really do anything here. Though we probably should change "A" to "A (Right)" to make it easier to understand.

InterClaw commented 6 months ago

Edit: Oh, I see, with a recognized controller plugged in, it will show the button names of the actual pad under Quick Menu -> Controls -> Port X Controls. Under Settings -> Input -> RetroPad Binds -> Port X Controls it always shows the image above.

I didn't investigate this properly I see now. 🤦 That's exactly it.

There's no way via libretro to figure out what kind of button layout the physical device that is assigned to a port has, so we can't really do anything here. Though we probably should change "A" to "A (Right)" to make it easier to understand.

Good idea! 👍