The core interface required to be implemented by all controller devices, regardless of their actual type (gamepad, racing wheel, flight stick, and so on). This interface exists mainly to support extensibility for game controllers, which allows OEMs (Original Equipment Manufacturers) to publish WinRT (Windows Runtime) classes that provide rich access to their device's features, while integrating into the underlying game controller device enumeration framework.
public interface class IGameController
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)] /// [Windows.Foundation.Metadata.Guid(464479522, 24420, 17093, 130, 103, 185, 254, 34, 21, 191, 189)] struct IGameController
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)] [Windows.Foundation.Metadata.Guid(464479522, 24420, 17093, 130, 103, 185, 254, 34, 21, 191, 189)] public interface IGameController
Public Interface IGameController
Windows 10 requirements
Windows 10 (introduced in 10.0.10240.0)
Windows.Foundation.UniversalApiContract (introduced in v1.0)
The audio headset attached to the controller.
Gets a value that indicates the wireless state of the gamepad.
The user associated with the controller.
Signals when a headset is attached to the controller.
Signals when a headset is disconnected from the controller.
Signals when the user associated with the controller has changed.