I noticed this topic in the MacOS developer's forum: https://forum.3dconnexion.com/viewtopic.php?t=19372
However, the Windows SDK looks completely different, with no references to ConnexionClientControl. Is there an equivalent way to turn on/off the LED in the Windows SDK?
Any way to control LED on/off?
Moderator: Moderators
Re: Any way to control LED on/off?
It depends on which SDK you are using.
There is a SiSetLEDs function in the legacy SDK.
I don't recall if we exported that in the latest SDK.
In general, we leave the LED setting as a user preference.
There is a SiSetLEDs function in the legacy SDK.
I don't recall if we exported that in the latest SDK.
In general, we leave the LED setting as a user preference.
Re: Any way to control LED on/off?
Well, the LED on/off isn't available as a user preference in the latest Windows driver and I'm a software developer, so I'm looking for another way to turn it on/off. Where can I find the legacy SDK?
Re: Any way to control LED on/off?
Thanks for the pointer, I found a wrapper for SiSetLEDs here: https://github.com/DMXControl/3Dconnexion-driver
which allowed me to write this stupid simple console app:
<code>
static void Main(string[] args)
{
using (var device = new _3DconnexionDriver._3DconnexionDevice("ledOnOff"))
{
IntPtr handle = Process.GetCurrentProcess().MainWindowHandle;
device.InitDevice(handle);
device.LEDs = 0;
}
}
</code>
which allowed me to write this stupid simple console app:
<code>
static void Main(string[] args)
{
using (var device = new _3DconnexionDriver._3DconnexionDevice("ledOnOff"))
{
IntPtr handle = Process.GetCurrentProcess().MainWindowHandle;
device.InitDevice(handle);
device.LEDs = 0;
}
}
</code>