Code for a 3D printed Arduino Pro Micro mouse utilizing the PMW3389 sensor. - BenMakesEverything/PMW3389_Mouse
The project has nothing directly to do with Linux. But I think it's interesting and you should be able to use the mouse under Linux. In my opinion, it is therefore an alternative to normal mice.
I have no experience with this project. I have been using a mouse from Zowie for several years under Linux, where all settings can be made with switches on the mouse so that no software is necessary.