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