Partager via


GameInputUsage

Describes a specific HID usage.

Syntax

typedef struct GameInputUsage {  
    uint16_t page;  
    uint16_t id;  
} GameInputUsage  

Members

page
Type: uint16_t

A page that designates a group of HID usages.

id
Type: uint16_t

ID of the specific HID usage within page.

Remarks

A Human Interface Device (HID) usage is indexed by page and ID in the current HID Usage Tables document.

This structure is used in the GameInputRawDeviceItemCollectionKind enumeration. It is also used in the following structures:

Requirements

Header: GameInput.h

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

See also

Human Interface Device (HID) Information
Overview of GameInput
GameInput