Table of Contents

Class GamePadLayoutDS4

Namespace
Stride.Input
Assembly
Stride.Input.dll

A gamepad layout for a DualShock4 controller

public class GamePadLayoutDS4 : GamePadLayout
Inheritance
GamePadLayoutDS4
Inherited Members

Constructors

GamePadLayoutDS4()

public GamePadLayoutDS4()

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