A reversible oscillating cylinder on a toy steam engine. The trunnion is shifted by an eccentric on the lever.
A typical small stationary oscillating cylinder engine
Model of a marine oscillating steam engine designed by Joseph Maudslay, clearly showing how the cylinders pivot on the trunnions, through which the steam is passed.