Input: blue shaft rotating two directions.
Output: green shaft rotates with the input shaft only in the direction set by the pink lever.
The orange pins always force the red roller into wedgeshaped gaps between the input and output shafts.
The spring of the blue pin must be strong enough for positioning the pink lever.