GetDeviceInfo
Accesses static information about the full properties and capabilities of an input device.Syntax
Parameters
info _Outptr_Type: GameInputDeviceInfo** The device info associated with the IGameInputDevice.
Return value
Type: HRESULT Function result.Remarks
TheGetDeviceInfo method memory is not owned by the application. The memory will remain accessible if the IGameInput instance is kept alive by the application. Once the reference to the IGameInput object is released, the memory goes away.
The following code example demonstrates how to determine whether a racing wheel has a clutch.
Requirements
Header: GameInput.h Overview of GameInputGameInputDeviceInfo
IGameInputDevice
