C# Class HexapiBackground.Hardware.XboxController

Mostrar archivo Open project: Slimordium/Hexapi_Hexapod Class Usage Examples

Private Methods

Method Description
ConnectToController ( DeviceInformationCollection deviceInformationCollection ) : Task
CoordinatesToDirection ( double x, double y ) : ControllerDirection

Converts thumbstick X/Y coordinates centered at (0,0) to a direction

DisconnectCheckTimer ( object sender ) : void
GetDeviceInformationCollection ( ) : Task
GetMagnitude ( double x, double y ) : int

Gets the magnitude of the vector formed by the X/Y coordinates

InitializeAsync ( ) : Task
InputReportReceived ( HidDevice sender, HidInputReportReceivedEventArgs args ) : void
XboxController ( SparkFunSerial16X2Lcd display ) : System