geekmili.blogg.se

Hammerspoon mouse zoom
Hammerspoon mouse zoom










hammerspoon mouse zoom

On both I am using the ‘Modern Toolset’ - previously known as the GAL Canvas, with ultra quality sub pixel antialiasing set in the render preferences. I use a MacBookPro (trackpad and Logitech Mouse) and a iMac with a MagicMouse with Kicad 5. Which Kicad version are you using and what canvas? This needs “Use trackpad for panning” enabled and automatically adds the Cmd modifier to scroll events from the mouse wheel, so you can pan with the trackpad and zoom with the mouse! If "Eeschema" = title:sub(0, 8) or "Pcbnew" = title:sub(0, 6) then Local title = front:focusedWindow():title() Trackpad scroll events are continuous, mouse scroll events are not. I recently managed to get the behaviour I wanted with Hammerspoon using the following config: kicadScrolling = hs.eventtap.new(, function(e) I can no longer reply because the topic has been closed. Is there a way to make the trackpad behave like the “Use trackpad for panning” pref is enabled, but make the scroll wheel zoom, like that pref is disabled?

hammerspoon mouse zoom

I like the panning behaviour, though, and muscle memory agrees with panning on the trackpad, like in any other program. However, zooming on the trackpad is neither very useful nor smooth enough for me. While using the mouse, muscle memory dictates that the scroll wheel zooms, while clicking and dragging the middle mouse button pans, like in many other CAD packages. I usually have a (non-apple) mouse and a magic trackpad on my machines.












Hammerspoon mouse zoom