The Rotary Potentiometer - WDA-D35-D4C allows positional feedback for a rotating part in your application. It can also be used as a dial to control variables such as volume, brightness, or sensitivity.
It has 360° of mechanical travel and 345° of electrical travel, meaning that it can be used for measuring continuous rotation with a small blind spot between each rotation.