The code was written to read quadrature count. Any rotary encoder with two channels will generate quadrature count.

Al.