Updated corsair SDK

This adds support for custom devices (lightning node and commander). And introduced 'fan' as device type.
fixes #23
This commit is contained in:
DarthAffe committed 2018-07-08 20:04:01 +02:00
1 parent 4b2aba8447
commit c47afc4704
26 files changed
+810 -64

No files matched your search

@@ -0,0 +1,22 @@
// ReSharper disable InconsistentNaming
// ReSharper disable UnusedMember.Global
#pragma warning disable 1591 // Missing XML comment for publicly visible type or member
namespace RGB.NET.Devices.Corsair
{
/// <summary>
/// Contains list of available corsair channel device types.
/// </summary>
public enum CorsairChannelDeviceType
{
Invalid = 0,
FanHD = 1,
FanSP = 2,
FanLL = 3,
FanML = 4,
Strip = 5,
DAP = 6,
};
}
@@ -16,6 +16,8 @@ namespace RGB.NET.Devices.Corsair
Keyboard = 2,
Headset = 3,
Mousepad = 4,
HeadsetStand = 5
HeadsetStand = 5,
CommanderPro = 6,
LightningNodePro = 7
};
}
@@ -215,5 +215,307 @@ namespace RGB.NET.Devices.Corsair
HeadsetStandZone7 = 197,
HeadsetStandZone8 = 198,
HeadsetStandZone9 = 199,
CustomDeviceChannel1Led1 = 200,
CustomDeviceChannel1Led2 = 201,
CustomDeviceChannel1Led3 = 202,
CustomDeviceChannel1Led4 = 203,
CustomDeviceChannel1Led5 = 204,
CustomDeviceChannel1Led6 = 205,
CustomDeviceChannel1Led7 = 206,
CustomDeviceChannel1Led8 = 207,
CustomDeviceChannel1Led9 = 208,
CustomDeviceChannel1Led10 = 209,
CustomDeviceChannel1Led11 = 210,
CustomDeviceChannel1Led12 = 211,
CustomDeviceChannel1Led13 = 212,
CustomDeviceChannel1Led14 = 213,
CustomDeviceChannel1Led15 = 214,
CustomDeviceChannel1Led16 = 215,
CustomDeviceChannel1Led17 = 216,
CustomDeviceChannel1Led18 = 217,
CustomDeviceChannel1Led19 = 218,
CustomDeviceChannel1Led20 = 219,
CustomDeviceChannel1Led21 = 220,
CustomDeviceChannel1Led22 = 221,
CustomDeviceChannel1Led23 = 222,
CustomDeviceChannel1Led24 = 223,
CustomDeviceChannel1Led25 = 224,
CustomDeviceChannel1Led26 = 225,
CustomDeviceChannel1Led27 = 226,
CustomDeviceChannel1Led28 = 227,
CustomDeviceChannel1Led29 = 228,
CustomDeviceChannel1Led30 = 229,
CustomDeviceChannel1Led31 = 230,
CustomDeviceChannel1Led32 = 231,
CustomDeviceChannel1Led33 = 232,
CustomDeviceChannel1Led34 = 233,
CustomDeviceChannel1Led35 = 234,
CustomDeviceChannel1Led36 = 235,
CustomDeviceChannel1Led37 = 236,
CustomDeviceChannel1Led38 = 237,
CustomDeviceChannel1Led39 = 238,
CustomDeviceChannel1Led40 = 239,
CustomDeviceChannel1Led41 = 240,
CustomDeviceChannel1Led42 = 241,
CustomDeviceChannel1Led43 = 242,
CustomDeviceChannel1Led44 = 243,
CustomDeviceChannel1Led45 = 244,
CustomDeviceChannel1Led46 = 245,
CustomDeviceChannel1Led47 = 246,
CustomDeviceChannel1Led48 = 247,
CustomDeviceChannel1Led49 = 248,
CustomDeviceChannel1Led50 = 249,
CustomDeviceChannel1Led51 = 250,
CustomDeviceChannel1Led52 = 251,
CustomDeviceChannel1Led53 = 252,
CustomDeviceChannel1Led54 = 253,
CustomDeviceChannel1Led55 = 254,
CustomDeviceChannel1Led56 = 255,
CustomDeviceChannel1Led57 = 256,
CustomDeviceChannel1Led58 = 257,
CustomDeviceChannel1Led59 = 258,
CustomDeviceChannel1Led60 = 259,
CustomDeviceChannel1Led61 = 260,
CustomDeviceChannel1Led62 = 261,
CustomDeviceChannel1Led63 = 262,
CustomDeviceChannel1Led64 = 263,
CustomDeviceChannel1Led65 = 264,
CustomDeviceChannel1Led66 = 265,
CustomDeviceChannel1Led67 = 266,
CustomDeviceChannel1Led68 = 267,
CustomDeviceChannel1Led69 = 268,
CustomDeviceChannel1Led70 = 269,
CustomDeviceChannel1Led71 = 270,
CustomDeviceChannel1Led72 = 271,
CustomDeviceChannel1Led73 = 272,
CustomDeviceChannel1Led74 = 273,
CustomDeviceChannel1Led75 = 274,
CustomDeviceChannel1Led76 = 275,
CustomDeviceChannel1Led77 = 276,
CustomDeviceChannel1Led78 = 277,
CustomDeviceChannel1Led79 = 278,
CustomDeviceChannel1Led80 = 279,
CustomDeviceChannel1Led81 = 280,
CustomDeviceChannel1Led82 = 281,
CustomDeviceChannel1Led83 = 282,
CustomDeviceChannel1Led84 = 283,
CustomDeviceChannel1Led85 = 284,
CustomDeviceChannel1Led86 = 285,
CustomDeviceChannel1Led87 = 286,
CustomDeviceChannel1Led88 = 287,
CustomDeviceChannel1Led89 = 288,
CustomDeviceChannel1Led90 = 289,
CustomDeviceChannel1Led91 = 290,
CustomDeviceChannel1Led92 = 291,
CustomDeviceChannel1Led93 = 292,
CustomDeviceChannel1Led94 = 293,
CustomDeviceChannel1Led95 = 294,
CustomDeviceChannel1Led96 = 295,
CustomDeviceChannel1Led97 = 296,
CustomDeviceChannel1Led98 = 297,
CustomDeviceChannel1Led99 = 298,
CustomDeviceChannel1Led100 = 299,
CustomDeviceChannel1Led101 = 300,
CustomDeviceChannel1Led102 = 301,
CustomDeviceChannel1Led103 = 302,
CustomDeviceChannel1Led104 = 303,
CustomDeviceChannel1Led105 = 304,
CustomDeviceChannel1Led106 = 305,
CustomDeviceChannel1Led107 = 306,
CustomDeviceChannel1Led108 = 307,
CustomDeviceChannel1Led109 = 308,
CustomDeviceChannel1Led110 = 309,
CustomDeviceChannel1Led111 = 310,
CustomDeviceChannel1Led112 = 311,
CustomDeviceChannel1Led113 = 312,
CustomDeviceChannel1Led114 = 313,
CustomDeviceChannel1Led115 = 314,
CustomDeviceChannel1Led116 = 315,
CustomDeviceChannel1Led117 = 316,
CustomDeviceChannel1Led118 = 317,
CustomDeviceChannel1Led119 = 318,
CustomDeviceChannel1Led120 = 319,
CustomDeviceChannel1Led121 = 320,
CustomDeviceChannel1Led122 = 321,
CustomDeviceChannel1Led123 = 322,
CustomDeviceChannel1Led124 = 323,
CustomDeviceChannel1Led125 = 324,
CustomDeviceChannel1Led126 = 325,
CustomDeviceChannel1Led127 = 326,
CustomDeviceChannel1Led128 = 327,
CustomDeviceChannel1Led129 = 328,
CustomDeviceChannel1Led130 = 329,
CustomDeviceChannel1Led131 = 330,
CustomDeviceChannel1Led132 = 331,
CustomDeviceChannel1Led133 = 332,
CustomDeviceChannel1Led134 = 333,
CustomDeviceChannel1Led135 = 334,
CustomDeviceChannel1Led136 = 335,
CustomDeviceChannel1Led137 = 336,
CustomDeviceChannel1Led138 = 337,
CustomDeviceChannel1Led139 = 338,
CustomDeviceChannel1Led140 = 339,
CustomDeviceChannel1Led141 = 340,
CustomDeviceChannel1Led142 = 341,
CustomDeviceChannel1Led143 = 342,
CustomDeviceChannel1Led144 = 343,
CustomDeviceChannel1Led145 = 344,
CustomDeviceChannel1Led146 = 345,
CustomDeviceChannel1Led147 = 346,
CustomDeviceChannel1Led148 = 347,
CustomDeviceChannel1Led149 = 348,
CustomDeviceChannel1Led150 = 349,
CustomDeviceChannel2Led1 = 350,
CustomDeviceChannel2Led2 = 351,
CustomDeviceChannel2Led3 = 352,
CustomDeviceChannel2Led4 = 353,
CustomDeviceChannel2Led5 = 354,
CustomDeviceChannel2Led6 = 355,
CustomDeviceChannel2Led7 = 356,
CustomDeviceChannel2Led8 = 357,
CustomDeviceChannel2Led9 = 358,
CustomDeviceChannel2Led10 = 359,
CustomDeviceChannel2Led11 = 360,
CustomDeviceChannel2Led12 = 361,
CustomDeviceChannel2Led13 = 362,
CustomDeviceChannel2Led14 = 363,
CustomDeviceChannel2Led15 = 364,
CustomDeviceChannel2Led16 = 365,
CustomDeviceChannel2Led17 = 366,
CustomDeviceChannel2Led18 = 367,
CustomDeviceChannel2Led19 = 368,
CustomDeviceChannel2Led20 = 369,
CustomDeviceChannel2Led21 = 370,
CustomDeviceChannel2Led22 = 371,
CustomDeviceChannel2Led23 = 372,
CustomDeviceChannel2Led24 = 373,
CustomDeviceChannel2Led25 = 374,
CustomDeviceChannel2Led26 = 375,
CustomDeviceChannel2Led27 = 376,
CustomDeviceChannel2Led28 = 377,
CustomDeviceChannel2Led29 = 378,
CustomDeviceChannel2Led30 = 379,
CustomDeviceChannel2Led31 = 380,
CustomDeviceChannel2Led32 = 381,
CustomDeviceChannel2Led33 = 382,
CustomDeviceChannel2Led34 = 383,
CustomDeviceChannel2Led35 = 384,
CustomDeviceChannel2Led36 = 385,
CustomDeviceChannel2Led37 = 386,
CustomDeviceChannel2Led38 = 387,
CustomDeviceChannel2Led39 = 388,
CustomDeviceChannel2Led40 = 389,
CustomDeviceChannel2Led41 = 390,
CustomDeviceChannel2Led42 = 391,
CustomDeviceChannel2Led43 = 392,
CustomDeviceChannel2Led44 = 393,
CustomDeviceChannel2Led45 = 394,
CustomDeviceChannel2Led46 = 395,
CustomDeviceChannel2Led47 = 396,
CustomDeviceChannel2Led48 = 397,
CustomDeviceChannel2Led49 = 398,
CustomDeviceChannel2Led50 = 399,
CustomDeviceChannel2Led51 = 400,
CustomDeviceChannel2Led52 = 401,
CustomDeviceChannel2Led53 = 402,
CustomDeviceChannel2Led54 = 403,
CustomDeviceChannel2Led55 = 404,
CustomDeviceChannel2Led56 = 405,
CustomDeviceChannel2Led57 = 406,
CustomDeviceChannel2Led58 = 407,
CustomDeviceChannel2Led59 = 408,
CustomDeviceChannel2Led60 = 409,
CustomDeviceChannel2Led61 = 410,
CustomDeviceChannel2Led62 = 411,
CustomDeviceChannel2Led63 = 412,
CustomDeviceChannel2Led64 = 413,
CustomDeviceChannel2Led65 = 414,
CustomDeviceChannel2Led66 = 415,
CustomDeviceChannel2Led67 = 416,
CustomDeviceChannel2Led68 = 417,
CustomDeviceChannel2Led69 = 418,
CustomDeviceChannel2Led70 = 419,
CustomDeviceChannel2Led71 = 420,
CustomDeviceChannel2Led72 = 421,
CustomDeviceChannel2Led73 = 422,
CustomDeviceChannel2Led74 = 423,
CustomDeviceChannel2Led75 = 424,
CustomDeviceChannel2Led76 = 425,
CustomDeviceChannel2Led77 = 426,
CustomDeviceChannel2Led78 = 427,
CustomDeviceChannel2Led79 = 428,
CustomDeviceChannel2Led80 = 429,
CustomDeviceChannel2Led81 = 430,
CustomDeviceChannel2Led82 = 431,
CustomDeviceChannel2Led83 = 432,
CustomDeviceChannel2Led84 = 433,
CustomDeviceChannel2Led85 = 434,
CustomDeviceChannel2Led86 = 435,
CustomDeviceChannel2Led87 = 436,
CustomDeviceChannel2Led88 = 437,
CustomDeviceChannel2Led89 = 438,
CustomDeviceChannel2Led90 = 439,
CustomDeviceChannel2Led91 = 440,
CustomDeviceChannel2Led92 = 441,
CustomDeviceChannel2Led93 = 442,
CustomDeviceChannel2Led94 = 443,
CustomDeviceChannel2Led95 = 444,
CustomDeviceChannel2Led96 = 445,
CustomDeviceChannel2Led97 = 446,
CustomDeviceChannel2Led98 = 447,
CustomDeviceChannel2Led99 = 448,
CustomDeviceChannel2Led100 = 449,
CustomDeviceChannel2Led101 = 450,
CustomDeviceChannel2Led102 = 451,
CustomDeviceChannel2Led103 = 452,
CustomDeviceChannel2Led104 = 453,
CustomDeviceChannel2Led105 = 454,
CustomDeviceChannel2Led106 = 455,
CustomDeviceChannel2Led107 = 456,
CustomDeviceChannel2Led108 = 457,
CustomDeviceChannel2Led109 = 458,
CustomDeviceChannel2Led110 = 459,
CustomDeviceChannel2Led111 = 460,
CustomDeviceChannel2Led112 = 461,
CustomDeviceChannel2Led113 = 462,
CustomDeviceChannel2Led114 = 463,
CustomDeviceChannel2Led115 = 464,
CustomDeviceChannel2Led116 = 465,
CustomDeviceChannel2Led117 = 466,
CustomDeviceChannel2Led118 = 467,
CustomDeviceChannel2Led119 = 468,
CustomDeviceChannel2Led120 = 469,
CustomDeviceChannel2Led121 = 470,
CustomDeviceChannel2Led122 = 471,
CustomDeviceChannel2Led123 = 472,
CustomDeviceChannel2Led124 = 473,
CustomDeviceChannel2Led125 = 474,
CustomDeviceChannel2Led126 = 475,
CustomDeviceChannel2Led127 = 476,
CustomDeviceChannel2Led128 = 477,
CustomDeviceChannel2Led129 = 478,
CustomDeviceChannel2Led130 = 479,
CustomDeviceChannel2Led131 = 480,
CustomDeviceChannel2Led132 = 481,
CustomDeviceChannel2Led133 = 482,
CustomDeviceChannel2Led134 = 483,
CustomDeviceChannel2Led135 = 484,
CustomDeviceChannel2Led136 = 485,
CustomDeviceChannel2Led137 = 486,
CustomDeviceChannel2Led138 = 487,
CustomDeviceChannel2Led139 = 488,
CustomDeviceChannel2Led140 = 489,
CustomDeviceChannel2Led141 = 490,
CustomDeviceChannel2Led142 = 491,
CustomDeviceChannel2Led143 = 492,
CustomDeviceChannel2Led144 = 493,
CustomDeviceChannel2Led145 = 494,
CustomDeviceChannel2Led146 = 495,
CustomDeviceChannel2Led147 = 496,
CustomDeviceChannel2Led148 = 497,
CustomDeviceChannel2Led149 = 498,
CustomDeviceChannel2Led150 = 499,
}
}