Makes the Mac trackpad useful on Bitwig's controls:
- Scroll over a value control (knob, fader, number field, modulation amount) changes its value smoothly with the trackpad's precise deltas. Hold Shift for fine steps. Snapping, stepped and enum parameters, ranges and automation touch work exactly like dragging the control, because the scroll drives Bitwig's own value drag. One undo step per gesture. Round values (0 dB, -6 dB, pan center) are gently magnetic (Soft snap).
- Option + pinch zooms the editor under the cursor vertically (arranger, piano roll, audio editor) with Bitwig's Zoom In/Out Vertically actions. A plain pinch stays Bitwig's horizontal zoom.
| Platform | Status |
|---|---|
| macOS | ✅ built and tested on Bitwig Studio 6.1.7 |
| Windows, Linux | ❌ not supported (uses the macOS trackpad API) |
How it works
- A control takes a scroll only when the scroll starts after a pause (Takeover delay, 300 ms by default). Scrolling a panel (device chain, mixer, browser) that brings a knob under the cursor keeps scrolling the panel, inertia included. A quick re-scroll on the same control right after editing it keeps adjusting it.
- Only vertical scrolling changes values; a sideways pan over a knob is left to the panel.
- The edit (and its undo step) ends when the finger lifts, when a new touch starts, on a mouse click, when the window loses focus or closes, when the setting is turned off, and in any case after 250 ms without scroll events.
- A native trackpad monitor (macOS
NSEventlocal monitor through Java's FFM API) gives the touch phases Bitwig drops: the edit ends exactly at finger lift and the inertia that follows is swallowed, so the value stops where the finger left it. If the monitor can't be installed, the log gets one line and the mod runs on the 250 ms timeout alone (inertia then keeps changing the value until it stops).
Settings
Settings > Mods > fatyzzz Trackpad:
| Setting | Default | |
|---|---|---|
| Enabled | on | Everything off when unchecked. |
| Scroll over a knob, fader or number to change it | on | |
| Sensitivity (%) | 50 | 100% = one wheel pixel moves the value as one pixel of mouse drag. |
| Takeover delay after scrolling (ms) | 300 | Pause needed before a scroll may start editing a control. 0 = always. |
| Require modifier | None | Cmd, Option or Ctrl must be held to edit by scrolling. |
| Invert direction | off | |
| Ignore momentum (inertia) after a value change | on | Off: the inertia keeps moving the value, the edit ends when it stops. |
| Snap to round values | Volume & pan | Gentle detents while scrolling a value (below). Off / Volume & pan / All parameters. |
| Snap strength (scroll px) | 8 | How much extra scroll a detent holds the value for (scaled by Sensitivity). |
| Haptic tick on each snap | on | Force Touch trackpads tick when a detent catches. |
| Debug log | off | One trackpad: snap ... log line per value edit (see Soft snap). For troubleshooting. |
| Option + pinch zooms vertically | on |
Soft snap
While a scroll edits a value, round values are magnetic: when the value crosses one it stops exactly on it, stays there for a little more scrolling (Snap strength), then moves on from that point with the extra scroll only, so there is no jump when it lets go. It is never a grid: between detents the value moves as before.
- Volume (any parameter Bitwig shows in dB: track volume, device gain/level): 0 dB (holds 1.5x longer), every 1 dB from -12 to +6, every 3 dB from -30 to -12 and above +6, every 6 dB from -60 to -30. The range ends (-inf at the bottom, the top) already stop the value.
- Pan and other bipolar parameters (display range symmetric around 0): the center, held 1.5x longer.
- All parameters mode adds 25 / 50 / 75 % of the range and the parameter's default value (held 1.5x longer) for everything else.
- Detents are computed in display units with Bitwig's own conversion (the parameter's range, curve and display unit, as its value text uses), so -6 dB lands on -6.0 whatever the fader curve; detents closer than two holds are thinned (strongest kept).
- The parameter is found the way Bitwig's own drag finds what it writes: the control's value attribute, its binding to the model attribute, and that attribute's owner. A coarse wheel step that crosses a detent early still catches.
- Fast scrolling (over about 3000 px/s, averaged over 50 ms so events bunched into one frame don't count as fast) and inertia pass through detents; Shift (fine) never snaps. Undo (one step per gesture) and automation touch are unchanged: snapping only shapes the movement Bitwig's own drag receives.
- Enum, integer and on/off parameters don't snap. Controls whose value is not a Bitwig parameter don't snap in Volume & pan mode; in All parameters mode they get the 25 / 50 / 75 % detents.
- Debug log line at the end of each edit:
trackpad: snap <control class> param=<parameter class> unit=<unit>|null '<value text at start>' -> '<at end>' detents=N crossings=N snaps=N (applied | not applied: <reason>), reason one of snap off, no parameter, discrete parameter, not volume or pan, redirected, no detent crossed, too fast, momentum, shift, setup failed.
Not included
- Rotate and swipe gestures (Bitwig doesn't handle them).
- Horizontal scroll on horizontal faders; mouse-wheel behaviour is stock where Bitwig has its own (EQ band Q, drum pads, timelines).
Requires
preferences-composition-framework. The framework ships with Patchbay. Built against Bitwig 6.1.7 on macOS.
Self-test: fatyzzz-trackpad/test/run.sh (offline, no Bitwig, needs JDK 25).
Build from source: tools/build.sh fatyzzz-trackpad (see the top-level README).