Venomalia / UniversalDynamicInput

a custom button pack for dolphin that supports over 150 games!
Creative Commons Zero v1.0 Universal
131 stars 15 forks source link

Dpad textures missing with new SDL profiles #243

Open alfredo-escobar opened 2 months ago

alfredo-escobar commented 2 months ago

Input device ID?

SDL/0/Steam Virtual Gamepad, SDL/0/PS4 Controller, SDL/0/Controller (Xbox One For Windows), SDL/0/Nintendo Switch Pro Controller,

Dolphin version?

5.0-21264

Operating System?

Windows 10, SteamOS 3.5.17

Describe the bug.

In pull #225 new mappings were made for the new SDL button names. "Hat 0 E", "Hat 0 N", "Hat 0 S" and "Hat 0 W" were added to the JSONs.

However, when mapping the dpad in Dolphin with SDL, Pad E, Pad N, Pad S and Pad W are used instead by default (tested with Xbox 360 wireless, Xbox One, Switch Pro, DualShock 4 and Steam Virtual pad). This results in Dolphin not applying the corresponding dpad dynamic textures. Some controllers (PS4, Switch Pro) don't even have "Hat 0 x" inputs in Dolphin.

Adding the "Pad x" keys under the SDL controllers in the JSONs seems to work in my limited testing.

Expected behavior.

No response