Auto scrolling with middle click

I'd like auto-scrolling using the middle click of the mouse (that's the scrolling wheel press for most mice, else simply the middle button). When you trigger this, you don't have to use the wheel to scroll any more, you can simply move up and down the mouse: Super useful for a very long document!
It's already in options for plenty of softwares like Firefox, most PDF readers etc…