Atmel ATmega32u4 based rotary encoder interface connecting to a computer as a USB Human-Interface-Device (HID)
Encoder library by Paul Stoffregen https://github.com/PaulStoffregen/Encoder
HID by Nico Hood https://github.com/NicoHood/HID