get control scheme for the player

I am using Player Input Manger with joining enable by default and split screen enabled. Is there a way to find out which player is assigned which control scheme.

Ultimately I want to change some sensitivity values for KB & Mouse and Gamepad.

foreach (var player in PlayerInput.all)
   Debug.Log($"Player {player.playerIndex}: {player.currentControlScheme}");
1 Like