Skip to main content

APP_LOCAL_DEVICE_ID

Specifies the root ID of a local input device.

Syntax

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
Last modified on August 20, 2026