Share via


IGameInputReading::GetRacingWheelState

Retrieve a view of the input reading that describes the state of a racing wheel.

Syntax

bool GetRacingWheelState(
    GameInputRacingWheelState* state
);

Parameters

state   _Out_
Type: GameInputRacingWheelState*

Interpretation of the input as a racing wheel.

Return value

Type: bool

Returns true on successful interpretation of a racing wheel input. Returns false when attempting to read an input that is not recognized as a racing wheel input.

Input API Overview
IGameInputReading