qmk-firmware/keyboards/dmqdesign/spin/keymaps/encoderlayers
..
config.h
keymap.c
readme.md

This keymap is intended to demonstrate how to implement different encoder functions dependent on layer, and on how to implement MIDI control with encoders.