mirror of
https://github.com/DarthAffe/CUE.NET.git
synced 2025-12-12 16:58:29 +00:00
Code cleanup
This commit is contained in:
parent
381ec55349
commit
1eba5c66be
@ -3,7 +3,6 @@
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using CUE.NET.Devices.Generic;
|
||||
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
using System;
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
|
||||
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using CUE.NET.Devices;
|
||||
|
||||
@ -9,8 +9,6 @@ using System.Collections.ObjectModel;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using CUE.NET.Brushes;
|
||||
using CUE.NET.Devices.Generic.Enums;
|
||||
using CUE.NET.Devices.Generic.EventArgs;
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
using System.Drawing;
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
using System.Drawing;
|
||||
|
||||
namespace CUE.NET.Devices.Generic
|
||||
{
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
Manual,
|
||||
|
||||
/// <summary>
|
||||
/// The device will perform automatic updates at the rate set in <see cref="ICueDevice.UpdateFrequency" />.
|
||||
/// The device will perform automatic updates at the rate set in <see cref="CueSDK.UpdateFrequency" />.
|
||||
/// </summary>
|
||||
Continuous
|
||||
}
|
||||
|
||||
@ -1,4 +1,7 @@
|
||||
namespace CUE.NET.Devices.Generic.EventArgs
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
// ReSharper disable UnusedAutoPropertyAccessor.Global
|
||||
|
||||
namespace CUE.NET.Devices.Generic.EventArgs
|
||||
{
|
||||
public class UpdatingEventArgs : System.EventArgs
|
||||
{
|
||||
|
||||
@ -43,10 +43,8 @@ namespace SimpleDevTest
|
||||
rainbowBrush.AddEffect(new MoveRainbowEffect());
|
||||
rainbowBrush.AddEffect(new RemoveRedEffect());
|
||||
|
||||
AddTestBrush(CueSDK.KeyboardSDK, rainbowBrush);
|
||||
AddTestBrush(CueSDK.MouseSDK, rainbowBrush);
|
||||
AddTestBrush(CueSDK.HeadsetSDK, rainbowBrush);
|
||||
AddTestBrush(CueSDK.MousematSDK, rainbowBrush);
|
||||
foreach (ICueDevice device in CueSDK.InitializedDevices)
|
||||
AddTestBrush(device, rainbowBrush);
|
||||
|
||||
//// Get connected keyboard or throw exception if there is no light controllable keyboard connected
|
||||
//CorsairKeyboard keyboard = CueSDK.KeyboardSDK;
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
// ReSharper disable MemberCanBeProtected.Global
|
||||
|
||||
using System.Collections.Generic;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using CUE.NET.Devices.Generic;
|
||||
|
||||
|
||||
@ -1,7 +1,6 @@
|
||||
// ReSharper disable AutoPropertyCanBeMadeGetOnly.Global
|
||||
// ReSharper disable MemberCanBePrivate.Global
|
||||
|
||||
using System.Drawing;
|
||||
using CUE.NET.Devices.Generic;
|
||||
|
||||
namespace CUE.NET.Gradients
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
// ReSharper disable UnusedMember.Global
|
||||
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using CUE.NET.Devices.Generic;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user