Plugins - Added descriptions

Settings - Plugin settings tab
UI - Catch exceptions during exception dialog display
Plugins - Implemented enable/disable of plugins (WIP)
Novation - Added Launchpad Mini layout and image
This commit is contained in:
Robert committed 2020-03-03 16:08:05 +01:00
1 parent 73245a3d4b
commit 16af36bc57
44 files changed
+810 -199

No files matched your search

@@ -21,17 +21,5 @@ namespace Artemis.Plugins.Devices.Asus
PathHelper.ResolvingAbsolutePath += (sender, args) => ResolveAbsolutePath(typeof(AsusRGBDevice<>), sender, args);
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
public override void DisablePlugin()
{
// TODO: Remove the device provider from the surface
}
public override void Dispose()
{
// TODO: This will probably not go well without first removing the device provider
// AsusDeviceProvider.Instance.ResetDevices();
// AsusDeviceProvider.Instance.Dispose();
}
}
}
@@ -1,6 +1,7 @@
{
"Guid": "c20e876f-7cb0-4fa1-b0cc-ae1afb5865d1",
"Name": "Asus Devices",
"Description": "Allows Artemis to control lighting on different ASUS devices such as motherboards, GPUs, headsets, RAM, keyboards and PC cases.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.Asus.dll"
}
@@ -1,4 +1,5 @@
using System.IO;
using System;
using System.IO;
using Artemis.Core.Plugins.Abstract;
using Artemis.Core.Plugins.Models;
using Artemis.Core.Services.Interfaces;
@@ -24,17 +25,5 @@ namespace Artemis.Plugins.Devices.CoolerMaster
RGB.NET.Devices.CoolerMaster.CoolerMasterDeviceProvider.PossibleX86NativePaths.Add(Path.Combine(PluginInfo.Directory.FullName, "x86", "CMSDK.dll"));
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
public override void DisablePlugin()
{
// TODO: Remove the device provider from the surface
}
public override void Dispose()
{
// TODO: This will probably not go well without first removing the device provider
// CoolerMasterDeviceProvider.Instance.ResetDevices();
// CoolerMasterDeviceProvider.Instance.Dispose();
}
}
}
@@ -1,6 +1,7 @@
{
"Guid": "b78f644b-827f-4bb4-bf03-2adaa365b58b",
"Name": "CoolerMaster Devices",
"Description": "Allows Artemis to control the lighting on CoolerMaster mice and keyboards.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.CoolerMaster.dll"
}
@@ -24,16 +24,5 @@ namespace Artemis.Plugins.Devices.Corsair
RGB.NET.Devices.Corsair.CorsairDeviceProvider.PossibleX86NativePaths.Add(Path.Combine(PluginInfo.Directory.FullName, "x86", "CUESDK_2017.dll"));
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
public override void DisablePlugin()
{
}
public override void Dispose()
{
// TODO: This will probably not go well without first removing the device provider
// CorsairDeviceProvider.Instance.ResetDevices();
// CorsairDeviceProvider.Instance.Dispose();
}
}
}
@@ -1,6 +1,7 @@
{
"Guid": "926629ab-8170-42f3-be18-22c694aa91cd",
"Name": "Corsair Devices",
"Description": "Allows Artemis to control lighting on all iCUE enabled Corsair products",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.Corsair.dll"
}
@@ -24,18 +24,6 @@ namespace Artemis.Plugins.Devices.DMX
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
public override void DisablePlugin()
{
// TODO: Remove the device provider from the surface
}
public override void Dispose()
{
// TODO: This will probably not go well without first removing the device provider
// DMXDeviceProvider.Instance.ResetDevices();
// DMXDeviceProvider.Instance.Dispose();
}
public override PluginConfigurationViewModel GetConfigurationViewModel()
{
return new DMXConfigurationViewModel(this);
@@ -1,6 +1,7 @@
{
"Guid": "6f073d4d-d97d-4040-9750-841fdbe06915",
"Name": "DMX Devices",
"Description": "Allows Artemis to control lighting on DMX controllers via a COM port.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.DMX.dll"
}
@@ -1,5 +1,6 @@
using System.IO;
using System.Linq;
using Artemis.Core.Extensions;
using Artemis.Core.Plugins.Abstract;
using Artemis.Core.Plugins.Models;
using Artemis.Core.Services.Interfaces;
@@ -33,18 +34,10 @@ namespace Artemis.Plugins.Devices.Logitech
if (_logger.IsEnabled(LogEventLevel.Debug))
LogDeviceIds();
}
public override void DisablePlugin()
{
}
public override void Dispose()
{
}
private void LogDeviceIds()
{
var devices = DeviceList.Local.GetHidDevices(VENDOR_ID).ToList();
var devices = DeviceList.Local.GetHidDevices(VENDOR_ID).DistinctBy(d => d.ProductID).ToList();
_logger.Debug("Found {count} Logitech device(s)", devices.Count);
foreach (var hidDevice in devices)
_logger.Debug("Found Logitech device {name} with PID {pid}", hidDevice.GetFriendlyName(), hidDevice.ProductID);
@@ -1,6 +1,7 @@
{
"Guid": "62a45c0c-884c-4868-9fd7-3c5987fe07ca",
"Name": "Logitech Devices",
"Description": "Allows Artemis to control the lighting on Logitech mice and keyboards.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.Logitech.dll"
}
@@ -24,17 +24,5 @@ namespace Artemis.Plugins.Devices.Msi
RGB.NET.Devices.Msi.MsiDeviceProvider.PossibleX86NativePaths.Add(Path.Combine(PluginInfo.Directory.FullName, "x86", "MysticLight_SDK.dll"));
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
public override void DisablePlugin()
{
// TODO: Remove the device provider from the surface
}
public override void Dispose()
{
// TODO: This will probably not go well without first removing the device provider
// MsiDeviceProvider.Instance.ResetDevices();
// MsiDeviceProvider.Instance.Dispose();
}
}
}
@@ -1,6 +1,7 @@
{
"Guid": "9177c320-1206-48a3-af52-b1749c758786",
"Name": "Msi Devices",
"Name": "MSI Devices",
"Description": "Allows Artemis to control the lighting on MSI GPUs and motherboards.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.Msi.dll"
}
@@ -28,6 +28,11 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Sanford.Multimedia.Midi" Version="6.6.0">
<NoWarn>NU1701</NoWarn>
</PackageReference>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Artemis.Core\Artemis.Core.csproj">
<Private>false</Private>
Binary file not shown.

After

Width:  |  Height:  |  Size: 563 KiB

@@ -0,0 +1,412 @@
<?xml version="1.0"?>
<Device xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<Name>Launchpad Mini</Name>
<Description>Launchpad Mini (8x8-Pad Grid)</Description>
<Type>LedMatrix</Type>
<Lighting>Key</Lighting>
<Vendor>Novation</Vendor>
<Model>Launchpad S</Model>
<Width>185</Width>
<Height>185</Height>
<LedUnitWidth>14</LedUnitWidth>
<LedUnitHeight>14</LedUnitHeight>
<ImageBasePath>Images\Novation\Launchpads</ImageBasePath>
<DeviceImage>LaunchpadMini.png</DeviceImage>
<Leds>
<Led Id="Custom1">
<Shape>Circle</Shape>
<X>16</X>
<Y>18</Y>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom2">
<Shape>Circle</Shape>
<X>+8</X>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom3">
<Shape>Circle</Shape>
<X>+8</X>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom4">
<Shape>Circle</Shape>
<X>+8</X>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom5">
<Shape>Circle</Shape>
<X>+8</X>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom6">
<Shape>Circle</Shape>
<X>+8</X>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom7">
<Shape>Circle</Shape>
<X>+8</X>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom8">
<Shape>Circle</Shape>
<X>+8</X>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="LedMatrix1">
<X>14</X>
<Y>+4</Y>
</Led>
<Led Id="LedMatrix2">
<X>+4</X>
</Led>
<Led Id="LedMatrix3">
<X>+4</X>
</Led>
<Led Id="LedMatrix4">
<X>+4</X>
</Led>
<Led Id="LedMatrix5">
<X>+4</X>
</Led>
<Led Id="LedMatrix6">
<X>+4</X>
</Led>
<Led Id="LedMatrix7">
<X>+4</X>
</Led>
<Led Id="LedMatrix8">
<X>+4</X>
</Led>
<Led Id="LedMatrix9">
<X>14</X>
<Y>+4</Y>
</Led>
<Led Id="LedMatrix10">
<X>+4</X>
</Led>
<Led Id="LedMatrix11">
<X>+4</X>
</Led>
<Led Id="LedMatrix12">
<X>+4</X>
</Led>
<Led Id="LedMatrix13">
<X>+4</X>
</Led>
<Led Id="LedMatrix14">
<X>+4</X>
</Led>
<Led Id="LedMatrix15">
<X>+4</X>
</Led>
<Led Id="LedMatrix16">
<X>+4</X>
</Led>
<Led Id="LedMatrix17">
<X>14</X>
<Y>+4</Y>
</Led>
<Led Id="LedMatrix18">
<X>+4</X>
</Led>
<Led Id="LedMatrix19">
<X>+4</X>
</Led>
<Led Id="LedMatrix20">
<X>+4</X>
</Led>
<Led Id="LedMatrix21">
<X>+4</X>
</Led>
<Led Id="LedMatrix22">
<X>+4</X>
</Led>
<Led Id="LedMatrix23">
<X>+4</X>
</Led>
<Led Id="LedMatrix24">
<X>+4</X>
</Led>
<Led Id="LedMatrix25">
<X>14</X>
<Y>+4</Y>
</Led>
<Led Id="LedMatrix26">
<X>+4</X>
</Led>
<Led Id="LedMatrix27">
<X>+4</X>
</Led>
<Led Id="LedMatrix28">
<Shape>M0,0 L0,1 L0.75,1 L1,0.75 L1,0 Z</Shape>
<X>+4</X>
</Led>
<Led Id="LedMatrix29">
<Shape>M0,0 L0,0.75 L0.25,1 L1,1 L1,0 Z</Shape>
<X>+4</X>
</Led>
<Led Id="LedMatrix30">
<X>+4</X>
</Led>
<Led Id="LedMatrix31">
<X>+4</X>
</Led>
<Led Id="LedMatrix32">
<X>+4</X>
</Led>
<Led Id="LedMatrix33">
<X>14</X>
<Y>+4</Y>
</Led>
<Led Id="LedMatrix34">
<X>+4</X>
</Led>
<Led Id="LedMatrix35">
<X>+4</X>
</Led>
<Led Id="LedMatrix36">
<Shape>M0,0 L0,1 L1,1 L1,0.25 L0.75,0 Z</Shape>
<X>+4</X>
</Led>
<Led Id="LedMatrix37">
<Shape>M0,0.25 L0,1 L1,1 L1,0 L0.25,0 Z</Shape>
<X>+4</X>
</Led>
<Led Id="LedMatrix38">
<X>+4</X>
</Led>
<Led Id="LedMatrix39">
<X>+4</X>
</Led>
<Led Id="LedMatrix40">
<X>+4</X>
</Led>
<Led Id="LedMatrix41">
<X>14</X>
<Y>+4</Y>
</Led>
<Led Id="LedMatrix42">
<X>+4</X>
</Led>
<Led Id="LedMatrix43">
<X>+4</X>
</Led>
<Led Id="LedMatrix44">
<X>+4</X>
</Led>
<Led Id="LedMatrix45">
<X>+4</X>
</Led>
<Led Id="LedMatrix46">
<X>+4</X>
</Led>
<Led Id="LedMatrix47">
<X>+4</X>
</Led>
<Led Id="LedMatrix48">
<X>+4</X>
</Led>
<Led Id="LedMatrix49">
<X>14</X>
<Y>+4</Y>
</Led>
<Led Id="LedMatrix50">
<X>+4</X>
</Led>
<Led Id="LedMatrix51">
<X>+4</X>
</Led>
<Led Id="LedMatrix52">
<X>+4</X>
</Led>
<Led Id="LedMatrix53">
<X>+4</X>
</Led>
<Led Id="LedMatrix54">
<X>+4</X>
</Led>
<Led Id="LedMatrix55">
<X>+4</X>
</Led>
<Led Id="LedMatrix56">
<X>+4</X>
</Led>
<Led Id="LedMatrix57">
<X>14</X>
<Y>+4</Y>
</Led>
<Led Id="LedMatrix58">
<X>+4</X>
</Led>
<Led Id="LedMatrix59">
<X>+4</X>
</Led>
<Led Id="LedMatrix60">
<X>+4</X>
</Led>
<Led Id="LedMatrix61">
<X>+4</X>
</Led>
<Led Id="LedMatrix62">
<X>+4</X>
</Led>
<Led Id="LedMatrix63">
<X>+4</X>
</Led>
<Led Id="LedMatrix64">
<X>+4</X>
</Led>
<Led Id="Custom9">
<Shape>Circle</Shape>
<X>+4</X>
<Y>34</Y>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom10">
<Shape>Circle</Shape>
<X>~</X>
<Y>+8</Y>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom11">
<Shape>Circle</Shape>
<X>~</X>
<Y>+8</Y>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom12">
<Shape>Circle</Shape>
<X>~</X>
<Y>+8</Y>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom13">
<Shape>Circle</Shape>
<X>~</X>
<Y>+8</Y>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom14">
<Shape>Circle</Shape>
<X>~</X>
<Y>+8</Y>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom15">
<Shape>Circle</Shape>
<X>~</X>
<Y>+8</Y>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
<Led Id="Custom16">
<Shape>Circle</Shape>
<X>~</X>
<Y>+8</Y>
<Width>10mm</Width>
<Height>10mm</Height>
</Led>
</Leds>
<LedImageLayouts>
<LedImageLayout Layout="Default">
<LedImages>
<LedImage Id="Custom1" Image="Buttons\Round.png" />
<LedImage Id="Custom2" Image="Buttons\Round.png" />
<LedImage Id="Custom3" Image="Buttons\Round.png" />
<LedImage Id="Custom4" Image="Buttons\Round.png" />
<LedImage Id="Custom5" Image="Buttons\Round.png" />
<LedImage Id="Custom6" Image="Buttons\Round.png" />
<LedImage Id="Custom7" Image="Buttons\Round.png" />
<LedImage Id="Custom8" Image="Buttons\Round.png" />
<LedImage Id="Custom9" Image="Buttons\Round.png" />
<LedImage Id="Custom10" Image="Buttons\Round.png" />
<LedImage Id="Custom11" Image="Buttons\Round.png" />
<LedImage Id="Custom12" Image="Buttons\Round.png" />
<LedImage Id="Custom13" Image="Buttons\Round.png" />
<LedImage Id="Custom14" Image="Buttons\Round.png" />
<LedImage Id="Custom15" Image="Buttons\Round.png" />
<LedImage Id="Custom16" Image="Buttons\Round.png" />
<LedImage Id="LedMatrix1" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix2" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix3" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix4" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix5" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix6" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix7" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix8" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix9" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix10" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix11" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix12" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix13" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix14" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix15" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix16" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix17" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix18" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix19" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix20" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix21" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix22" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix23" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix24" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix25" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix26" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix27" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix28" Image="Buttons\GridCenter1.png" />
<LedImage Id="LedMatrix29" Image="Buttons\GridCenter2.png" />
<LedImage Id="LedMatrix30" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix31" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix32" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix33" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix34" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix35" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix36" Image="Buttons\GridCenter3.png" />
<LedImage Id="LedMatrix37" Image="Buttons\GridCenter4.png" />
<LedImage Id="LedMatrix38" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix39" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix40" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix41" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix42" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix43" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix44" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix45" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix46" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix47" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix48" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix49" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix50" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix51" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix52" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix53" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix54" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix55" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix56" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix57" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix58" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix59" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix60" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix61" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix62" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix63" Image="Buttons\Grid.png" />
<LedImage Id="LedMatrix64" Image="Buttons\Grid.png" />
</LedImages>
</LedImageLayout>
</LedImageLayouts>
</Device>
@@ -21,17 +21,5 @@ namespace Artemis.Plugins.Devices.Novation
PathHelper.ResolvingAbsolutePath += (sender, args) => ResolveAbsolutePath(typeof(NovationRGBDevice<>), sender, args);
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
public override void DisablePlugin()
{
// TODO: Remove the device provider from the surface
}
public override void Dispose()
{
// TODO: This will probably not go well without first removing the device provider
// NovationDeviceProvider.Instance.ResetDevices();
// NovationDeviceProvider.Instance.Dispose();
}
}
}
@@ -1,6 +1,7 @@
{
"Guid": "a487332f-c4b3-43e7-b80f-f33adc6fff87",
"Name": "Novation Devices",
"Description": "Allows Artemis to control the lighting on Novation launchpads.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.Novation.dll"
}
@@ -24,17 +24,5 @@ namespace Artemis.Plugins.Devices.Razer
RGB.NET.Devices.Razer.RazerDeviceProvider.PossibleX86NativePaths.Add(Path.Combine(PluginInfo.Directory.FullName, "x86", "RzChromaSDK.dll"));
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
public override void DisablePlugin()
{
// TODO: Remove the device provider from the surface
}
public override void Dispose()
{
// TODO: This will probably not go well without first removing the device provider
// RazerDeviceProvider.Instance.ResetDevices();
// RazerDeviceProvider.Instance.Dispose();
}
}
}
@@ -1,6 +1,7 @@
{
"Guid": "58a3d80e-d5cb-4a40-9465-c0a5d54825d6",
"Name": "Razer Devices",
"Description": "Allows Artemis to control lighting on all Synapse enabled Razer products",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.Razer.dll"
}
@@ -25,17 +25,5 @@ namespace Artemis.Plugins.Devices.Roccat
RGB.NET.Devices.Roccat.RoccatDeviceProvider.PossibleX86NativePaths.Add(Path.Combine(PluginInfo.Directory.FullName, "x86", "RoccatTalkSDKWrapper.dll"));
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
public override void DisablePlugin()
{
// TODO: Remove the device provider from the surface
}
public override void Dispose()
{
// TODO: This will probably not go well without first removing the device provider
// RoccatDeviceProvider.Instance.ResetDevices();
// RoccatDeviceProvider.Instance.Dispose();
}
}
}
@@ -1,6 +1,7 @@
{
"Guid": "10049953-94c1-4102-988b-9e4f0b64c232",
"Name": "Roccat Devices",
"Description": "Not yet implemented, sorry!",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.Roccat.dll"
}
@@ -20,6 +20,9 @@
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="HidSharp" Version="2.0.1" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Artemis.Core\Artemis.Core.csproj">
<Private>false</Private>
@@ -23,17 +23,5 @@ namespace Artemis.Plugins.Devices.SteelSeries
PathHelper.ResolvingAbsolutePath += (sender, args) => ResolveAbsolutePath(typeof(SteelSeriesRGBDevice), sender, args);
_rgbService.AddDeviceProvider(RgbDeviceProvider);
}
public override void DisablePlugin()
{
// TODO: Remove the device provider from the surface
}
public override void Dispose()
{
// TODO: This will probably not go well without first removing the device provider
// SteelSeriesDeviceProvider.Instance.ResetDevices();
// SteelSeriesDeviceProvider.Instance.Dispose();
}
}
}
@@ -1,6 +1,7 @@
{
"Guid": "27945704-6edd-48b4-bc0e-319cce9693fc",
"Name": "SteelSeries Devices",
"Description": "Allows Artemis to control lighting on select SteelSeries mice and keyboards",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.SteelSeries.dll"
}
@@ -27,6 +27,9 @@ namespace Artemis.Plugins.Devices.WS281X
public override void EnablePlugin()
{
var definitions = Settings.GetSetting<List<DeviceDefinition>>("DeviceDefinitions");
if (definitions.Value == null)
definitions.Value = new List<DeviceDefinition>();
foreach (var deviceDefinition in definitions.Value)
{
switch (deviceDefinition.Type)
@@ -1,6 +1,7 @@
{
"Guid": "ec86de32-1010-4bf7-97d7-1dcc46659ab6",
"Name": "WS281X Devices",
"Description": "Allows Artemis to control WS281X lighting strips via an Arduino or BitWizard.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.WS281X.dll"
}
@@ -1,6 +1,7 @@
{
"Guid": "e70fd5ba-9881-480a-8ff6-078ed5f747fa",
"Name": "Wooting Devices",
"Description": "Allows Artemis to control lighting on Wooting keyboards. Will eventually also expose analog key data.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Devices.Wooting.dll"
}
@@ -37,7 +37,7 @@ namespace Artemis.Plugins.LayerBrushes.Color
GradientTypeProperty.ValueChanged += (sender, args) => CreateShader(_shaderBounds);
}
private void GradientTypePropertyOnValueChanged(object? sender, EventArgs e)
private void GradientTypePropertyOnValueChanged(object sender, EventArgs e)
{
throw new NotImplementedException();
}
@@ -1,6 +1,7 @@
{
"Guid": "92a9d6ba-6f7a-4937-94d5-c1d715b4141a",
"Name": "Color layer brush",
"Description": "A basic color layer-brush providing solid colors and several types of gradients.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.LayerBrushes.Color.dll"
}
@@ -1,6 +1,7 @@
{
"Guid": "61cbbf01-8d69-4ede-a972-f3f269da66d9",
"Name": "Noise layer brush",
"Description": "An OpenSimplex noise layer-brush providing configurable randomized and animated noise.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.LayerBrushes.Noise.dll"
}
@@ -1,6 +1,7 @@
{
"Guid": "0de2991a-d7b8-4f61-ae4e-6623849215b5",
"Name": "General module",
"Description": "A general profile-enabled module for every-day use.",
"Version": "1.0.0.0",
"Main": "Artemis.Plugins.Modules.General.dll"
}