Profile Photo

Evan Pratten

Software Developer


Home · Blog · Radio · Music · Contact

I performed a button swap on my mouse

This had better not be my gateway drug into custom mice

Recently, my mouse (a Logitech M310) has been starting to give out on me, which I suppose is to be expected considering how much use my peripherals get, but is nevertheless annoying, considering that the failing component was the middle button, which I use a lot.

Instead of just heading out to Walmart and buying another mouse, I decided to try repairing this one with some spare parts I had lying around.

The guts

Disassembling the mouse was nice and easy. Simply pop off the battery cover, remove the battery, and unscrew two screws. The top just pops off, revealing one of the simplest circuit boards I've seen in a while.


Located in the middle of the circuit is the momentary switch for the middle button. Conveniently the standard size you'd expect to find in a breadboard kit.

The swap

All that remained to do was to de-solder the old switch, and solder in a new one (which I conveniently have a few of in a bin by my desk).

Below is an image of the underside of the stock middle button, a very easy solder job.

The results

After de-soldering the existing button, and replacing it with a spare, I was left with a mouse circuit that looked no different than when I started.

After re-assembling the mouse, I am proud to say that the button click now registers 100% of the time (unlike the ~40% when I started).

The only issue I have encountered is that my choice of replacement button is a little stiff, requiring slightly more activation force than before. I have a feeling that it will wear down over time. If not, I might just hit it with a little bit of lubricant.