TwclWiiRemoteClientConnection.SetLeds(Boolean,Boolean,Boolean,Boolean) Method
Changes the Wii Remote LEDs state.
public function SetLeds(const Led1: Boolean; const Led2: Boolean; const Led3: Boolean; const Led4: Boolean): Integer; overload;
Parameters
- Led1
- Type: Boolean
The new LED 1 state.
- Led2
- Type: Boolean
The new LED 2 state.
- Led3
- Type: Boolean
The new LED 3 state.
- Led4
- Type: Boolean
The new LED 4 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.