It would be great if sideways scrolling worked "out of the box". The current workaround (for MX Master series) is to go into the logitech software program settings and set the sideways scrolling with keystrokes, per this exchange:
https://community.esri.com/t5/accessibility-questions/logitech-mx-master-horizontal-scroll-wheel-for...
A solution to integrate this functionality would be a nice quality of life improvement for individuals that have invested in these types of peripherals.