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

When a wheel is in momenum mode addition drag/flick gestures will add more momentum to the wheel. The maximum momentum value governs the maximum speed at which the wheel can rotate at any single point in time.

C
LIB_EXPORT laResult laListWheelWidget_SetMaxMomentum(
    laListWheelWidget* whl, 
    uint32_t max
);
Parameters
Parameters 
Description 
laListWheelWidget* whl 
the widget 
uint32_t max 
the maximum momentum value 
Returns

laResult - the operation result

MPLAB® Harmony Graphics Suite