@norm The scrollwheel has been broken for years and the underside is completely eroded away (I just put a bunch of adhesive tape to give a smooth surface). I simply have a rather flexible definition of "working".
@norm Even for the switches - as mentioned, libinput debounces up to 25 ms. It's gotten past that. They've been wearing out for a long time. The only part of the mouse that still works is the optical sensor, and I mean I hope so I don't see how that part would wear off.
@chjara my mice tends to reach the double clicking stage in like 2-3 years
maybe there's some fancy with hall-effect sensor or similar, like how some controllers have them to prevent stick drift. I'll need to investigate the next time one starts acting up