MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria User Interface Library Interface > a) Functions > laListWheelWidget_SetMomentumFalloffRate Function
MPLAB® Harmony Graphics Suite
laListWheelWidget_SetMomentumFalloffRate Function

When a wheel is in momenum mode and during each rotation update tick the wheel will reduce its current momentum value by this falloff percentage. The higher this value is the faster a wheel will slow down. The wheel is limited to integer math so the lowest this value can be is one.

C
LIB_EXPORT laResult laListWheelWidget_SetMomentumFalloffRate(
    laListWheelWidget* whl, 
    uint32_t rate
);
Parameters
Parameters 
Description 
laListWheelWidget* whl 
the widget 
uint32_t max 
the momentum falloff value 
Returns

laResult - the operation result

MPLAB® Harmony Graphics Suite