Share via


IGameInputMapper::GetRacingWheelButtonMappingInfo

Syntax

bool GetRacingWheelButtonMappingInfo(
    GameInputRacingWheelButtons buttonElement,
    GameInputButtonMapping* mapping
);

Parameters

buttonElement   _In_
Type: GameInputRacingWheelButtons

The specific racing wheel button whose mapping is being queried.

mapping   _Out_
Type: GameInputButtonMapping

The mapping information of how the button is mapped from the controller buttons.

Return value

Type: bool

If the mapping was successfully retrieved. This value is false if the device does not support the GameInputKindRacingWheel input kind or if the specified button 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