ICustomGameControllerFactory 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.
Represents a factory for creating a custom controller type.
public interface class ICustomGameControllerFactory
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 196608)]
/// [Windows.Foundation.Metadata.Guid(1772138078, 30094, 19646, 172, 230, 98, 21, 95, 233, 18, 111)]
struct ICustomGameControllerFactory
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 196608)]
[Windows.Foundation.Metadata.Guid(1772138078, 30094, 19646, 172, 230, 98, 21, 95, 233, 18, 111)]
public interface ICustomGameControllerFactory
Public Interface ICustomGameControllerFactory
- Attributes
Windows requirements
Device family |
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v3.0)
|
Methods
CreateGameController(IGameControllerProvider) |
Creates an instance of a game controller. |
OnGameControllerAdded(IGameController) |
Event raised when the controller is added. |
OnGameControllerRemoved(IGameController) |
Event raised when the controller is removed. |