Table of Contents

Class GamePadLayouts

Namespace
Stride.Input
Assembly
Stride.Input.dll

Keeps track of GamePadLayout

public static class GamePadLayouts
Inheritance
GamePadLayouts

Methods

AddLayout(GamePadLayout)

Adds a new layout that cane be used for mapping gamepads to GamePadState

public static void AddLayout(GamePadLayout layout)

Parameters

layout GamePadLayout

The layout to add

FindLayout(IInputSource, IGameControllerDevice)

Finds a layout matching the given gamepad

public static GamePadLayout FindLayout(IInputSource source, IGameControllerDevice device)

Parameters

source IInputSource

The source that the device came from

device IGameControllerDevice

The device to find a layout for

Returns

GamePadLayout

The gamepad layout that was found, or null if none was found