GameInputGamepadInfo

Describes the properties of a gamepad.

Syntax

typedef struct GameInputGamepadInfo {  
    GameInputLabel menuButtonLabel;  
    GameInputLabel viewButtonLabel;  
    GameInputLabel aButtonLabel;  
    GameInputLabel bButtonLabel;  
    GameInputLabel xButtonLabel;  
    GameInputLabel yButtonLabel;  
    GameInputLabel dpadUpLabel;  
    GameInputLabel dpadDownLabel;  
    GameInputLabel dpadLeftLabel;  
    GameInputLabel dpadRightLabel;  
    GameInputLabel leftShoulderButtonLabel;  
    GameInputLabel rightShoulderButtonLabel;  
    GameInputLabel leftThumbstickButtonLabel;  
    GameInputLabel rightThumbstickButtonLabel;  
} GameInputGamepadInfo  

Members

menuButtonLabel
Type: GameInputLabel

Physical label for Menu button.

viewButtonLabel
Type: GameInputLabel

Physical label for View button.

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.

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.

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.

rightThumbstickButtonLabel
Type: GameInputLabel

Physical label for right thumbstick.

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

See also

Overview of GameInput
GameInput