SIMCONNECT_CONTROLLER_ITEM
The SIMCONNECT_CONTROLLER_ITEM struct contains data related to a single controller currently connected to the simulation.
Syntax
struct SIMCONNECT_CONTROLLER_ITEM{
SIMCONNECT_STRING(DeviceName, 256);
unsigned int DeviceId;
unsigned int ProductId;
unsigned int CompositeID;
SIMCONNECT_VERSION_BASE_TYPE HardwareVersion;
};
Members
Member | Description |
---|---|
DeviceName |
A string that gives the descriptive name for the device. |
DeviceId |
The device ID. |
ProductId |
The product ID. |
CompositeID |
ID of the USB composite device (for when devices have the same ProductId , but there are multiple recognised parts on the same device) |
HardwareVersion |
The version data for the hardware, returned as a SIMCONNECT_VERSION_BASE_TYPE struct. Note that members of this struct will be 0, as it is not currently used in the simulation. |
Remarks
See SimConnect_EnumerateControllers
for more information.
See Also