- Refactored the AddIn-System to allow merged assemblies (for metro, android, etc. later on) - Added empty PsVita Sound and Media System modules - Fixed 2 small missing excludes in the build script - Cleaned the License headers in the shader files - Some other refactorings
17 lines
667 B
C#
17 lines
667 B
C#
using ANX.Framework.Input;
|
|
|
|
// This file is part of the ANX.Framework created by the
|
|
// "ANX.Framework developer group" and released under the Ms-PL license.
|
|
// For details see: http://anxframework.codeplex.com/license
|
|
|
|
namespace ANX.Framework.NonXNA
|
|
{
|
|
public interface IGamePad
|
|
{
|
|
GamePadCapabilities GetCapabilities(PlayerIndex playerIndex);
|
|
GamePadState GetState(PlayerIndex playerIndex, out bool isConnected, out int packetNumber);
|
|
GamePadState GetState(PlayerIndex playerIndex, GamePadDeadZone deadZoneMode, out bool isConnected, out int packetNumber);
|
|
bool SetVibration(PlayerIndex playerIndex, float leftMotor, float rightMotor);
|
|
}
|
|
}
|