Example #1
0
        protected GamepadComponent_Stick RegisterStick(GamepadComponent_Stick stick)
        {
            components.Add(stick.GetId(), stick);
            sticks.Add((GamepadStickId)stick.GetId(), stick);

            return(stick);
        }
Example #2
0
 static public CardinalOrdinalDirection GetClosestCardinalOrdinalDirection(this GamepadComponent_Stick item)
 {
     return(item.GetAngleInDegrees().GetDegreeAngleClosestCardinalOrdinalDirection());
 }