C# Class WoWmapper.Controllers.Xbox.XInputController

Inheritance: IController
Afficher le fichier Open project: topher-au/WoWmapper Class Usage Examples

Méthodes publiques

Méthode Description
GetAxis ( GamepadAxis axis ) : int
GetButtonState ( GamepadButton button ) : bool
IsAlive ( ) : bool
SendRumble ( byte left, byte right, int duration ) : void
Stop ( ) : void
XInputController ( int deviceIndex ) : System

Private Methods

Méthode Description
MonitorThread ( ) : void
SendButtonEvent ( GamepadButton button, bool state ) : void

Method Details

GetAxis() public méthode

public GetAxis ( GamepadAxis axis ) : int
axis GamepadAxis
Résultat int

GetButtonState() public méthode

public GetButtonState ( GamepadButton button ) : bool
button GamepadButton
Résultat bool

IsAlive() public méthode

public IsAlive ( ) : bool
Résultat bool

SendRumble() public méthode

public SendRumble ( byte left, byte right, int duration ) : void
left byte
right byte
duration int
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void

XInputController() public méthode

public XInputController ( int deviceIndex ) : System
deviceIndex int
Résultat System