I have tried to switch the LED of by using the API call
ConnexionClientControl(clientID, kConnexionCtlSetLEDState, 0x0, &result);
Unfortunately nothing happens. The LED is still on. I am using 10.4.3 on OS X 10.11.6.
Using System Settings the LED can be switched on/off.
What could be wrong? Am I missing a magic call in between?
API switch LED off?
Moderator: Moderators
Re: API switch LED off?
Hello hjbflyer,
thank you for your question!
I've had a look into this and we've found a bug in the driver!
It seems that until now no one was interested in using this API call/functionality.
We're fixing the issue and it'll be available in the next release, but at the moment I cannot give you a date for it.
Let me add some more information on setting the LED for you:
The parameter is constructed this way:
int32_t param = (ledMask << 16) | ledState;
To turn off all LEDs:
ConnexionClientControl(fConnexionClientID, kConnexionCtlSetLEDState, 0x00FF0000, &result);
To turn on the first LED and leave all the others untouched:
ConnexionClientControl(fConnexionClientID, kConnexionCtlSetLEDState, 0x00010001, &result);
To turn on the first LED and turn off all the others, if any:
ConnexionClientControl(fConnexionClientID, kConnexionCtlSetLEDState, 0x00FF0001, &result);
Regards,
Christian
thank you for your question!
I've had a look into this and we've found a bug in the driver!
It seems that until now no one was interested in using this API call/functionality.
We're fixing the issue and it'll be available in the next release, but at the moment I cannot give you a date for it.
Let me add some more information on setting the LED for you:
The parameter is constructed this way:
int32_t param = (ledMask << 16) | ledState;
To turn off all LEDs:
ConnexionClientControl(fConnexionClientID, kConnexionCtlSetLEDState, 0x00FF0000, &result);
To turn on the first LED and leave all the others untouched:
ConnexionClientControl(fConnexionClientID, kConnexionCtlSetLEDState, 0x00010001, &result);
To turn on the first LED and turn off all the others, if any:
ConnexionClientControl(fConnexionClientID, kConnexionCtlSetLEDState, 0x00FF0001, &result);
Regards,
Christian
-
- Posts: 2
- Joined: Sat Apr 01, 2017 10:13 am
Re: API switch LED off?
I might be blind but I just got my SpaceMouse Wireless today and can't find the option to turn the light off from the driver window. Could anyone help me out?
Re: API switch LED off?
Hi The BaronHimself,
for the Wireless devices (SpaceMouse Wireless and SpaceMouse Pro Wireless) behaviour of the blue LED is a bit different when compared to our wired devices:
1. When connected via USB cable, the blue LED can be switched on/off via the checkbox "Enable LEDs" from the "Tool" tab in the 3Dconnexion preference panel.
2. When connected via receiver/wireless:
a) the option is NOT available, as the blue LED is always off (save battery power) except for
b) about four seconds seconds after the SMW/SMP(W) has been switched on. The blue LEDs now indicate, that the device is paired to a receiver connected to your computer.
The LED ring will fade out after these ~4s.
If the LED ring does not light up after switching the device ON, then it is not paired to your receiver and you'll have to pair it using our pairing tool:
http://www.3dconnexion.com/pairing
I hope I could help you!
Regards,
Christian
for the Wireless devices (SpaceMouse Wireless and SpaceMouse Pro Wireless) behaviour of the blue LED is a bit different when compared to our wired devices:
1. When connected via USB cable, the blue LED can be switched on/off via the checkbox "Enable LEDs" from the "Tool" tab in the 3Dconnexion preference panel.
2. When connected via receiver/wireless:
a) the option is NOT available, as the blue LED is always off (save battery power) except for
b) about four seconds seconds after the SMW/SMP(W) has been switched on. The blue LEDs now indicate, that the device is paired to a receiver connected to your computer.
The LED ring will fade out after these ~4s.
If the LED ring does not light up after switching the device ON, then it is not paired to your receiver and you'll have to pair it using our pairing tool:
http://www.3dconnexion.com/pairing
I hope I could help you!
Regards,
Christian
-
- Posts: 2
- Joined: Sat Apr 01, 2017 10:13 am
Re: API switch LED off?
Hey Christian,
I just tried switching off the LEDs in the preferences panel, but cannot find the checkbox you described. I'm running macOS Sierra. The mouse is connected via USB.
Any ideas why that could be?
Best wishes,
Simon-Claudius
I just tried switching off the LEDs in the preferences panel, but cannot find the checkbox you described. I'm running macOS Sierra. The mouse is connected via USB.
Any ideas why that could be?
Best wishes,
Simon-Claudius