APP_LOCAL_DEVICE_ID

Specifies the root ID of a local input device.

Syntax

typedef struct APP_LOCAL_DEVICE_ID {  
    BYTE value[APP_LOCAL_DEVICE_ID_SIZE];  
} APP_LOCAL_DEVICE_ID  

Members

value
Type: BYTE[APP_LOCAL_DEVICE_ID_SIZE]

The root ID of a local input device.

Remarks

The IGameInput::FindDeviceFromId method uses a pointer to an APP_LOCAL_DEVICE_ID constant to retrieve a device based on the DeviceID.

The XInputGetDeviceId function uses a pointer to an APP_LOCAL_DEVICE_ID structure to return the APP_LOCAL_DEVICE_ID for the device at a given user index.

The XUserDeviceAssociationChange structure includes an APP_LOCAL_DEVICE_ID structure member.

The XUserFindForDevice function uses a pointer to an APP_LOCAL_DEVICE_ID structure to retrieve a user ID for a specific device ID.

A "null" APP_LOCAL_DEVICE_ID will be equal to the value of XUserNullDeviceId.

Requirements

Header: XUser.h

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

See also

XUser

XUserLocalId

IGameInput::FindDeviceFromId

XInputGetDeviceId