As part of the brain stem, the movements of the eyes in the midbrain are controlled by the eye muscles. In addition, in the midbrain information is transmitted from sensitive nerve to the diencephalon up to the cerebrum - or switched to motor nerves.
https://de.wikipedia.org/wiki/Mittelhirn (Wikipedia CC-by-sa-3.0)