IGameControllerProvider Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Base interface that represents the physical game controller devices connected to the system.
public interface class IGameControllerProvider
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(3872864642, 10646, 17753, 177, 108, 62, 87, 212, 110, 88, 214)]
struct IGameControllerProvider
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(3872864642, 10646, 17753, 177, 108, 62, 87, 212, 110, 88, 214)]
public interface IGameControllerProvider
Public Interface IGameControllerProvider
- Derived
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Remarks
Device classes are not activatable, they can be enumerated via a collection property on the device manager runtime class, however this is restricted to store apps with the xboxAccessoryManagement capability. The typical way to gain access to a device class object is by registering a factory for a custom game controller class.
Properties
FirmwareVersionInfo |
Contains information on the firmware version of the controller. |
HardwareProductId |
The hardware product ID of the controller. |
HardwareVendorId |
The hardware vendor ID of the controller. |
HardwareVersionInfo |
Contains information on the hardware version. |
IsConnected |
Boolean value indicating whether the controller is connected. |