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()); } }
public bool IsDpadHeld(AxisDirections direction) { return(RawGamepadInput.IsDpadHeld(direction)); }
public bool IsHeld(T input) { return(RawGamepadInput.IsHeld(buttomMap[input])); }