Property | Type | Description | |
---|---|---|---|
MaxMagnitude | int>.Dictionary |
Property | Type | Description | |
---|---|---|---|
coordinatesToDirection | ControllerDirection | ||
getMagnitude | double | ||
inputReportReceived | void |
Method | Description | |
---|---|---|
XboxHidController ( HidDevice deviceHandle ) : System |
Initializes a new instance of the XboxHidController class from a HidDevice handle
|
Method | Description | |
---|---|---|
coordinatesToDirection ( double x, double y ) : ControllerDirection |
Converts thumbstick X/Y coordinates centered at (0,0) to a direction
|
|
getMagnitude ( double x, double y ) : double |
Gets the magnitude of the vector formed by the X/Y coordinates
|
|
inputReportReceived ( HidDevice sender, HidInputReportReceivedEventArgs args ) : void |
Handler for processing/filtering input from the controller
|
public XboxHidController ( HidDevice deviceHandle ) : System | ||
deviceHandle | HidDevice | Handle to the HidDevice |
return | System |