C# Class WoWmapper.Controllers.DS4.DS4Controller

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

Private Properties

Свойство Type Description
MonitorThread void
SendButtonEvent void

Méthodes publiques

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

Private Methods

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

Method Details

DS4Controller() public méthode

public DS4Controller ( DS4Device underlyingDevice ) : System
underlyingDevice DS4Windows.DS4Device
Résultat System

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