







![]() ![]() |
PPJoy Wrapper Library reference library |
DeviceManager..::.IdealMappings Property |
DeviceManager Class See Also |
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
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: