Reimplementing ptn_check_dial (works with quadrature rotary encoder)