Class GamePadFromLayout
A IGame
- Inheritance
-
Game
Pad From Layout
- Implements
- Inherited Members
- Extension Methods
Constructors
GamePadFromLayout(InputManager, IGameControllerDevice, GamePadLayout)
Initializes a new instance of the Game
protected GamePadFromLayout(InputManager inputManager, IGameControllerDevice controller, GamePadLayout layout)
Parameters
inputManager
InputManager controller
IGameController Device layout
GamePad Layout
Properties
GameControllerDevice
Property Value
InputManager
Property Value
Layout
Property Value
State
The state of the gamepad
Property Value
Methods
Update(List<InputEvent>)
Updates the input device, filling the list inputEvents
with input events that were generated by this device this frame
Parameters
inputEvents
List<InputEvent >A list that gets filled with input events that were generated since the last frame
Remarks
Input devices are always updated after their respective input source