IFlightStickProperties.SetLedColor Method

Sets the color of a flight stick LED.

Syntax

public:
LedColor SetLedColor(
         unsigned char ledIndex,
         LedColor desiredColor
)  

Parameters

ledIndex
Type: unsigned char 

 Index of the LED to set.

desiredColor
Type: LedColor 

The desired LED color.

Return value

Type: LedColor 

The set LED color.

Requirements

Namespace: Microsoft.Xbox.Input

Metadata: microsoft.xbox.input.winmd

See also

Reference

IFlightStickProperties Interface

IFlightStickProperties Members

Microsoft.Xbox.Input Namespace