TwclWiiRemoteClientConnection.SetLeds(TwclWiiRemoteLeds) Method
Changes the Wii Remote LEDs state.
public function SetLeds(const Leds: TwclWiiRemoteLeds): Integer; overload;
Parameters
- Leds
- Type: TwclWiiRemoteLeds
The new LEDs state.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.