/// <summary> /// Prevents a default instance of the <see cref="Mouse" /> class from being created. /// </summary> private Mouse() { Log.Info("Mouse is initializing"); Chroma.InitInstance(); _custom = Custom.Create(); _customGrid = CustomGrid.Create(); }
internal static extern Result CreateMouseCustomEffects([In] Mouse.Effects.Custom effect, [In, Out] ref Guid effectId);
/// <summary> /// Prevents a default instance of the <see cref="Mouse" /> class from being created. /// </summary> private Mouse() { Log.Info("Mouse is initializing"); Chroma.Initialize(); _custom = Custom.Create(); }
/// <summary> /// Sets a custom effect on the mouse. /// </summary> /// <param name="effect">An instance of the <see cref="Custom" /> struct.</param> public void SetCustom(Custom effect) { SetGuid(NativeWrapper.CreateMouseEffect(effect)); }