UGameplayStatics::GetPlayerControllerID

Gets what physical controller ID a player is using. This only works for local player controllers.