Adapting serial mice to quadrature systems