set initial player on joyshocks
This commit is contained in:
parent
d2f4c12453
commit
d2f3eb22e0
|
@ -40,6 +40,7 @@ namespace HeavenStudio.InputSystem
|
||||||
{
|
{
|
||||||
Debug.Log("Setting up JoyShock: ( Handle " + i + ", type " + JslGetControllerType(i) + " )");
|
Debug.Log("Setting up JoyShock: ( Handle " + i + ", type " + JslGetControllerType(i) + " )");
|
||||||
InputJoyshock joyshock = new InputJoyshock(i);
|
InputJoyshock joyshock = new InputJoyshock(i);
|
||||||
|
joyshock.SetPlayer(null);
|
||||||
joyshock.InitializeController();
|
joyshock.InitializeController();
|
||||||
controllers[i] = joyshock;
|
controllers[i] = joyshock;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue