GamePadFromLayout Class
Namespace: Stride.InputAssembly: Stride.Input.dll
A IGamePadDevice from a IGameControllerDevice using a GamePadLayout to create a mapping between the two
Derived from GamePadFromLayout:
public abstract class GamePadFromLayout : GamePadDeviceBase, IGamePadDevice, IInputDevice
Name | Description | |
---|---|---|
Constructors | ||
GamePadFromLayout(InputManager, IGameControllerDevice, GamePadLayout) | Initializes a new instance of the GamePadFromLayout class. |
|
Properties | ||
GameControllerDevice | ||
InputManager | ||
Layout | ||
State | ||
Methods | ||
Update(List<InputEvent>) |
Constructors
GamePadFromLayout(InputManager, IGameControllerDevice, GamePadLayout)
Initializes a new instance of the GamePadFromLayout class.
protected GamePadFromLayout(InputManager inputManager, IGameControllerDevice controller, GamePadLayout layout)
Parameters
Type | Name | Description |
---|---|---|
InputManager | inputManager | |
IGameControllerDevice | controller | |
GamePadLayout | layout |
Properties
GameControllerDevice
protected IGameControllerDevice GameControllerDevice { get; }
Property Value
Type | Description |
---|---|
IGameControllerDevice |
InputManager
protected InputManager InputManager { get; }
Property Value
Type | Description |
---|---|
InputManager |
Layout
protected GamePadLayout Layout { get; }
Property Value
Type | Description |
---|---|
GamePadLayout |
State
public override GamePadState State { get; }
Property Value
Type | Description |
---|---|
GamePadState |
Overrides
| Improve this Doc View SourceMethods
Update(List<InputEvent>)
public override void Update(List<InputEvent> inputEvents)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<InputEvent> | inputEvents |