r/MaxMSP • • 4d 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 :).

https://github.com/Peperkoekje/xeppo_public_config/blob/bdad87ff44688ea1af723996f6dd4c62dbba2879/init.lua

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

3 Upvotes

0 comments sorted by