SND\rene87_cp 38cbd8fcd2 add GamePadTest
fix GamePad class
improve IGamePad
2011-11-20 11:37:51 +00:00

17 lines
598 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ANX.Framework.Input;
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);
}
}