GameInputRacingWheelInfo
Describes the properties of a racing wheel.
Syntax
typedef struct GameInputRacingWheelInfo {
GameInputLabel menuButtonLabel;
GameInputLabel viewButtonLabel;
GameInputLabel previousGearButtonLabel;
GameInputLabel nextGearButtonLabel;
GameInputLabel dpadUpLabel;
GameInputLabel dpadDownLabel;
GameInputLabel dpadLeftLabel;
GameInputLabel dpadRightLabel;
bool hasClutch;
bool hasHandbrake;
bool hasPatternShifter;
int32_t minPatternShifterGear;
int32_t maxPatternShifterGear;
float maxWheelAngle;
} GameInputRacingWheelInfo
Members
menuButtonLabel
Type: GameInputLabel
Physical label for Menu button.
viewButtonLabel
Type: GameInputLabel
Physical label for View button.
previousGearButtonLabel
Type: GameInputLabel
Physical label for previous-gear selector (button).
nextGearButtonLabel
Type: GameInputLabel
Physical label for next-gear selector (button).
dpadUpLabel
Type: GameInputLabel
Physical label for D-pad up.
dpadDownLabel
Type: GameInputLabel
Physical label for D-pad down.
dpadLeftLabel
Type: GameInputLabel
Physical label for D-pad left.
dpadRightLabel
Type: GameInputLabel
Physical label for D-pad right.
hasClutch
Type: bool
Indicates whether the racing wheel has a clutch input.
hasHandbrake
Type: bool
Indicates whether the racing wheel has a handbrake input.
hasPatternShifter
Type: bool
Indicates whether the racing wheel has a pattern shifter.
minPatternShifterGear
Type: int32_t
The lowest gear of the pattern shifter.
maxPatternShifterGear
Type: int32_t
The highest gear of the pattern shifter.
maxWheelAngle
Type: float
The maximum angle of the racing wheel.
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