freekds / msi-mystic-light-controller Goto Github PK
View Code? Open in Web Editor NEWC# library used to change lights connected to MSI motherboard programmatically using the Mystic Light SDK
License: MIT License
C# library used to change lights connected to MSI motherboard programmatically using the Mystic Light SDK
License: MIT License
Hi Freek,
I keep running into this exception:
Exception thrown: 'System.DllNotFoundException' in MysticLightController.dll
An unhandled exception of type 'System.DllNotFoundException' occurred in MysticLightController.dll
Unable to load DLL 'MysticLight_SDK.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)
Any idea what could cause this? I have the latest MSI Dragon software with Mystic Lights installed.
When I try to import the MysticLight_SDK.dll into my Visual Studio project I get an error that it is not a type or version this project can use. The SDK documentation mentions nothing about any dependencies other than "MSI Mystic Light related applications must be installed before using the SDK function".
I've tried all I could think of, even dependency walker for the MysticLight_SDK.dll, but something seems to be missing and it doesn't tell what.
Grtz,
Hans
Hi! Does it support multiple colors? For example, three colors changing one after another? How it works?
I try to find something like aura sync software from asus (my prevuious motherboard was asus rog), but current device and its software (Mystic Light) dont support multiple colors, so it makes me sad ahah
Hello,
I wan't to change the color of my leds via webrequests.
I'm not that familiar with programming and tested a bit around and wasn't able to change the color of my leds.
At first I thought: "Maybe I did something wrong", but then I also tried to change the Style, Brightness ans Speed - no problem at all!
Could this be a problem of my Mainboard? (doesn't makes sense to me too tbh)
I've got an MSI MPG x570 gaming plus.
My simple code looks like this:
LightController controller = new LightController("D:\\MSI\\SDK\\");
string device = controller.Devices[0];
Color color = new Color(0,0,255);
controller.SetAllLedColors(device, color);
controller.SetAllLedBrightness(device, 5);
controller.SetAllLedStyles(device, "Steady"); //Rainbow, Breathing etc. is working
controller.SetAllLedSpeed(device, 3);
LED led = controller.GetDeviceLED(device, 0);
Console.WriteLine(led.ToString());
Consoleoutput from led:
LED 0 (device: MSI_MB):
Current color: (0, 0, 255)
Current style : Steady
Current speed: 3 (Max: 3)
Current brightness: 5 (max: 5)
Possible Styles: Off, Rainbow, Meteor etc ...
Same for the other leds (I've got 5 on my mb)
Do you have any Ideas why I can't change the color?
Regards,
Daniel
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.