App preset
Zed: controller layout for Mac
Zed can be driven from a game controller, a MIDI pad, or an adaptive controller on a Mac. InputConfig sends real keyboard and mouse events, so the app sees an ordinary keyboard and mouse. This is the layout the app's Smart Preset Maker builds for it: Code: navigate, scroll, shortcuts.
Get the preset in two clicks
- Open InputConfig and click Smart Preset Maker on the welcome screen.
- Search for Zed and pick it. The layout below is created as a preset in your sidebar, named and ready.
- Press Activate. Every row can be changed afterwards: the editor's Scan button rebinds any control the moment you touch it.
The preset can open Zed.app for you when it activates.
The full button map
| Controller | Sends | What it does |
|---|---|---|
| Left stick left | Mouse motion left (speed 16) | Pointer left |
| Left stick right | Mouse motion right (speed 16) | Pointer right |
| Left stick up | Mouse motion up (speed 16) | Pointer up |
| Left stick down | Mouse motion down (speed 16) | Pointer down |
| Right stick down | Scroll down | Scroll down |
| Right stick up | Scroll up | Scroll up |
| Right trigger | Left click | Click |
| A / Cross | Command (Left), P | Goto Anything (Cmd+P) |
| B / Circle | Command (Left), Shift (Left), P | Command Palette (Cmd+Shift+P) |
| X / Square | Command (Left), D | Add multi-cursor (Cmd+D) |
| Y / Triangle | Command (Left), / | Toggle comment (Cmd+/) |
| LB / L1 | Command (Left), F | Find (Cmd+F) |
| RB / R1 | Command (Left), S | Save (Cmd+S) |
| Back / Share / Select | Command (Left), W | Close tab (Cmd+W) |
| Start / Options | Command (Left), N | New file (Cmd+N) |
| D-pad left | Command (Left), Shift (Left), [ | Previous tab (Cmd+Shift+[) |
| D-pad right | Command (Left), Shift (Left), ] | Next tab (Cmd+Shift+]) |
Button names follow the Xbox / PlayStation pair shown in the editor, so A / Cross is the bottom face button on either pad. On a Switch Pro Controller the bottom button is labelled B; the mapping still fires on position.
Tips
- Left stick moves the pointer; right stick scrolls.
- Face buttons run common editor shortcuts.
Make it yours
Nothing here is fixed. Rows can be re-scanned to a different control, given hold and double-tap actions, chords, turbo, macros, haptic or spoken feedback, and per-binding deadzones and sensitivity curves. The binding editor guide covers every option, and the controller map shows what each control is called.