Device for sensing Rotary Encoder input