Even though it's mostly frivolous for a mouse...
I've gotten myself into the QMK world, and was recently thinking about the possibility of something like this.
My thought was to start with a atmega32 or something. Might venture down that path when I get a free weekend or two now that I have access to a 3d printer.