Partager via


GameInputFlightStickInfo

Describes the properties of a flight stick.

Syntax

typedef struct GameInputFlightStickInfo {  
    GameInputLabel menuButtonLabel;  
    GameInputLabel viewButtonLabel;  
    GameInputLabel firePrimaryButtonLabel;  
    GameInputLabel fireSecondaryButtonLabel;  
    GameInputSwitchKind hatSwitchKind;  
} GameInputFlightStickInfo  

Members

menuButtonLabel
Type: GameInputLabel

Physical label for Menu button.

viewButtonLabel
Type: GameInputLabel

Physical label for View button.

firePrimaryButtonLabel
Type: GameInputLabel

Physical label for primary fire button.

fireSecondaryButtonLabel
Type: GameInputLabel

Physical label for secondary fire button.

hatSwitchKind
Type: GameInputSwitchKind

Type of hat switch.

Remarks

This structure is used in the GameInputDeviceInfo structure. GameInputDeviceInfo is used by the IGameInputDevice::GetDeviceInfo method.

For more information, see GameInput devices.

Requirements

Header: GameInput.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

Overview of GameInput
GameInput