DataSource Property

PPJoy

Gets/sets the PPJoy ContinuousPovDataSource that this PovMapping will use as the source of the values that it will report to Windows.

Namespace:  PPJoy
Assembly:  PPJoyWrapper (in PPJoyWrapper.dll)

Syntax

Visual Basic (Declaration)
Public Property DataSource As ContinuousPovDataSources
C#
public ContinuousPovDataSources DataSource { get; set; }
Visual C++
public:
property ContinuousPovDataSources DataSource {
	ContinuousPovDataSources get ();
	void set (ContinuousPovDataSources value);
}

Remarks

When an Analog ContinuousPovDataSource is assigned, then, as the ContinuousPovDataSource's value increases, the values reported to Windows by this PovMapping will increase proportionately, proceeding clock-wise from North.

When a Reversed ContinuousPovDataSource is assigned, the value of the Reversed ContinuousPovDataSource itself will decrease as the value of the corresponding Analog ContinuousPovDataSource increases. This, in turn, means that the value reported to Windows by this PovMapping will decrease, as the value of the corresponding Analog ContinuousPovDataSource increases.

Note: When the assigned ContinuousPovDataSource's value is set to -1, this PovMapping will report its position as centered.

See Also