Most of Treadle's controls talk to macOS directly — volume, mic, the output device, keeping the Mac awake. Three of them can't: brightness, Bluetooth, and Focus. Apple provides no public API for those, so Treadle drives them through the Shortcuts app instead — the supported, sandbox-safe way to automate macOS. You create a small Shortcut once; Treadle runs it when you move the slider or tap the toggle.
If you open the Controls tab on your iPad and a control is greyed out, this is why. Each disabled control names the Shortcut it needs. Here's how to make them.
The three Shortcuts
| Control | Shortcut name (exact) | What the Shortcut does |
|---|---|---|
| Brightness | Treadle Brightness |
Sets the display brightness to a number Treadle passes in |
| Bluetooth | Treadle Bluetooth |
Turns Bluetooth on or off |
| Focus | Treadle Focus |
Turns a Focus (e.g. Do Not Disturb) on or off |
The names must match exactly, Treadle included.
Create "Treadle Brightness"
- Open the Shortcuts app on your Mac.
- Click + to make a new Shortcut, and name it
Treadle Brightness. - Add the action Set Brightness.
- Make it use the Shortcut's input: set the brightness to Shortcut Input (Treadle sends the level as the input).
- Close the editor. That's it — Treadle will find it by name.
Create "Treadle Bluetooth"
- New Shortcut, named
Treadle Bluetooth. - Add Set Bluetooth and leave it on Toggle (or wire it to the Shortcut Input if you prefer explicit on/off).
- Close the editor.
Create "Treadle Focus"
- New Shortcut, named
Treadle Focus. - Add Set Focus (choose the Focus you want, e.g. Do Not Disturb) and set it to Toggle.
- Close the editor.
Brightness: showing the current level is optional
The Treadle Brightness Shortcut lets Treadle set brightness. macOS has no public way to read it back, so the brightness slider can only mirror the Mac's actual level — including changes you make with the keyboard's brightness keys — if the small open-source brightness command-line tool is installed:
brew install brightness
Without it, everything still works: the slider sets brightness fine, it just won't move on its own when brightness changes elsewhere; it shows the last value it set. Volume and mic gain don't need this — macOS lets Treadle read those directly.
Prefer not to install a command-line tool? Make a second Shortcut named exactly Treadle Get Brightness whose last action is Get Device Details → Brightness (so it returns the brightness). Treadle runs it to read the current level. Don't add this to the Treadle Brightness set-shortcut — a read has to be its own Shortcut, or reading would overwrite your brightness.
How Treadle finds them
Treadle asks the Shortcuts app for its list and looks for the three names above. There's nothing to point at and no path to configure — if the name matches, the control lights up. Reopen the Controls tab after creating a Shortcut to re-check.
Prefer to keep things minimal? Create only the Shortcuts for the controls you'll actually use. Everything else in Treadle works without any of this.