Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Describes the properties of a racing wheel.
Syntax
struct GameInputRacingWheelInfo
{
GameInputLabel menuButtonLabel;
GameInputLabel viewButtonLabel;
GameInputLabel previousGearButtonLabel;
GameInputLabel nextGearButtonLabel;
GameInputLabel dpadUpLabel;
GameInputLabel dpadDownLabel;
GameInputLabel dpadLeftLabel;
GameInputLabel dpadRightLabel;
GameInputLabel aButtonLabel;
GameInputLabel bButtonLabel;
GameInputLabel xButtonLabel;
GameInputLabel yButtonLabel;
GameInputLabel leftShoulderButtonLabel;
GameInputLabel rightShoulderButtonLabel;
GameInputLabel leftThumbstickButtonLabel;
GameInputLabel rightThumbstickButtonLabel;
bool hasClutch;
bool hasHandbrake;
bool hasPatternShifter;
int32_t minPatternShifterGear;
int32_t maxPatternShifterGear;
float maxWheelAngle;
uint32_t extraButtonCount;
uint32_t extraAxisCount;
};
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.
aButtonLabel
Type: GameInputLabel
Physical label for A button.
bButtonLabel
Type: GameInputLabel
Physical label for B button.
xButtonLabel
Type: GameInputLabel
Physical label for X button.
yButtonLabel
Type: GameInputLabel
Physical label for Y button.
leftShoulderButtonLabel
Type: GameInputLabel
Physical label for left shoulder button.
rightShoulderButtonLabel
Type: GameInputLabel
Physical label for right shoulder button.
leftThumbstickButtonLabel
Type: GameInputLabel
Physical label for left thumbstick button.
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.
extraButtonCount
Type: uint32_t
The number of device buttons that are not mapped to racing wheel buttons.
extraAxisCount
Type: uint32_t
The number of device axes that are not mapped to racing wheel axes.
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