Vipeax / MSI-LED-Tool

MSI LED Tool, an alternative for the default MSI tooling
MIT License
112 stars 17 forks source link

turn off the Marketing logo LED only #38

Closed r0ll0x closed 7 years ago

r0ll0x commented 7 years ago

Hello, i appreciate your elegant solution to manage part of these cards LEDs. I use with satisfaction. Yet, i'd be totally interested in being able to let the front side LED on and only turn off the marketing logo. Is there a way to differentiate the two with your solution. Else, of course, the marketing logo LED could be unplugged on the card. Yet, then we couldn't change, when desired and use your nice temperature - colored logo. I'd love to have both by having an additional option like

1 = No Animation
2 = Breathing
3 = Flashing
4 = Double Flashing
5 = Disable LEDs
6 = Temperature Based
7 - No Logo, only red front end LED

I'll just add a comment in case i see a solution for that in your source code. Thanks a lot for the existing, a million times better than MSI "GameApp".

r0ll0x commented 7 years ago

So, in your main .NET code (Program.cs) there is private static void UpdateLedsFront() and private static void UpdateLedsSide() So, there seems to be all that's needed to differentiate the two LEDs.

r0ll0x commented 7 years ago

wish i could compile this to try it out. There may be a nicer solution, but simply by pointing all cases to "animation off", this could do the job....maybe: private static void UpdateLedsSide() { while (true) { switch (animationType) { case AnimationType.NoAnimation: UpdateLeds(24, 1, 4); break; case AnimationType.Breathing: UpdateLeds(24, 1, 4); break; case AnimationType.Flashing: UpdateLeds(24, 1, 4); break; case AnimationType.DoubleFlashing: UpdateLeds(24, 1, 4); break; case AnimationType.Off: UpdateLeds(24, 1, 4); break; case AnimationType.TemperatureBased: UpdateLeds(24, 1, 4); break; break; } } }

r0ll0x commented 7 years ago

I never used .NET, so i'll let you check this, if you have any time for it. I saw that there's a third LED in your code. But i only want to shutdown the marketing logo and les the rest work with your code. Cheers and many thanks for your MSI.LED.Tool !!