File tree Expand file tree Collapse file tree 3 files changed +5
-12
lines changed
Expand file tree Collapse file tree 3 files changed +5
-12
lines changed Original file line number Diff line number Diff line change 66 name : Build and Test
77 runs-on : ubuntu-latest
88 env :
9- VERSION : 1 .0.${{ github.run_number }}
9+ VERSION : 2 .0.${{ github.run_number }}
1010 steps :
1111 - uses : actions/checkout@master
1212
Original file line number Diff line number Diff line change @@ -15,16 +15,10 @@ public sealed class LedsResponse
1515 public byte Fps { get ; set ; }
1616
1717 /// <summary>
18- /// true if LEDs are 4-channel (RGBW).
18+ /// Logical AND of all active segment's virtual light capabilities
1919 /// </summary>
20- [ JsonPropertyName ( "rgbw" ) ]
21- public bool Rgbw { get ; set ; }
22-
23- /// <summary>
24- /// true if a white channel slider should be displayed. (available since 0.10.0)
25- /// </summary>
26- [ JsonPropertyName ( "wv" ) ]
27- public bool DisplayWhiteSlider { get ; set ; }
20+ [ JsonPropertyName ( "lc" ) ]
21+ public byte LightCapabilities { get ; set ; }
2822
2923 /// <summary>
3024 /// Current LED power usage in milliamps as determined by the ABL. 0 if ABL is disabled.
Original file line number Diff line number Diff line change @@ -56,8 +56,7 @@ public static string CreateInformationJson(InformationResponse information)
5656 ""leds"": {{
5757 ""count"": { information . Leds . Count } ,
5858 ""fps"": { information . Leds . Fps } ,
59- ""rgbw"": { information . Leds . Rgbw . ToString ( ) . ToLower ( ) } ,
60- ""wv"": { information . Leds . DisplayWhiteSlider . ToString ( ) . ToLower ( ) } ,
59+ ""lc"": { information . Leds . LightCapabilities } ,
6160 ""pwr"": { information . Leds . PowerUsage } ,
6261 ""maxpwr"": { information . Leds . MaximumPower } ,
6362 ""maxseg"": { information . Leds . MaximumSegments }
You can’t perform that action at this time.
0 commit comments