Example #1
0
 /// <summary>
 /// Sets a <see cref="Wave" /> effect on the keypad.
 /// </summary>
 /// <param name="effect">An instance of the <see cref="Wave" /> struct.</param>
 public void SetWave(Wave effect)
 {
     SetGuid(NativeWrapper.CreateKeypadEffect(Effect.Wave, effect));
 }
Example #2
0
 /// <summary>
 /// Sets a <see cref="Static" /> effect on the keypad.
 /// </summary>
 /// <param name="effect">An instance of the <see cref="Static" /> struct.</param>
 public void SetStatic(Static effect)
 {
     SetGuid(NativeWrapper.CreateKeypadEffect(Effect.Static, effect));
 }
Example #3
0
 /// <summary>
 /// Sets a <see cref="Reactive" /> effect on the keypad.
 /// </summary>
 /// <param name="effect">An instance of the <see cref="Reactive" /> struct.</param>
 public void SetReactive(Reactive effect)
 {
     SetGuid(NativeWrapper.CreateKeypadEffect(Effect.Reactive, effect));
 }
Example #4
0
 /// <summary>
 /// Sets a <see cref="Custom" /> effect on the keypad.
 /// </summary>
 /// <param name="effect">An instance of the <see cref="Custom" /> struct.</param>
 public void SetCustom(Custom effect)
 {
     SetGuid(NativeWrapper.CreateKeypadEffect(Effect.Custom, effect));
 }
Example #5
0
 /// <summary>
 /// Sets a <see cref="Breathing" /> effect on the keypad.
 /// </summary>
 /// <param name="effect">An instance of the <see cref="Breathing" /> struct.</param>
 public void SetBreathing(Breathing effect)
 {
     SetGuid(NativeWrapper.CreateKeypadEffect(Effect.Breathing, effect));
 }
Example #6
0
 /// <summary>
 /// Sets an effect without any parameters.
 /// Currently, this only works for the <see cref="Effect.None" /> effect.
 /// </summary>
 /// <param name="effect">Effect options.</param>
 public void SetEffect(Effect effect)
 {
     SetGuid(NativeWrapper.CreateKeypadEffect(effect, IntPtr.Zero));
 }