--- title: I performed a button swap on my mouse description: This had better not be my gateway drug into custom mice date: 2023-05-01 tags: - random - hardware draft: false extra: auto_center_images: true excerpt: Some photos and notes on how I swapped the middle button on my mouse discuss: reddit: https://www.reddit.com/r/ewpratten/comments/1356u1t/i_performed_a_button_swap_on_my_mouse/ hacker_news: https://news.ycombinator.com/item?id=35781662 aliases: - /blog/mouse-button-swap --- Recently, my mouse (a [Logitech M310](https://www.logitech.com/en-us/products/mice/m310-wireless-mouse.910-001917.html)) 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.