Class GamePadLayoutDS4
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
IInputSourceSource that this device comes from
device
IGameControllerDeviceThe device to match