GamePadLayoutDS4 Class
Namespace: Stride.InputAssembly: Stride.Input.dll
A gamepad layout for a DualShock4 controller
Derived from GamePadLayoutDS4:
public class GamePadLayoutDS4 : GamePadLayout
| Name | Description | |
|---|---|---|
| Constructors | ||
| GamePadLayoutDS4() | ||
| Methods | ||
| MatchDevice(IInputSource, IGameControllerDevice) | ||
Constructors
GamePadLayoutDS4()
public GamePadLayoutDS4()
Methods
MatchDevice(IInputSource, IGameControllerDevice)
public override bool MatchDevice(IInputSource source, IGameControllerDevice device)
Parameters
| Type | Name | Description |
|---|---|---|
| IInputSource | source | |
| IGameControllerDevice | device |
Returns
| Type | Description |
|---|---|
| System.Boolean |