Added support for rotary encoder data type