IGameControllerProvider
IGameControllerProvider
IGameControllerProvider
IGameControllerProvider
Interface
Definition
Base interface that represents the physical game controller devices connected to the system.
public : interface IGameControllerProviderpublic interface IGameControllerProviderPublic Interface IGameControllerProvider// You can use this interface in JavaScript.
- Attributes
| Device family |
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v3)
|
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 FirmwareVersionInfo FirmwareVersionInfo FirmwareVersionInfo
Contains information on the firmware version of the controller.
public : GameControllerVersionInfo FirmwareVersionInfo { get; }public GameControllerVersionInfo FirmwareVersionInfo { get; }Public ReadOnly Property FirmwareVersionInfo As GameControllerVersionInfo// You can use this property in JavaScript.
- Value
- GameControllerVersionInfo GameControllerVersionInfo GameControllerVersionInfo GameControllerVersionInfo
Information on the firmware version of the controller.
HardwareProductId HardwareProductId HardwareProductId HardwareProductId
The hardware product ID of the controller.
public : ushort HardwareProductId { get; }public ushort HardwareProductId { get; }Public ReadOnly Property HardwareProductId As ushort// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The hardware product ID of the controller.
HardwareVendorId HardwareVendorId HardwareVendorId HardwareVendorId
The hardware vendor ID of the controller.
public : ushort HardwareVendorId { get; }public ushort HardwareVendorId { get; }Public ReadOnly Property HardwareVendorId As ushort// You can use this property in JavaScript.
- Value
- ushort ushort ushort ushort
The hardware vendor ID of the controller.
HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo
Contains information on the hardware version.
public : GameControllerVersionInfo HardwareVersionInfo { get; }public GameControllerVersionInfo HardwareVersionInfo { get; }Public ReadOnly Property HardwareVersionInfo As GameControllerVersionInfo// You can use this property in JavaScript.
- Value
- GameControllerVersionInfo GameControllerVersionInfo GameControllerVersionInfo GameControllerVersionInfo
Information on the hardware version.
IsConnected IsConnected IsConnected IsConnected
Boolean value indicating whether the controller is connected.
public : PlatForm::Boolean IsConnected { get; }public bool IsConnected { get; }Public ReadOnly Property IsConnected As bool// You can use this property in JavaScript.
- Value
- PlatForm::Boolean bool bool bool
Boolean value indicating whether the controller is connected.