C# 클래스 HexapiBackground.Hardware.XboxController

파일 보기 프로젝트 열기: Slimordium/Hexapi_Hexapod 1 사용 예제들

비공개 메소드들

메소드 설명
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