public override int GetHashCode() { unchecked { return(((LeftJoyCon != null ? LeftJoyCon.GetHashCode() : 0) * 397) ^ (RightJoyCon != null ? RightJoyCon.GetHashCode() : 0)); } }
public void Rumble(JoyConType type, JoyConRumbleInfo rumbleInfo) { switch (type) { case JoyConType.Left: LeftJoyCon.Rumble(rumbleInfo); break; case JoyConType.Right: RightJoyCon.Rumble(rumbleInfo); break; default: throw new NotImplementedException(); } }
public void Rumble(JoyConRumbleInfo rumbleInfo) { LeftJoyCon.Rumble(rumbleInfo); RightJoyCon.Rumble(rumbleInfo); }
public void Rumble(JoyConRumble rumble) { LeftJoyCon.Rumble(rumble); RightJoyCon.Rumble(rumble); }
public void SetupLeds(JoyConSingleLed firstLed, JoyConSingleLed secondLed, JoyConSingleLed thirdLed, JoyConSingleLed fourthLed) { LeftJoyCon.SetupLeds(firstLed, secondLed, thirdLed, fourthLed); RightJoyCon.SetupLeds(firstLed, secondLed, thirdLed, fourthLed); }
public void SetupLeds(JoyConLed led) { LeftJoyCon.SetupLeds(led); RightJoyCon.SetupLeds(led); }
public void Unacquire() { LeftJoyCon.Unacquire(); RightJoyCon.Unacquire(); }
public void Acquire(JoyConPlayer player) { LeftJoyCon.Acquire(player); RightJoyCon.Acquire(player); }
public void Dispose() { LeftJoyCon.Dispose(); RightJoyCon.Dispose(); }