C# Class WoWmapper.Controllers.ControllerManager

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

Méthodes publiques

Свойство Type Description
ActiveController IController
Controllers List
DS4 WoWmapper.Controllers.DS4.DS4Interface
XInput WoWmapper.Controllers.DS4.XInputInterface

Méthodes publiques

Méthode Description
GetButtonIcon ( GamepadButton button ) : BitmapImage
GetButtonName ( GamepadButton button ) : string
GetLeftAxis ( ) : System.Windows.Point
GetRightAxis ( ) : System.Windows.Point
RefreshControllers ( ) : void
SendRumble ( byte left, byte right, int duration ) : void
SetController ( IController controller ) : void
Start ( ) : void
Stop ( ) : void

Private Methods

Méthode Description
ActiveControllerOnButtonStateChanged ( GamepadButton button, bool state ) : void
ControllerWatcher ( ) : void
DS4TouchpadButtonDown ( object sender, DS4Windows.TouchpadEventArgs args ) : void
DS4TouchpadButtonUp ( object sender, DS4Windows.TouchpadEventArgs args ) : void
DS4TouchpadMoved ( object sender, DS4Windows.TouchpadEventArgs args ) : void
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : IntPtr
UsbNotifierOnDeviceConnected ( ) : void
UsbNotifierOnDeviceDisconnected ( ) : void

Method Details

GetButtonIcon() public static méthode

public static GetButtonIcon ( GamepadButton button ) : BitmapImage
button GamepadButton
Résultat System.Windows.Media.Imaging.BitmapImage

GetButtonName() public static méthode

public static GetButtonName ( GamepadButton button ) : string
button GamepadButton
Résultat string

GetLeftAxis() public static méthode

public static GetLeftAxis ( ) : System.Windows.Point
Résultat System.Windows.Point

GetRightAxis() public static méthode

public static GetRightAxis ( ) : System.Windows.Point
Résultat System.Windows.Point

RefreshControllers() public static méthode

public static RefreshControllers ( ) : void
Résultat void

SendRumble() public static méthode

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

SetController() public static méthode

public static SetController ( IController controller ) : void
controller IController
Résultat void

Start() public static méthode

public static Start ( ) : void
Résultat void

Stop() public static méthode

public static Stop ( ) : void
Résultat void

Property Details

ActiveController public_oe static_oe property

public static IController ActiveController
Résultat IController

Controllers public_oe static_oe property

public static List Controllers
Résultat List

DS4 public_oe static_oe property

public static DS4Interface,WoWmapper.Controllers.DS4 DS4
Résultat WoWmapper.Controllers.DS4.DS4Interface

XInput public_oe static_oe property

public static XInputInterface,WoWmapper.Controllers.DS4 XInput
Résultat WoWmapper.Controllers.DS4.XInputInterface