r/MaxMSP • u/kott_ttok • 1h ago
meta/suggestions [Mac] Add middle-mouse+drag to navigate patch
I use Max on my Mac mini, and have been wanting to use middle-mouse+drag instead of cmd+shift+left-mouse-drag for panning around patches. With Hammerspoon this is possible (not possible natively as far as I know). So, to whom it might concern: here's a hammerspoon config to implement this. This config was generated by an AI (Claude); I have not used Hammerspoon myself before, but I thought it might be useful to someone :).
So if you want to use this:
- install Hammerspoon
- Add the config to ~/.hammerspoon/init.lua
- Reload config
I have not tested this extensively so use at your own risk, but its not that complicated so I don't think it can cause big issues
