mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Made devices aware of the plugin that loaded them
Fixed Corsair LL Fans layout Expanded render events Added identify option to device settings, must move this to be reusable though
This commit is contained in:
1 parent
ae41c6cac3
commit
05eed5ba00
23 files changed
+400
-229
No files matched your search
@@ -13,7 +13,7 @@ namespace Artemis.Plugins.Devices.Corsair
|
||||
{
|
||||
private readonly IRgbService _rgbService;
|
||||
|
||||
public CorsairDevice(PluginInfo pluginInfo, IRgbService rgbService) : base(pluginInfo)
|
||||
public CorsairDevice(PluginInfo pluginInfo, IRgbService rgbService) : base(pluginInfo, CorsairDeviceProvider.Instance)
|
||||
{
|
||||
_rgbService = rgbService;
|
||||
}
|
||||
@@ -23,7 +23,7 @@ namespace Artemis.Plugins.Devices.Corsair
|
||||
PathHelper.ResolvingAbsolutePath += ResolveCorsairPath;
|
||||
CorsairDeviceProvider.PossibleX64NativePaths.Add(Path.Combine(PluginInfo.Directory.FullName, "x64", "CUESDK.dll"));
|
||||
CorsairDeviceProvider.PossibleX86NativePaths.Add(Path.Combine(PluginInfo.Directory.FullName, "x86", "CUESDK.dll"));
|
||||
_rgbService.AddDeviceProvider(CorsairDeviceProvider.Instance);
|
||||
_rgbService.AddDeviceProvider(DeviceProvider);
|
||||
}
|
||||
|
||||
private void ResolveCorsairPath(object sender, ResolvePathEventArgs e)
|
||||
|
||||
@@ -32,62 +32,63 @@
|
||||
<X>-</X>
|
||||
<Y>-</Y>
|
||||
</Led>
|
||||
<Led Id="Fan5">
|
||||
|
||||
<Led Id="Fan5">
|
||||
<Shape>Circle</Shape>
|
||||
<X>59.5</X>
|
||||
<Y>0</Y>
|
||||
</Led>
|
||||
<Led Id="Fan16">
|
||||
<Shape>Circle</Shape>
|
||||
<X>90.5</X>
|
||||
<Y>7.6</Y>
|
||||
</Led>
|
||||
<Led Id="Fan15">
|
||||
<Shape>Circle</Shape>
|
||||
<X>113</X>
|
||||
<X>7.9</X>
|
||||
<Y>29.8</Y>
|
||||
</Led>
|
||||
<Led Id="Fan14">
|
||||
<Shape>Circle</Shape>
|
||||
<X>120.5</X>
|
||||
<Y>59.9</Y>
|
||||
</Led>
|
||||
<Led Id="Fan13">
|
||||
<Shape>Circle</Shape>
|
||||
<X>113</X>
|
||||
<Y>90.4</Y>
|
||||
</Led>
|
||||
<Led Id="Fan12">
|
||||
<Shape>Circle</Shape>
|
||||
<X>90.5</X>
|
||||
<Y>113.1</Y>
|
||||
</Led>
|
||||
<Led Id="Fan11">
|
||||
<Shape>Circle</Shape>
|
||||
<X>59.5</X>
|
||||
<Y>120.5</Y>
|
||||
</Led>
|
||||
<Led Id="Fan10">
|
||||
<Shape>Circle</Shape>
|
||||
<X>30.7</X>
|
||||
<Y>113.1</Y>
|
||||
</Led>
|
||||
<Led Id="Fan9">
|
||||
<Shape>Circle</Shape>
|
||||
<X>8</X>
|
||||
<Y>90.4</Y>
|
||||
</Led>
|
||||
<Led Id="Fan8">
|
||||
</Led>
|
||||
<Led Id="Fan6">
|
||||
<Shape>Circle</Shape>
|
||||
<X>0.4</X>
|
||||
<Y>59.9</Y>
|
||||
</Led>
|
||||
<Led Id="Fan7">
|
||||
<Led Id="Fan7">
|
||||
<Shape>Circle</Shape>
|
||||
<X>7.9</X>
|
||||
<X>8</X>
|
||||
<Y>90.4</Y>
|
||||
</Led>
|
||||
<Led Id="Fan8">
|
||||
<Shape>Circle</Shape>
|
||||
<X>30.7</X>
|
||||
<Y>113.1</Y>
|
||||
</Led>
|
||||
<Led Id="Fan9">
|
||||
<Shape>Circle</Shape>
|
||||
<X>59.5</X>
|
||||
<Y>120.5</Y>
|
||||
</Led>
|
||||
<Led Id="Fan10">
|
||||
<Shape>Circle</Shape>
|
||||
<X>90.5</X>
|
||||
<Y>113.1</Y>
|
||||
</Led>
|
||||
<Led Id="Fan11">
|
||||
<Shape>Circle</Shape>
|
||||
<X>113</X>
|
||||
<Y>90.4</Y>
|
||||
</Led>
|
||||
<Led Id="Fan12">
|
||||
<Shape>Circle</Shape>
|
||||
<X>120.5</X>
|
||||
<Y>59.9</Y>
|
||||
</Led>
|
||||
<Led Id="Fan13">
|
||||
<Shape>Circle</Shape>
|
||||
<X>113</X>
|
||||
<Y>29.8</Y>
|
||||
</Led>
|
||||
<Led Id="Fan6">
|
||||
<Led Id="Fan14">
|
||||
<Shape>Circle</Shape>
|
||||
<X>90.5</X>
|
||||
<Y>7.6</Y>
|
||||
</Led>
|
||||
<Led Id="Fan15">
|
||||
<Shape>Circle</Shape>
|
||||
<X>59.5</X>
|
||||
<Y>0</Y>
|
||||
</Led>
|
||||
<Led Id="Fan16">
|
||||
<Shape>Circle</Shape>
|
||||
<X>28</X>
|
||||
<Y>7.6</Y>
|
||||
|
||||
Reference in new issue
Block a user