I've recently moved into an office that has standardized on Apple computers and have run into something that I have used with Linux that I know is going to drive me nuts on the Mac. I use a Logitech MarbleMouse, a trackball that does not have a mouse wheel. On Linux, there is a configuration option (EmulateWheel and EmulateWheelButton in evdev) that let's you press a button and have mouse/trackball motion act like a scroll wheel. Is there anything equivalent on Mac?
You can use KeyRemap4MacBook.
Scroll by moving the pointer while holding the secondary button:
Scroll by moving the the pointer while holding F1:
<autogen>__KeyToKey__ KeyCode::F1, KeyCode::VK_MODIFIER_EXTRA1</autogen> <autogen>__PointingRelativeToScroll__ PointingButton::NONE, ModifierFlag::EXTRA1</autogen>
Scroll with F1 and F2:
<autogen>__KeyToKey__ KeyCode::F1, KeyCode::VK_MOUSEKEY_SCROLL_UP</autogen> <autogen>__KeyToKey__ KeyCode::F2, KeyCode::VK_MOUSEKEY_SCROLL_DOWN</autogen>
Scroll by moving the pointer while holding the primary and secondary buttons:
<autogen>__SimultaneousKeyPresses__ PointingButton::LEFT, PointingButton::RIGHT, KeyCode::VK_CONFIG_SYNC_KEYDOWNUP_notsave_pointing_relative_to_scroll</autogen>
You can map scrolling to pressing a key and moving the cursor from the GUI!
Here, I map the scrollwheel action to pressing the
Fn key and moving the cursor. Notice the nice option that enables this behavior for both horizontal and vertical scrolling.
By the way, KeyRemap4MacBook is now called Karabiner. https://pqrs.org/osx/karabiner/
Now Karabiner has an option for Logitech Marble Mouse
Since Karabiner-Elements no longer seems to have this functionality, Smart Scroll is the new way. Just use Mouse Button 4 with the "grab scroll" option. Unfortunately scrolling will stop when the cursor hits a screen edge, so it's not true scrolling, and Photoshop doesn't support it for alt-scroll zooming.