Incremental encoder
Incremental encoders are often used in rotary encoders. There are two phase-delayed contacts that enable you to change the direction of rotation with a processor. When you press a button, a non-holding button is closed additionally.