It was also implemented physically in some mouses
for example, Logtiech G502: " Dual-Mode Hyper-Fast Scroll Wheel
Unlock the scroll wheel for hyper-fast continuous scrolling to spin quickly through long pages, or lock it down for single click precision scrolling. The weighty, metal wheel delivers confident, smooth and satisfying control for either mode. "
https://www.youtube.com/watch?v=aANF2OOVX40 ( Interstellar Mouse ^^ )
The G502 is a phenomenal mouse
On Win 10 ours randomly changes dpi. The multi-user setup is abysmal; one user can screw up another's settings. It spams notifications when you cause a quick-change-dpi event (you can turn off notifications, it's a weird default). It works very badly without the app running, ie it's a soft-mouse tailored to Windows. There's no Logitech Linux app (though the one I use is superior to the Windows app, IMO, clearer with less cruft -- https://github.com/libratbag/piper). Latest update reverted my dpi settings.
I'm not particularly impressed.