mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-12 17:48:31 +00:00
Updated Corsair-provider withe the SDK changes of version 3.0.378
This commit is contained in:
parent
28c4a76b65
commit
c372f93215
@ -162,8 +162,6 @@ namespace RGB.NET.Devices.Corsair
|
||||
B2 = 149,
|
||||
B3 = 150,
|
||||
B4 = 151,
|
||||
B5 = 189,
|
||||
B6 = 190,
|
||||
|
||||
LeftLogo = 152,
|
||||
RightLogo = 153,
|
||||
@ -206,6 +204,9 @@ namespace RGB.NET.Devices.Corsair
|
||||
Lightbar18 = 187,
|
||||
Lightbar19 = 188,
|
||||
|
||||
B5 = 189,
|
||||
B6 = 190,
|
||||
|
||||
HeadsetStandZone1 = 191,
|
||||
HeadsetStandZone2 = 192,
|
||||
HeadsetStandZone3 = 193,
|
||||
@ -1572,5 +1573,171 @@ namespace RGB.NET.Devices.Corsair
|
||||
Lightbar50 = 1542,
|
||||
|
||||
Profile = 1543,
|
||||
|
||||
OemLed101 = 1544,
|
||||
OemLed102 = 1545,
|
||||
OemLed103 = 1546,
|
||||
OemLed104 = 1547,
|
||||
OemLed105 = 1548,
|
||||
OemLed106 = 1549,
|
||||
OemLed107 = 1550,
|
||||
OemLed108 = 1551,
|
||||
OemLed109 = 1552,
|
||||
OemLed110 = 1553,
|
||||
OemLed111 = 1554,
|
||||
OemLed112 = 1555,
|
||||
OemLed113 = 1556,
|
||||
OemLed114 = 1557,
|
||||
OemLed115 = 1558,
|
||||
OemLed116 = 1559,
|
||||
OemLed117 = 1560,
|
||||
OemLed118 = 1561,
|
||||
OemLed119 = 1562,
|
||||
OemLed120 = 1563,
|
||||
OemLed121 = 1564,
|
||||
OemLed122 = 1565,
|
||||
OemLed123 = 1566,
|
||||
OemLed124 = 1567,
|
||||
OemLed125 = 1568,
|
||||
OemLed126 = 1569,
|
||||
OemLed127 = 1570,
|
||||
OemLed128 = 1571,
|
||||
OemLed129 = 1572,
|
||||
OemLed130 = 1573,
|
||||
OemLed131 = 1574,
|
||||
OemLed132 = 1575,
|
||||
OemLed133 = 1576,
|
||||
OemLed134 = 1577,
|
||||
OemLed135 = 1578,
|
||||
OemLed136 = 1579,
|
||||
OemLed137 = 1580,
|
||||
OemLed138 = 1581,
|
||||
OemLed139 = 1582,
|
||||
OemLed140 = 1583,
|
||||
OemLed141 = 1584,
|
||||
OemLed142 = 1585,
|
||||
OemLed143 = 1586,
|
||||
OemLed144 = 1587,
|
||||
OemLed145 = 1588,
|
||||
OemLed146 = 1589,
|
||||
OemLed147 = 1590,
|
||||
OemLed148 = 1591,
|
||||
OemLed149 = 1592,
|
||||
OemLed150 = 1593,
|
||||
OemLed151 = 1594,
|
||||
OemLed152 = 1595,
|
||||
OemLed153 = 1596,
|
||||
OemLed154 = 1597,
|
||||
OemLed155 = 1598,
|
||||
OemLed156 = 1599,
|
||||
OemLed157 = 1600,
|
||||
OemLed158 = 1601,
|
||||
OemLed159 = 1602,
|
||||
OemLed160 = 1603,
|
||||
OemLed161 = 1604,
|
||||
OemLed162 = 1605,
|
||||
OemLed163 = 1606,
|
||||
OemLed164 = 1607,
|
||||
OemLed165 = 1608,
|
||||
OemLed166 = 1609,
|
||||
OemLed167 = 1610,
|
||||
OemLed168 = 1611,
|
||||
OemLed169 = 1612,
|
||||
OemLed170 = 1613,
|
||||
OemLed171 = 1614,
|
||||
OemLed172 = 1615,
|
||||
OemLed173 = 1616,
|
||||
OemLed174 = 1617,
|
||||
OemLed175 = 1618,
|
||||
OemLed176 = 1619,
|
||||
OemLed177 = 1620,
|
||||
OemLed178 = 1621,
|
||||
OemLed179 = 1622,
|
||||
OemLed180 = 1623,
|
||||
OemLed181 = 1624,
|
||||
OemLed182 = 1625,
|
||||
OemLed183 = 1626,
|
||||
OemLed184 = 1627,
|
||||
OemLed185 = 1628,
|
||||
OemLed186 = 1629,
|
||||
OemLed187 = 1630,
|
||||
OemLed188 = 1631,
|
||||
OemLed189 = 1632,
|
||||
OemLed190 = 1633,
|
||||
OemLed191 = 1634,
|
||||
OemLed192 = 1635,
|
||||
OemLed193 = 1636,
|
||||
OemLed194 = 1637,
|
||||
OemLed195 = 1638,
|
||||
OemLed196 = 1639,
|
||||
OemLed197 = 1640,
|
||||
OemLed198 = 1641,
|
||||
OemLed199 = 1642,
|
||||
OemLed200 = 1643,
|
||||
OemLed201 = 1644,
|
||||
OemLed202 = 1645,
|
||||
OemLed203 = 1646,
|
||||
OemLed204 = 1647,
|
||||
OemLed205 = 1648,
|
||||
OemLed206 = 1649,
|
||||
OemLed207 = 1650,
|
||||
OemLed208 = 1651,
|
||||
OemLed209 = 1652,
|
||||
OemLed210 = 1653,
|
||||
OemLed211 = 1654,
|
||||
OemLed212 = 1655,
|
||||
OemLed213 = 1656,
|
||||
OemLed214 = 1657,
|
||||
OemLed215 = 1658,
|
||||
OemLed216 = 1659,
|
||||
OemLed217 = 1660,
|
||||
OemLed218 = 1661,
|
||||
OemLed219 = 1662,
|
||||
OemLed220 = 1663,
|
||||
OemLed221 = 1664,
|
||||
OemLed222 = 1665,
|
||||
OemLed223 = 1666,
|
||||
OemLed224 = 1667,
|
||||
OemLed225 = 1668,
|
||||
OemLed226 = 1669,
|
||||
OemLed227 = 1670,
|
||||
OemLed228 = 1671,
|
||||
OemLed229 = 1672,
|
||||
OemLed230 = 1673,
|
||||
OemLed231 = 1674,
|
||||
OemLed232 = 1675,
|
||||
OemLed233 = 1676,
|
||||
OemLed234 = 1677,
|
||||
OemLed235 = 1678,
|
||||
OemLed236 = 1679,
|
||||
OemLed237 = 1680,
|
||||
OemLed238 = 1681,
|
||||
OemLed239 = 1682,
|
||||
OemLed240 = 1683,
|
||||
OemLed241 = 1684,
|
||||
OemLed242 = 1685,
|
||||
OemLed243 = 1686,
|
||||
OemLed244 = 1687,
|
||||
OemLed245 = 1688,
|
||||
OemLed246 = 1689,
|
||||
OemLed247 = 1690,
|
||||
OemLed248 = 1691,
|
||||
OemLed249 = 1692,
|
||||
OemLed250 = 1693,
|
||||
|
||||
B7 = 1694,
|
||||
B8 = 1695,
|
||||
B9 = 1696,
|
||||
B10 = 1697,
|
||||
B11 = 1698,
|
||||
B12 = 1699,
|
||||
B13 = 1700,
|
||||
B14 = 1701,
|
||||
B15 = 1702,
|
||||
B16 = 1703,
|
||||
B17 = 1704,
|
||||
B18 = 1705,
|
||||
B19 = 1706,
|
||||
B20 = 1707,
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,6 +23,86 @@
|
||||
/// <summary>
|
||||
/// Zone4-Mouse
|
||||
/// </summary>
|
||||
Zones4 = 9
|
||||
Zones4 = 9,
|
||||
|
||||
/// <summary>
|
||||
/// Zone5-Mouse
|
||||
/// </summary>
|
||||
Zones5 = 101,
|
||||
|
||||
/// <summary>
|
||||
/// Zone6-Mouse
|
||||
/// </summary>
|
||||
Zones6 = 11,
|
||||
|
||||
/// <summary>
|
||||
/// Zone7-Mouse
|
||||
/// </summary>
|
||||
Zones7 = 12,
|
||||
|
||||
/// <summary>
|
||||
/// Zone8-Mouse
|
||||
/// </summary>
|
||||
Zones8 = 13,
|
||||
|
||||
/// <summary>
|
||||
/// Zone9-Mouse
|
||||
/// </summary>
|
||||
Zones9 = 14,
|
||||
|
||||
/// <summary>
|
||||
/// Zone10-Mouse
|
||||
/// </summary>
|
||||
Zones10 = 15,
|
||||
|
||||
/// <summary>
|
||||
/// Zone11-Mouse
|
||||
/// </summary>
|
||||
Zones11 = 16,
|
||||
|
||||
/// <summary>
|
||||
/// Zone12-Mouse
|
||||
/// </summary>
|
||||
Zones12 = 17,
|
||||
|
||||
/// <summary>
|
||||
/// Zone13-Mouse
|
||||
/// </summary>
|
||||
Zones13 = 18,
|
||||
|
||||
/// <summary>
|
||||
/// Zone14-Mouse
|
||||
/// </summary>
|
||||
Zones14 = 19,
|
||||
|
||||
/// <summary>
|
||||
/// Zone15-Mouse
|
||||
/// </summary>
|
||||
Zones15 = 20,
|
||||
|
||||
/// <summary>
|
||||
/// Zone16-Mouse
|
||||
/// </summary>
|
||||
Zones16 = 21,
|
||||
|
||||
/// <summary>
|
||||
/// Zone17-Mouse
|
||||
/// </summary>
|
||||
Zones17 = 22,
|
||||
|
||||
/// <summary>
|
||||
/// Zone18-Mouse
|
||||
/// </summary>
|
||||
Zones18 = 23,
|
||||
|
||||
/// <summary>
|
||||
/// Zone19-Mouse
|
||||
/// </summary>
|
||||
Zones19 = 24,
|
||||
|
||||
/// <summary>
|
||||
/// Zone20-Mouse
|
||||
/// </summary>
|
||||
Zones20 = 25
|
||||
}
|
||||
}
|
||||
|
||||
@ -23,6 +23,9 @@ namespace RGB.NET.Devices.Corsair
|
||||
|
||||
for (int i = 0; i <= (CorsairLedId.OemLed100 - CorsairLedId.OemLed1); i++)
|
||||
Keyboard.Add(LedId.Custom1 + i, CorsairLedId.OemLed1 + i);
|
||||
|
||||
for (int i = 0; i <= (CorsairLedId.OemLed250 - CorsairLedId.OemLed101); i++)
|
||||
Keyboard.Add(LedId.Custom101 + i, CorsairLedId.OemLed101 + i);
|
||||
}
|
||||
|
||||
public static LedMapping<CorsairLedId> GraphicsCard = new();
|
||||
@ -45,6 +48,20 @@ namespace RGB.NET.Devices.Corsair
|
||||
{ LedId.Mouse4, CorsairLedId.B4 },
|
||||
{ LedId.Mouse5, CorsairLedId.B5 },
|
||||
{ LedId.Mouse6, CorsairLedId.B6 },
|
||||
{ LedId.Mouse7, CorsairLedId.B7 },
|
||||
{ LedId.Mouse8, CorsairLedId.B8 },
|
||||
{ LedId.Mouse9, CorsairLedId.B9 },
|
||||
{ LedId.Mouse10, CorsairLedId.B10 },
|
||||
{ LedId.Mouse11, CorsairLedId.B11 },
|
||||
{ LedId.Mouse12, CorsairLedId.B12 },
|
||||
{ LedId.Mouse13, CorsairLedId.B13 },
|
||||
{ LedId.Mouse14, CorsairLedId.B14 },
|
||||
{ LedId.Mouse15, CorsairLedId.B15 },
|
||||
{ LedId.Mouse16, CorsairLedId.B16 },
|
||||
{ LedId.Mouse17, CorsairLedId.B17 },
|
||||
{ LedId.Mouse18, CorsairLedId.B18 },
|
||||
{ LedId.Mouse19, CorsairLedId.B19 },
|
||||
{ LedId.Mouse20, CorsairLedId.B20 },
|
||||
};
|
||||
|
||||
public static LedMapping<CorsairLedId> Keyboard = new()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user