IGameControllerProvider IGameControllerProvider IGameControllerProvider IGameControllerProvider IGameControllerProvider Interface


Base interface that represents the physical game controller devices connected to the system.

public : interface IGameControllerProvider
struct winrt::Windows::Gaming::Input::Custom::IGameControllerProvider
public interface IGameControllerProvider
Public Interface IGameControllerProvider
// You can't instantiate an interface directly in JavaScript. You can use objects that implement the interface, however.

Windows 10 requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)


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.


FirmwareVersionInfo FirmwareVersionInfo FirmwareVersionInfo FirmwareVersionInfo FirmwareVersionInfo

Contains information on the firmware version of the controller.

HardwareProductId HardwareProductId HardwareProductId HardwareProductId HardwareProductId

The hardware product ID of the controller.

HardwareVendorId HardwareVendorId HardwareVendorId HardwareVendorId HardwareVendorId

The hardware vendor ID of the controller.

HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo HardwareVersionInfo

Contains information on the hardware version.

IsConnected IsConnected IsConnected IsConnected IsConnected

Boolean value indicating whether the controller is connected.