mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 01:58:30 +00:00
Replaced own hidsharp-package with the latest official which supports .net standard
This commit is contained in:
parent
b471c0e192
commit
62020a2d09
@ -47,8 +47,7 @@ namespace RGB.NET.Devices.Logitech.HID
|
||||
|
||||
internal static void LoadDeviceList()
|
||||
{
|
||||
HidDeviceLoader loader = new HidDeviceLoader();
|
||||
List<int> ids = loader.GetDevices(VENDOR_ID).Select(x => x.ProductID).Distinct().ToList();
|
||||
List<int> ids = DeviceList.Local.GetHidDevices(VENDOR_ID).Select(x => x.ProductID).Distinct().ToList();
|
||||
|
||||
foreach ((string model, RGBDeviceType deviceType, int id, string imageLayout, string layoutPath) deviceData in PER_KEY_DEVICES)
|
||||
if (ids.Contains(deviceData.id))
|
||||
|
||||
@ -60,7 +60,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\RGB.NET.Core\RGB.NET.Core.csproj" />
|
||||
<PackageReference Include="HidSharp.Standard" Version="1.5.0" />
|
||||
<PackageReference Include="HidSharp" Version="2.0.1" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user