Issue on Android with PS4 and PS5 gamepad support:
Both gamepads use the same internal name identifier: Wireless Controller
Both gamepads use different button IDs, which causes button mismatching.
As such, the game can't determine which gamepad is which.
To keep up with latest trends, I've made the decision to make the PS5 gamepad have precedence over the PS4 gamepad for now.
PlayStation4AndroidUnityProfile.cs
Matchers = new[]
{
//new InputDeviceMatcher { NameLiteral = "Wireless Controller" }, <-- commenting out due to PlayStation 5 controller using the same NameLiteral
new InputDeviceMatcher { NameLiteral = "Sony Computer Entertainment Wireless Controller" },
new InputDeviceMatcher { NameLiteral = "Sony Interactive Entertainment Wireless Controller" }
};
Issue on Android with PS4 and PS5 gamepad support:
Wireless Controller
PlayStation4AndroidUnityProfile.cs
PlayStation5AndroidUnityProfile.cs
Related task:
Or possibly: