Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 1 KB

legacygipgamecontrollerprovider_fromgamecontroller_421915006.md

File metadata and controls

34 lines (20 loc) · 1 KB
-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)

-description

Constructs a LegacyGipGameControllerProvider for the given controller.

-parameters

-param controller

Controller to construct a LegacyGipGameControllerProvider for.

-returns

A LegacyGipGameControllerProvider if the controller is a GIP (Gaming Input Protocol) controller. Null if the controller is not a GIP controller.

-remarks

-see-also

LegacyGipGameControllerProvider

-examples

:::code language="csharp" source="code/csharp/EnumerateControllerPropertiesSample.cs":::