set Axis Interpolator
abstract fun setAxisInterpolator(@NonNull droneModel: Drone.Model, @NonNull axis: SkyControllerUaGamepad.Axis, @NonNull interpolator: AxisInterpolator)
Sets the interpolation formula to be applied on an axis.
An axis interpolator affects the values sent to the connected drone when moving the gamepad axis. It maps the physical linear position of the axis to another value by applying a predefined formula.
Note that the current interpolator set on an axis also affects the values sent through axis event listeners for grabbed inputs.
Parameters
drone Model
drone model for which the axis interpolator must be applied
axis
axis to set the interpolator for
interpolator
interpolator to set