Added some initial support for reading a quadrature encoder