IdealMappings Property

PPJoy

Gets a custom MappingCollection that defines the broadest possible set of controls that can be assigned to a PPJoy Device. The controls are pre-set to expose the maximum capabilities that a virtual joystick Device can express.

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

Syntax

Visual Basic (Declaration)
Public ReadOnly Property IdealMappings As MappingCollection
C#
public MappingCollection IdealMappings { get; }
Visual C++
public:
property MappingCollection^ IdealMappings {
	MappingCollection^ get ();
}

Return Value

A fully-loaded MappingCollection object that can be assigned to a Device using the SetMappings(MappingCollection) method.

Remarks

The MappingCollection that will be returned will define a control set that includes 8 axes, 32 buttons, and 2 POVs.

Each ButtonMapping will have its DataSource property pre-set to a ButtonDataSource that corresponds with the ButtonMapping's ControlNumber property value, such that the #1 button in the collection will source its data from Digital0; the #2 button will source its data from Digital1; and so on.

Each PovMapping will be a ContinuousPovMapping, and will have its DataSource property set to Analog8 for Pov #1, and Analog9 for Pov #2.

Each AxisMapping will have its MinDataSource property set to an AxisDataSource that corresponds with the AxisMapping's ControlNumber property value, such that the #1 axis will source its data from Analog0; the #2 button will source its data from Analog1; and so on. Additionally, each AxisMapping will have its AxisType property set to an AxisType in such a way as to ensure that the defined AxisMappings will include a member of each of the following AxisTypes:

See Also