libretro / libretro-meta

The Unlicense
4 stars 3 forks source link

[Multiple cores] Retropad w/Analog device type is unnecessary? #96

Closed CuttleFishJones865 closed 1 year ago

CuttleFishJones865 commented 7 years ago

A bunch of cores (e.g. 2048 core) have RetroPad and RetroPad w/Analog as separate device type options. It is unclear what the purpose of the RetroPad w/Analog device type is since analog sticks can work fine without the RetroPad w/Analog device type. Should the RetroPad w/Analog device type be removed from all cores that have it?

I can make a list of all the cores that have RetroPad w/Analog as an option if this is a valid issue.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/48940868-multiple-cores-retropad-w-analog-device-type-is-unnecessary?utm_campaign=plugin&utm_content=tracker%2F56438981&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F56438981&utm_medium=issues&utm_source=github).
CuttleFishJones865 commented 1 year ago

This is not an issue.

To quote an explaination here: https://github.com/libretro/RetroArch/issues/6369

"The API tells us that to use ANALOGS we have to use RetroPad w/Analog or bitshifted device from Retropad w/Analog. RetroArch seems a bit lax, as in it reads analog inputs even if that's wrong but the cores may not."

"in most cores you should even see this but instead you would see PS1 JOYPAD and dualshock or something like that.

While you may be right in that you shouldn't have to, it's part of the API and the API originally didn't have analog buttons. You could consider it backwards compatibility."