SLAA877 December 2018 MSP430FR2633
The processButtonGroupGesture() function, located in media_player_buttons.c, is called from the button sensor handler and operates as a state machine performing the gesture processing after every button group sensor measurement. This function uses the timing and motion parameters from the SliderGestureParams data structure:
tSensorGestureParams ButtonGroupGestureParams = {
.ui16TouchSampleCount_Min = 3,
.ui16TouchHoldSampleCount_Min = 8,
};
Figure 3 shows the state machine states and actions.