mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2026-06-25 02:56:44 +00:00
Compare commits
7 Commits
62a6911fcb
...
9788817294
| Author | SHA1 | Date | |
|---|---|---|---|
| 9788817294 | |||
| 8f490a2db7 | |||
| 3fceeb0fc4 | |||
|
|
9271b442c2 | ||
|
|
9362be36b3 | ||
|
|
6937de2793 | ||
| 3c5af72b25 |
@ -29,7 +29,8 @@ public sealed class LightspeedHIDLoader<TLed, TData> : IEnumerable<HIDDeviceDefi
|
||||
0xC53A,
|
||||
0xC541,
|
||||
0xC545,
|
||||
0xC547
|
||||
0xC547,
|
||||
0xC54D
|
||||
];
|
||||
|
||||
#endregion
|
||||
|
||||
@ -75,6 +75,7 @@ public class LogitechDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 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 },
|
||||
@ -99,6 +100,7 @@ public class LogitechDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 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) },
|
||||
@ -111,6 +113,7 @@ public class LogitechDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 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) },
|
||||
@ -161,13 +164,18 @@ public class LogitechDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 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
|
||||
|
||||
|
||||
@ -158,6 +158,11 @@ public sealed class RazerDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 0x02B4, RGBDeviceType.Keyboard, "BlackWidow V4 Pro 75%", LedMappings.Keyboard, RazerEndpointType.Keyboard },
|
||||
{ 0x02CC, RGBDeviceType.Keyboard, "BlackWidow V4 Low-profile HyperSpeed", LedMappings.Keyboard, RazerEndpointType.Keyboard },
|
||||
{ 0x02D5, RGBDeviceType.Keyboard, "BlackWidow V4 TKL HyperSpeed", LedMappings.Keyboard, RazerEndpointType.Keyboard },
|
||||
{ 0x02D7, RGBDeviceType.Keyboard, "BlackWidow V4 TKL (Wired)", LedMappings.Keyboard, RazerEndpointType.Keyboard },
|
||||
{ 0x02B3, RGBDeviceType.Keyboard, "BlackWidow V4 Pro 75% (Wired)", LedMappings.Keyboard, RazerEndpointType.Keyboard },
|
||||
{ 0x028F, RGBDeviceType.Keyboard, "Ornata V3", LedMappings.Keyboard, RazerEndpointType.Keyboard },
|
||||
{ 0x02A2, RGBDeviceType.Keyboard, "Ornata V3 X Rev2", LedMappings.Keyboard, RazerEndpointType.Keyboard },
|
||||
{ 0x02A3, RGBDeviceType.Keyboard, "Ornata V3 TKL", LedMappings.Keyboard, RazerEndpointType.Keyboard },
|
||||
|
||||
// Mice
|
||||
{ 0x0013, RGBDeviceType.Mouse, "Orochi 2011", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
@ -241,6 +246,17 @@ public sealed class RazerDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 0x00B6, RGBDeviceType.Mouse, "DeathAdder V3 (Wired)", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00B7, RGBDeviceType.Mouse, "DeathAdder V3 (Wireless)", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00C8, RGBDeviceType.Mouse, "Pro Click V2 Vertical", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x003E, RGBDeviceType.Mouse, "Naga Epic Chroma", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x0069, RGBDeviceType.Mouse, "Mamba HyperFlux (Wired)", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x0098, RGBDeviceType.Mouse, "DeathAdder Essential V2", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00AF, RGBDeviceType.Mouse, "Cobra Pro (Wired)", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00B0, RGBDeviceType.Mouse, "Cobra Pro (Wireless)", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00B9, RGBDeviceType.Mouse, "Basilisk V3 X HyperSpeed", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00CB, RGBDeviceType.Mouse, "Basilisk V3 35K", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00CC, RGBDeviceType.Mouse, "Basilisk V3 Pro 35K (Wired)", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00CD, RGBDeviceType.Mouse, "Basilisk V3 Pro 35K (Wireless)", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00D6, RGBDeviceType.Mouse, "Basilisk V3 Pro 35K Phantom Green (Wired)", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
{ 0x00D7, RGBDeviceType.Mouse, "Basilisk V3 Pro 35K Phantom Green (Wireless)", LedMappings.Mouse, RazerEndpointType.Mouse },
|
||||
|
||||
// Mousepads
|
||||
{ 0x0068, RGBDeviceType.Mousepad, "Firefly Hyperflux", LedMappings.Mousepad, RazerEndpointType.Mousepad },
|
||||
@ -250,6 +266,7 @@ public sealed class RazerDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 0x0C04, RGBDeviceType.Mousepad, "Firefly v2", LedMappings.Mousepad, RazerEndpointType.Mousepad },
|
||||
{ 0x0C05, RGBDeviceType.Mousepad, "Strider Chroma", LedMappings.Mousepad, RazerEndpointType.Mousepad },
|
||||
{ 0x0C08, RGBDeviceType.Mousepad, "Firefly v2 Pro", LedMappings.Mousepad, RazerEndpointType.Mousepad },
|
||||
{ 0x0C06, RGBDeviceType.Mousepad, "Goliathus Chroma 3XL", LedMappings.Mousepad, RazerEndpointType.ChromaLink },
|
||||
|
||||
// Headsets
|
||||
{ 0x0501, RGBDeviceType.Headset, "Kraken 7.1", LedMappings.Headset, RazerEndpointType.Headset },
|
||||
@ -282,6 +299,8 @@ public sealed class RazerDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 0x0517, RGBDeviceType.Speaker, "Nommo Chroma", LedMappings.ChromaLink, RazerEndpointType.ChromaLink },
|
||||
{ 0x0518, RGBDeviceType.Speaker, "Nommo Pro", LedMappings.ChromaLink, RazerEndpointType.ChromaLink },
|
||||
{ 0x054A, RGBDeviceType.Speaker, "Leviathan V2 X", LedMappings.ChromaLink, RazerEndpointType.ChromaLink },
|
||||
{ 0x0532, RGBDeviceType.Speaker, "Leviathan V2", LedMappings.ChromaLink, RazerEndpointType.ChromaLink },
|
||||
{ 0x0F35, RGBDeviceType.Cooler, "Hanbo Chroma", LedMappings.ChromaLink, RazerEndpointType.ChromaLink },
|
||||
{ 0x0F07, RGBDeviceType.Unknown, "Chroma Mug Holder", LedMappings.ChromaLink, RazerEndpointType.ChromaLink },
|
||||
{ 0x0F09, RGBDeviceType.LedController, "Chroma Hardware Development Kit (HDK)", LedMappings.ChromaLink, RazerEndpointType.ChromaLink },
|
||||
{ 0x0F13, RGBDeviceType.Unknown, "Lian Li O11", LedMappings.ChromaLink, RazerEndpointType.ChromaLink },
|
||||
|
||||
@ -69,6 +69,17 @@ public sealed class SteelSeriesDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 0x183C, RGBDeviceType.Mouse, "Rival 5", LedMappings.MouseTenZone, SteelSeriesDeviceType.TenZone },
|
||||
{ 0x1854, RGBDeviceType.Mouse, "Aerox 5 Wireless", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x1852, RGBDeviceType.Mouse, "Aerox 5 Wireless", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x1850, RGBDeviceType.Mouse, "Aerox 5 Wired", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x185A, RGBDeviceType.Mouse, "Aerox 9 Wireless", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x1878, RGBDeviceType.Mouse, "Aerox 3 CS2 Dragon Lore Edition", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x187A, RGBDeviceType.Mouse, "Aerox 3 CS2 Dragon Lore Edition", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x185C, RGBDeviceType.Mouse, "Aerox 5 Destiny 2 Edition", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x185E, RGBDeviceType.Mouse, "Aerox 5 Destiny 2 Edition", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x1860, RGBDeviceType.Mouse, "Aerox 5 Diablo IV Edition", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x1862, RGBDeviceType.Mouse, "Aerox 5 Diablo IV Edition", LedMappings.MouseThreeZone, SteelSeriesDeviceType.ThreeZone },
|
||||
{ 0x1730, RGBDeviceType.Mouse, "Rival 710", LedMappings.MouseTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
{ 0x172E, RGBDeviceType.Mouse, "Rival 600 Dota 2 Edition", LedMappings.MouseEightZone, SteelSeriesDeviceType.EightZone },
|
||||
{ 0x1834, RGBDeviceType.Mouse, "Sensei Ten CS:GO Neon Rider Edition", LedMappings.MouseTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
|
||||
//Keyboards
|
||||
{ 0x161A, RGBDeviceType.Keyboard, "Apex 3", LedMappings.KeyboardTenZone, SteelSeriesDeviceType.TenZone },
|
||||
@ -86,6 +97,12 @@ public sealed class SteelSeriesDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 0x2036, RGBDeviceType.Keyboard, "MSI Notebook", LedMappings.KeyboardNotebookMappingUk, SteelSeriesDeviceType.PerKey },
|
||||
{ 0x113A, RGBDeviceType.Keyboard, "MSI GE78HX", LedMappings.KeyboardMSIGE78Mapping, SteelSeriesDeviceType.PerKey },
|
||||
{ 0x1122, RGBDeviceType.Keyboard, "MSI Notebook", LedMappings.KeyboardNotebookMappingUk, SteelSeriesDeviceType.PerKey },
|
||||
{ 0x1622, RGBDeviceType.Keyboard, "Apex 3 TKL", LedMappings.KeyboardTenZone, SteelSeriesDeviceType.TenZone },
|
||||
{ 0x1620, RGBDeviceType.Keyboard, "Apex 9 Mini", LedMappings.KeyboardTklMappingUk, SteelSeriesDeviceType.PerKey },
|
||||
{ 0x1634, RGBDeviceType.Keyboard, "Apex 9 TKL", LedMappings.KeyboardTklMappingUk, SteelSeriesDeviceType.PerKey },
|
||||
{ 0x1642, RGBDeviceType.Keyboard, "Apex Pro TKL Gen 3", LedMappings.KeyboardTklMappingUk, SteelSeriesDeviceType.PerKey },
|
||||
{ 0x1646, RGBDeviceType.Keyboard, "Apex Pro TKL Gen 3 Wireless", LedMappings.KeyboardTklMappingUk, SteelSeriesDeviceType.PerKey },
|
||||
{ 0x1632, RGBDeviceType.Keyboard, "Apex Pro TKL 2023 Wireless", LedMappings.KeyboardTklMappingUk, SteelSeriesDeviceType.PerKey },
|
||||
|
||||
//Headsets
|
||||
{ 0x12AA, RGBDeviceType.Headset, "Arctis 5", LedMappings.HeadsetTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
@ -98,6 +115,13 @@ public sealed class SteelSeriesDeviceProvider : AbstractRGBDeviceProvider
|
||||
{ 0x1507, RGBDeviceType.Mousepad, "QCK Prism", LedMappings.MousepadTwelveZone, SteelSeriesDeviceType.TwelveZone },
|
||||
{ 0x150D, RGBDeviceType.Mousepad, "QCK Prism Cloth", LedMappings.MousepadTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
{ 0x1516, RGBDeviceType.Mousepad, "QCK Prism Cloth 3XL", LedMappings.MousepadTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
{ 0x150A, RGBDeviceType.Mousepad, "QCK Prism Cloth Medium", LedMappings.MousepadTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
{ 0x1518, RGBDeviceType.Mousepad, "QCK Prism Cloth 4XL", LedMappings.MousepadTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
{ 0x151A, RGBDeviceType.Mousepad, "QCK Prism Cloth 5XL", LedMappings.MousepadTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
{ 0x151E, RGBDeviceType.Mousepad, "QCK Prism Cloth XL Destiny Edition", LedMappings.MousepadTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
{ 0x1520, RGBDeviceType.Mousepad, "QCK Prism Cloth XL Destiny 2 Lightfall Edition", LedMappings.MousepadTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
{ 0x1514, RGBDeviceType.Mousepad, "QCK Prism Cloth XL CS:GO Neon Rider Edition", LedMappings.MousepadTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
{ 0x151C, RGBDeviceType.Mousepad, "QCK Prism Cloth XL CS:GO Neo Noir Edition", LedMappings.MousepadTwoZone, SteelSeriesDeviceType.TwoZone },
|
||||
|
||||
//Monitors
|
||||
{ 0x1126, RGBDeviceType.Monitor, "MGP27C", LedMappings.MonitorOnehundredandthreeZone, SteelSeriesDeviceType.OneHundredAndThreeZone },
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user