Macos – How to scroll horizontally with the regular mouse


Normally, I only need to scroll up and down, but when using software like trello,, a text editor with large amounts of code on a single line, etc, I need to scroll horizontally.

Using the trackpad, this is easy, just two finger swipe and it will go in the direction desired.

But lately, I've been putting my laptop far away, using external mouse, display, and keyboard.

How can I scroll horizontally with the external mouse?

Best Answer

If your keyboard is near your mouse, you can hold the shift key down while you operate the scroll wheel. The window should scroll left and right.

Of course, the left and right arrow keys will scroll the contents of a window left or right in short steps.

Some mouse devices have additional controls and a software driver designed for Macs (Logitech, for example). Those drivers often add a settings pane to the System Preferences application that allow you to assign functions / keystrokes to those buttons. For example, a mouse I have used had a scroll wheel that you could move left or right, activating a separate switch in each of those two directions. Using the settings pane, I was able to set the driver to scroll left or right by activating the left-right function of the wheel.