Ejemplo n.º 1
0
    protected List <AxisMapping> getAxisMappings()
    {
        List <AxisMapping> axes = new List <AxisMapping>();

        for (int i = 0; i < inputManager.axisCount; ++i)
        {
            if (inputManager.AxisAt(i).controllerType != controllerType)
            {
                continue;
            }

            axes.Add(convertAxisInfoToMapping(inputManager.AxisAt(i)));
        }

        return(axes);
    }