ICustomGameControllerFactory ICustomGameControllerFactory ICustomGameControllerFactory ICustomGameControllerFactory Interface

Definition

Represents a factory for creating a custom controller type.

public : interface ICustomGameControllerFactory
struct winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory
public interface ICustomGameControllerFactory
Public Interface ICustomGameControllerFactory
Attributes

Windows 10 requirements

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

Methods

CreateGameController(IGameControllerProvider) CreateGameController(IGameControllerProvider) CreateGameController(IGameControllerProvider) CreateGameController(IGameControllerProvider)

Creates an instance of a game controller.

OnGameControllerAdded(IGameController) OnGameControllerAdded(IGameController) OnGameControllerAdded(IGameController) OnGameControllerAdded(IGameController)

Event raised when the controller is added.

OnGameControllerRemoved(IGameController) OnGameControllerRemoved(IGameController) OnGameControllerRemoved(IGameController) OnGameControllerRemoved(IGameController)

Event raised when the controller is removed.