2011-10-31 05:36:24 +00:00
|
|
|
using ANX.Framework.Input;
|
|
|
|
|
2012-08-09 09:45:04 +00:00
|
|
|
// 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
|
2011-12-14 19:22:17 +00:00
|
|
|
|
2011-10-31 05:36:24 +00:00
|
|
|
namespace ANX.Framework.NonXNA
|
|
|
|
{
|
2012-08-25 17:27:45 +00:00
|
|
|
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);
|
|
|
|
}
|
2011-10-31 05:36:24 +00:00
|
|
|
}
|