Esempio n. 1
0
        public bool IsLJSHeld(AxisDirections direction)
        {
            switch (direction)
            {
            case AxisDirections.Up:
                return(RawGamepadInput.IsLeftJoystickHeldUp());

            case AxisDirections.Down:
                return(RawGamepadInput.IsLeftJoystickHeldDown());

            case AxisDirections.Left:
                return(RawGamepadInput.IsLeftJoystickHeldLeft());

            default:
                return(RawGamepadInput.IsLeftJoystickHeldRight());
            }
        }
Esempio n. 2
0
 public bool IsDpadHeld(AxisDirections direction)
 {
     return(RawGamepadInput.IsDpadHeld(direction));
 }
Esempio n. 3
0
 public bool IsHeld(T input)
 {
     return(RawGamepadInput.IsHeld(buttomMap[input]));
 }