This is the hardware side of an RP2040 USB to Quadrature mouse adaptor used with retro computers, the software is available at https://github.com/Black-FX/RP2040_Mouse
A PDF of the scematic is available in Here
Glamour shots
You can order the boards here:
I sell pre-assembled and programmed ones here: