Esempio n. 1
0
 public bool Equals(LedColor other)
 {
     if (R == other.R && G == other.G && B == other.B)
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
Esempio n. 2
0
 public override bool SetKeyboardColor(LedColor color)
 {
     return(LogiLedSetLighting(color.Rperc, color.Gperc, color.Bperc));
 }
Esempio n. 3
0
 public override bool SetKeyColor(LedKey key, LedColor color)
 {
     return(LogiLedSetLightingForKeyWithHidCode((int)key, color.Rperc, color.Gperc, color.Bperc));
 }
Esempio n. 4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="color">The RGB color</param>
 /// <param name="duration">The duration in milliseconds</param>
 /// <param name="interval">The interval in milliseconds</param>
 public override bool Flash(LedColor color, int duration, int interval)
 {
     return(LogiLedFlashLighting(color.Rperc, color.Gperc, color.Bperc, duration, interval));
 }
Esempio n. 5
0
 public virtual bool SetKeyboardColor(LedColor color)
 {
     throw new NotImplementedException();
 }
Esempio n. 6
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="color">The RGB color</param>
 /// <param name="duration">The duration in milliseconds</param>
 /// <param name="interval">The interval in milliseconds</param>
 public virtual bool Flash(LedColor color, int duration, int interval)
 {
     throw new NotImplementedException();
 }