Share via


IGameInputMapper::GetFlightStickAxisMappingInfo

Syntax

bool GetFlightStickAxisMappingInfo(
    GameInputFlightStickAxes axisElement,
    GameInputAxisMapping* mapping
);

Parameters

axisElement   _In_
Type: GameInputFlightStickAxes

The specific flight stick axis whose mapping is being queried.

mapping   _Out_
type: GameInputAxisMapping

The mapping information of how the axis is mapped from the controller axes, buttons or switches.

Return value

Type: bool

If the mapping was successfully retrieved. This value is false if the device does not support the GameInputKindFlightStick input kind or if the specified axis element is not supported by the device.

Requirements

Header: GameInput.h

Library: gameinput.lib

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

See also

Input API Overview
IGameInputMapper