The mechanism is used for speed control of desk fans
Push first green button to get speed 1.
Push second green button to release the first one and get speed 2.
Push yellow button to release the green button in down position and get OFF.
Half way pushing of the green buttons (in up position) has the same effect as pushing the yellow button.
The green buttons are connected to electrical contacts (not shown). Add further green buttons for more speeds.