C# Class WoWmapper.Controllers.DS4.DS4Controller

Inheritance: IController
Datei anzeigen Open project: topher-au/WoWmapper Class Usage Examples

Private Properties

Property Type Description
MonitorThread void
SendButtonEvent void

Public Methods

Method 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

Method Description
MonitorThread ( ) : void
SendButtonEvent ( GamepadButton button, bool state ) : void

Method Details

DS4Controller() public method

public DS4Controller ( DS4Device underlyingDevice ) : System
underlyingDevice DS4Windows.DS4Device
return System

GetAxis() public method

public GetAxis ( GamepadAxis axis ) : int
axis GamepadAxis
return int

GetButtonState() public method

public GetButtonState ( GamepadButton button ) : bool
button GamepadButton
return bool

IsAlive() public method

public IsAlive ( ) : bool
return bool

SendRumble() public method

public SendRumble ( byte left, byte right, int duration ) : void
left byte
right byte
duration int
return void

Stop() public method

public Stop ( ) : void
return void