コード例 #1
0
ファイル: Mouse.cs プロジェクト: blackworx/Colore
 /// <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();
 }
コード例 #2
0
 internal static extern Result CreateMouseCustomEffects([In] Mouse.Effects.Custom effect, [In, Out] ref Guid effectId);
コード例 #3
0
ファイル: Mouse.cs プロジェクト: DeadlyEmbrace/Colore
 /// <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();
 }
コード例 #4
0
ファイル: Mouse.cs プロジェクト: DeadlyEmbrace/Colore
 /// <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));
 }