Click or drag to resize

CalibrationMap Class

Maps calibration data to a controller's axes.
Inheritance Hierarchy
SystemObject
  RewiredCalibrationMap

Namespace:  Rewired
Assembly:  Rewired_Core (in Rewired_Core.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public sealed class CalibrationMap

The CalibrationMap type exposes the following members.

Constructors
  NameDescription
Public methodCalibrationMap
Creates a CalibrationMap from an array of AxisCalibrations.
Top
Properties
  NameDescription
Public propertyAxes
Get a list of the AxisCalibration objects.
Public propertyaxisCount
The number of axes in the map.
Top
Methods
  NameDescription
Public methodGetAxis
Gets an AxisCalibration at a particular index.
Public methodGetAxisData
Gets a struct containing the calibration data for an Axis at a particular index.
Public methodGetCalibratedValue
Calibrates the incoming value by the AxisCalibration at a particular index.
Public methodImportJsonString
Imports data from a JSON string.
Public methodImportXmlString
Imports data from an XML string.
Public methodReset
Resets all calibration data to hardware defaults.
Public methodSetAxisData
Sets calibration settings for an Axis at a particular index.
Public methodToJsonString
Exports the map to a JSON string.
Public methodToXmlString
Exports the map to an XML string.
Top
See Also