-api-id | -api-type |
---|---|
M:Windows.Gaming.Input.Preview.LegacyGipGameControllerProvider.FromGameController(Windows.Gaming.Input.IGameController) |
winrt method |
Windows.Gaming.Input.Preview.LegacyGipGameControllerProvider.FromGameController(Windows.Gaming.Input.IGameController)
Constructs a LegacyGipGameControllerProvider for the given controller.
Controller to construct a LegacyGipGameControllerProvider for.
A LegacyGipGameControllerProvider if the controller is a GIP (Gaming Input Protocol) controller. Null if the controller is not a GIP controller.
LegacyGipGameControllerProvider
:::code language="csharp" source="code/csharp/EnumerateControllerPropertiesSample.cs":::