Share via


GameInputControllerSwitchInfo

Describes a switch on an input device.

Syntax

struct GameInputControllerSwitchInfo
{
    GameInputLabel      labels[GAMEINPUT_MAX_SWITCH_STATES];
    GameInputSwitchKind kind;
};

Members

labels
Type: GameInputLabel

The labels for the switch states.

kind
Type: GameInputSwitchKind

The type of the switch.

Remarks

This structure is used in the GameInputControllerInfo structure. GameInputControllerInfo is used by the GameInputDeviceInfo structure to describe the properties of a controller input device.

Requirements

Header: GameInput.h

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

Overview of GameInput
GameInput