Each press of the green button causes the pink shaft to rotate 180 degrees.
The guide rail (blue) is located on the inner surface of the body.
The green button of face cam slides inside the body thanks to a prismatic joint (the blue rails and the button slots).
The yellow face cam has a cylindrical joint with the body and is pressed upwards by the black spring. The yellow cam has slots that engage with the blue rails when the pink shaft is immobile.
The pink shaft has prismatic joint with the yellow face cam (sliding keys).
A good feature: the pink shaft is firmly positioned after rotation.
STEP files of this video:
https://www.mediafire.com/file/ai93ps...
Inventor files of this video:
https://www.mediafire.com/file/m62t4x...