Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion RGB.NET.Devices.Logitech/HID/LightspeedHidLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public sealed class LightspeedHIDLoader<TLed, TData> : IEnumerable<HIDDeviceDefi
0xC53A,
0xC541,
0xC545,
0xC547
0xC547,
0xC54D
];

#endregion
Expand Down
10 changes: 9 additions & 1 deletion RGB.NET.Devices.Logitech/LogitechDeviceProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ public static LogitechDeviceProvider Instance
{ 0xC547, RGBDeviceType.Keyboard, "G915 X TKL", LedMappings.PerKey, 0 },
{ 0xC358, RGBDeviceType.Keyboard, "G515", LedMappings.PerKey, 0 },
{ 0xC363, RGBDeviceType.Keyboard, "G515 Rapid TKL", LedMappings.PerKey, 0 },
{ 0xC35B, RGBDeviceType.Keyboard, "G Pro X TKL Rapid", LedMappings.PerKey, 0 },

//non-rgb
{ 0xC333, RGBDeviceType.Keyboard, "G610", LedMappings.PerKey, 0 },
Expand All @@ -99,6 +100,7 @@ public static LogitechDeviceProvider Instance
{ 0xC336, RGBDeviceType.Keyboard, "G213", LedMappings.ZoneKeyboard, (LogitechDeviceType.Keyboard, 5, 0) },

{ 0xC092, RGBDeviceType.Mouse, "G203 Lightsync", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 1, 0) },
{ 0xC09D, RGBDeviceType.Mouse, "G102 Lightsync", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 1, 0) },
{ 0xC080, RGBDeviceType.Mouse, "G303", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 2, 0) },
{ 0xC081, RGBDeviceType.Mouse, "G900", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 2, 0) },
{ 0xC082, RGBDeviceType.Mouse, "G403", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 2, 0) },
Expand All @@ -111,6 +113,7 @@ public static LogitechDeviceProvider Instance
{ 0xC08B, RGBDeviceType.Mouse, "G502 HERO", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 2, 0) },
{ 0xC08C, RGBDeviceType.Mouse, "G Pro Hero", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 1, 1) },
{ 0xC08D, RGBDeviceType.Mouse, "G502 Lightspeed", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 2, 0) },
{ 0xC095, RGBDeviceType.Mouse, "G502 X Plus", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 2, 0) },
{ 0xC08F, RGBDeviceType.Mouse, "G403 HERO", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 2, 0) },
{ 0xC090, RGBDeviceType.Mouse, "G703 Lightspeed", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 2, 0) },
{ 0xC091, RGBDeviceType.Mouse, "G903 Lightspeed", LedMappings.ZoneMouse, (LogitechDeviceType.Mouse, 2, 0) },
Expand Down Expand Up @@ -161,13 +164,18 @@ public static LogitechDeviceProvider Instance
{ 0xC222, RGBDeviceType.Keyboard, "G15", LedMappings.Device, 0 },
{ 0xC225, RGBDeviceType.Keyboard, "G11", LedMappings.Device, 0 },
{ 0x0AB5, RGBDeviceType.Headset, "G733", LedMappings.Device, 0 },
{ 0x0AFE, RGBDeviceType.Headset, "G733", LedMappings.Device, 0 },
{ 0x0B1F, RGBDeviceType.Headset, "G733", LedMappings.Device, 0 },
{ 0xC53A, RGBDeviceType.Mousepad, "POWERPLAY", LedMappings.Device, 0 },
};

/// <summary>
/// Gets the HID-definitions for wireless per-device-devices.
/// </summary>
public static LightspeedHIDLoader<int, int> PerDeviceWirelessDeviceDefinitions { get; } = [];
public static LightspeedHIDLoader<int, int> PerDeviceWirelessDeviceDefinitions { get; } = new()
{
{ 0x405F, RGBDeviceType.Mousepad, "POWERPLAY", LedMappings.Device, 0 },
};

#endregion

Expand Down
Loading