← All posts

Hammerspoon trackpad alternative.

Hammerspoon is a scripting environment. TrackStudio is a surface. The difference is how much you want to write.

Hammerspoon is a free, open-source macOS automation tool driven by Lua. It can watch the trackpad, run scripts, move windows, and do almost anything a script can describe. That is its strength and its cost.

TrackStudio is not a scripting platform. It is a visual layout for the trackpad: edges, corners, custom areas, per-app scenes, and haptics. If you want a surface you can see, the two tools solve different problems.

What Hammerspoon does well

Hammerspoon is for people who are comfortable writing or editing Lua. It can bind keys, watch gestures, launch apps, move windows, and react to system events. If you already have a config you like, it is hard to beat on flexibility.

It is free and open source. The price is your time: you maintain the config, and you debug it when macOS changes.

Where it stops

Hammerspoon does not give you a visual trackpad surface. The layout lives in code, not in a canvas. There are no per-app scenes you can see at a glance, no edge rails with haptic detents, and no editor if you do not want to write Lua.

Where TrackStudio fits

TrackStudio is for the person who wants the trackpad arranged visually: brightness and volume on the edges, actions in the corners, a different layout per app. It does not replace Hammerspoon's scripting. If you need a script, keep Hammerspoon; if you need a surface, use TrackStudio.

Who should choose which

Make the trackpad do more than point.

TrackStudio maps edges, corners, areas, gestures, and haptics to the app in front of you. $5 once. No subscription, no account.

Start 3-day trialBuy — $5

Questions

Is Hammerspoon free?

Yes. Hammerspoon is free and open source. The cost is the time you spend writing and maintaining the Lua config.

Can Hammerspoon map trackpad gestures?

It can watch input and run scripts, but the trackpad layout lives in code. There is no visual surface editor.

Do I need to code to use TrackStudio?

No. The layout is visual: select a region, choose an action. There is no scripting language.

Is TrackStudio a Hammerspoon replacement?

No. It is a trackpad surface, not a general automation environment. Keep Hammerspoon for scripts and use TrackStudio for the surface.

Sources

System behaviour checked November 2026 on macOS 26. Apple changes settings between releases; confirm on your own Mac.