I wrote a small C# Dll, to change the Light of the G19, G13 (Thanks to BoJan), and the G15.
Its very simple to use.
In C# it would be:
Code:
using GLight;
Then, setup the GKeyboards. Maybe in the Load of your Application:
Code:
G19.SetUp();
G15.SetUp(Keyboard);
G13.SetUp();
Then you can change the Light of the Keyboards like this:
Code:
G19.SetState(0,255,255) RGB 0 - 255
G13.SetState(0,255,255) RGB 0 - 255
G15.SetState(Keyboard, Panel, 0); 0 For off, 1 for LowLight, 2 for Bright light
You can Enable the Exception, if a Keyboard is not connected:
Code:
G13.ShowException = true / false
..
..
If ShowException is enabled, you will get the "SetUpException"
that means, that the Keyboard was found.
Written in C# .NET2.0
Thanks again to BoJan for his small example in his thread

If you use this Library, please leave a Comment in your Application and link to "Tsuyo.de" you are also allowed to "Compile in" the Library into your Application.
If you want to know how it works -> Decompile it.
Version 1.1:You can switch the Light of the M Keys now.
Useage:
Code:
GLight.G19.ProfileLight(GLight.G19.keys.M1); // Would turn the Light on M1 On.
GLight.G19.ProfileLight(GLight.G19.keys.M1 | GLight.G19.keys.M2); // Would turn M1 and M2 on
GLight.G19.ProfileLight(GLight.G19.keys.M1 | GLight.G19.keys.M3 | GLight.G19.keys.MR); // Would turn M1 and M3 On.
GLight.G19.ProfileLight(GLight.G19.keys.M1 | GLight.G19.keys.M2 | GLight.G19.keys.M3 | GLight.G19.keys.MR); // Would turn M1, M2, M3 and the MR key On.
..
..
http://tsuyo.de/files/GLight1.1.rarVersion 1.0:http://tsuyo.de/files/GLight.rarHave fun
