click-once: A tiny library to fix undesired mouse double clicks, written in Rust
\*typo in the title, its supposed to be binary not library
My 2 years old mouse recently started having this issue that its left click clicks twice instead of one. It is a hardware problem but i made this to fix it with little to no overhead.
It basically hijacks a global hook into the Windows's low level mouse thread input queue and rejects any mouse release which happen too quickly right after a mouse down input. In my machine ram usage is approx. 700kb and cpu usage does not go higher than 0.3%
Now i know one could argue that this was not really a job specifically for rust as a language but that didnt stop me tbh.
Hope it can be useful to someone