On Linux, we can create a configuration files for devices and add them to XOrg configuration folder. After that we will be able to use mouse trackball ball + additional button to scroll page vertically or horizontally.
File content for Logitech M570:
[ . . . ]