this is an example of what I want to do:
"for (int i = 0; i < Players.Length; i++)
{
if (XInputHelper.GamePads[i\].APressed)
{
GamePad.SetVibration(i, 1.0f, 1.0f);
}
}"
Players is an Array of all the player objects. I want to cycle all my players and start to rumble that specific controller, but I don't know how to easily transform the int i = 0 too PlayerIndex.One
(i\ should be only i in brackets but this forum displays a light bulb if i write that)
Cheers Alfons