diff --git a/Chromatics/Core/RGBController.cs b/Chromatics/Core/RGBController.cs index 15b6dc6..65af3e9 100644 --- a/Chromatics/Core/RGBController.cs +++ b/Chromatics/Core/RGBController.cs @@ -148,7 +148,18 @@ public static void Setup() if (appSettings.deviceOpenRGBEnabled) { + var openrgb = new OpenRGBServerDefinition + { + Port = 6742, + Ip = "127.0.0.1", + ClientName = "Chromatics" + }; + + OpenRGBDeviceProvider.Instance.AddDeviceDefinition(openrgb); LoadDeviceProvider(OpenRGBDeviceProvider.Instance); + + + } if (appSettings.deviceHueEnabled) @@ -298,6 +309,7 @@ public static void LoadDeviceProvider(IRGBDeviceProvider provider) //Attach device provider foreach (var device in provider.Devices) { + Console.WriteLine(@"Device: " + device.DeviceInfo.DeviceName); surface.Attach(device); } @@ -350,6 +362,7 @@ public static void UnloadDeviceProvider(IRGBDeviceProvider provider, bool remove surface.Detach(device); } + provider.Exception -= deviceExceptionEventHandler; provider.DevicesChanged -= DevicesChanged;