I believe that it already exists; in the Mouse window, the Touchpad tab includes that option.