2011-10-31 05:36:24 +00:00
|
|
|
|
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);
|
2011-11-20 11:37:51 +00:00
|
|
|
|
GamePadState GetState(PlayerIndex playerIndex, out bool isConnected, out int packetNumber);
|
|
|
|
|
GamePadState GetState(PlayerIndex playerIndex, GamePadDeadZone deadZoneMode, out bool isConnected, out int packetNumber);
|
2011-10-31 05:36:24 +00:00
|
|
|
|
bool SetVibration(PlayerIndex playerIndex, float leftMotor, float rightMotor);
|
|
|
|
|
}
|
|
|
|
|
}
|