Partager via


GameInputRawDeviceItemCollectionInfo

Describes a collection of raw device items.

Syntax

typedef struct GameInputRawDeviceItemCollectionInfo {  
    GameInputRawDeviceItemCollectionKind kind;  
    uint32_t childCount;  
    uint32_t siblingCount;  
    uint32_t usageCount;  
    GameInputUsage const * usages;  
    GameInputRawDeviceItemCollectionInfo const * parent;  
    GameInputRawDeviceItemCollectionInfo const * firstSibling;  
    GameInputRawDeviceItemCollectionInfo const * previousSibling;  
    GameInputRawDeviceItemCollectionInfo const * nextSibling;  
    GameInputRawDeviceItemCollectionInfo const * lastSibling;  
    GameInputRawDeviceItemCollectionInfo const * firstChild;  
    GameInputRawDeviceItemCollectionInfo const * lastChild;  
} GameInputRawDeviceItemCollectionInfo  

Members

kind
Type: GameInputRawDeviceItemCollectionKind

The type of the collection.

childCount
Type: uint32_t

The number of children of this collection.

siblingCount
Type: uint32_t

The number of siblings of this collection.

usageCount
Type: uint32_t

The number of usages of this collection.

usages
Type: GameInputUsage const *

A pointer to a list of usages.

parent
Type: GameInputRawDeviceItemCollectionInfo const *

A pointer to the parent of this collection.

firstSibling
Type: GameInputRawDeviceItemCollectionInfo const *

A pointer to the first sibling of this collection.

previousSibling
Type: GameInputRawDeviceItemCollectionInfo const *

A pointer to the previous sibling of this collection.

nextSibling
Type: GameInputRawDeviceItemCollectionInfo const *

A pointer to the next sibling of this collection.

lastSibling
Type: GameInputRawDeviceItemCollectionInfo const *

A pointer to the last sibling of this collection.

firstChild
Type: GameInputRawDeviceItemCollectionInfo const *

A pointer to the first child of this collection.

lastChild
Type: GameInputRawDeviceItemCollectionInfo const *

A pointer to the last child of this collection.

Remarks

This structure is used in the GameInputRawDeviceReportItemInfo structure.

For more information, see the GetDeviceInfo method of IGameInputDevice.

For intermediate and advanced use cases of the GameInput API, see Advanced GameInput topics.

Requirements

Header: GameInput.h

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

See also

Overview of GameInput
GameInput