Ejemplo n.º 1
0
        protected GamepadComponent_Stick RegisterStick(GamepadComponent_Stick stick)
        {
            components.Add(stick.GetId(), stick);
            sticks.Add((GamepadStickId)stick.GetId(), stick);

            return(stick);
        }
Ejemplo n.º 2
0
 static public CardinalOrdinalDirection GetClosestCardinalOrdinalDirection(this GamepadComponent_Stick item)
 {
     return(item.GetAngleInDegrees().GetDegreeAngleClosestCardinalOrdinalDirection());
 }