Example #1
0
    private bool IsJoystickDraging(out int fingerId)
    {
        Joystick joystick = Joystick.Instance;

        bool ret = false;

        fingerId = 0;

        if (joystick != null)
        {
            ret      = joystick.IsDragging();
            fingerId = joystick.DragFingerId();
        }

        return(ret);
    }