Making this possible is the open-source firmware QMK, which is the same stuff powering Ploopy’s line of modular mice and trackballs. The firmware lets you easily reprogram gestures, tweak tracking speeds, and even add entirely new functionality through coding.
I didn’t find any open source mouse alternatives.
I built their mouse myself, I daily drive it.
https://hackertalks.com/post/3396603