Table of Contents

Class GamePadLayoutXInput

Namespace
Stride.Input
Assembly
Stride.Input.dll

Layout for XInput devices so that they can be used by SDL or other systems that do not have the XInput API but do support joysticks in some other way

public class GamePadLayoutXInput : GamePadLayout
Inheritance
GamePadLayoutXInput
Inherited Members

Constructors

GamePadLayoutXInput()

public GamePadLayoutXInput()

Methods

MatchDevice(IInputSource, IGameControllerDevice)

Checks if a device matches this gamepad layout, and thus should use this when mapping it to a GamePadState

public override bool MatchDevice(IInputSource source, IGameControllerDevice device)

Parameters

source IInputSource

Source that this device comes from

device IGameControllerDevice

The device to match

Returns

bool