Bluetooth Framework C++ Edition

◆ SetLeds() [1/2]

int SetLeds ( const bool  Led1,
const bool  Led2,
const bool  Led3,
const bool  Led4 
)

Changes the Wii Remote LEDs state.

Parameters
Led1The new LED 1 state.
Led2The new LED 2 state.
Led3The new LED 3 state.
Led4The new LED 4 state.
Returns
If the function succeed the return value is WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.