keychron_qmk_firmware/drivers/encoder
..
encoder_quadrature.c