C# Class SuperCaissiere.Engine.Input.Devices.GamepadDevice

Inheritance: Device
显示文件 Open project: valryon/super-caissiere

Public Methods

Method Description
GamepadDevice ( LogicalPlayerIndex logicalPlayerIndex, PlayerIndex index ) : Microsoft.Xna.Framework
Update ( Microsoft gameTime ) : void

Private Methods

Method Description
MapButtonValue ( Microsoft.Xna.Framework.Input previousXnaButton, Microsoft.Xna.Framework.Input xnaButton, MappingButtons button ) : void

Method Details

GamepadDevice() public method

public GamepadDevice ( LogicalPlayerIndex logicalPlayerIndex, PlayerIndex index ) : Microsoft.Xna.Framework
logicalPlayerIndex LogicalPlayerIndex
index PlayerIndex
return Microsoft.Xna.Framework

Update() public method

public Update ( Microsoft gameTime ) : void
gameTime Microsoft
return void