Class GamePadLayouts
Keeps track of GamePadLayout
public static class GamePadLayouts- Inheritance
- 
      objectGamePadLayouts
Methods
AddLayout(GamePadLayout)
Adds a new layout that cane be used for mapping gamepads to GamePadState
public static void AddLayout(GamePadLayout layout)Parameters
- layoutGamePadLayout
- The layout to add 
FindLayout(IInputSource, IGameControllerDevice)
Finds a layout matching the given gamepad
public static GamePadLayout FindLayout(IInputSource source, IGameControllerDevice device)Parameters
- sourceIInputSource
- The source that the - devicecame from
- deviceIGameControllerDevice
- The device to find a layout for 
Returns
- GamePadLayout
- The gamepad layout that was found, or null if none was found