Example #1
0
    private void PrintGamepadInfo(bool fullInfo)
    {
        print("Joysitck connected: " + JCS_Input.IsJoystickConnected());

        if (!fullInfo)
        {
            return;
        }

        for (int index = 0;
             index < Input.GetJoystickNames().Length;
             ++index)
        {
            print("Index[" + index + "] => [" + Input.GetJoystickNames()[index] + "]");
        }
    }