Repository navigation
Conversation
…DI learn A MIDI controller now shows up in Settings ▸ Controls beside the MX Creative Console and Loupedeck+, and runs on the same surface engine: pages that follow the context, one undo step per gesture, the readout, speed and acceleration. - Touch a knob, fader or button and it appears on the page; bind it like any other key or dial. The app guesses how a knob sends (with ends, or one of the three endless kinds) and you can pick another type if it moves the wrong way. - Faders and knobs with ends set the value by position (new Input::Position / Effect::Set in lcc-surface), coalesced per frame, one undo step per move. - Ports: tick which MIDI ports the app opens. midi.toml keeps working; a message it binds still goes to its action. - Commands: surface.midi, surface.midiPort, surface.midiControl, surface.midiInput (synthetic MIDI for scripts and tests). Part of emmertex#1891 (next: pickup, LED feedback, built-in X-Touch Mini layout). Manual: automate/control-surfaces Sources: MIDI2LR (https://github.com/rsjaffe/MIDI2LR, GPL-3.0) read as a reference for behaviour; credited in NOTICE. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A MIDI fader or knob with ends now takes over a value once it reaches it
(within 3 % of the range, or moving past it in one step), so switching
photos, undoing or dragging a slider keeps the photo's value until you bring
the fader to it. Until then the readout shows the value with a white mark
where the fader is: "Move to the value to take over". A fader moved within
the last half second keeps the value; the moves before it takes over add no
undo step.
- lcc-surface: new `pickup` module (pure state, per control), a `pickup`
setting in `midi` (on by default) and a `Shown::Pickup` readout.
- Settings ▸ Controls ▸ MIDI controllers: "Faders take over at the photo's
value"; command `surface.midiPickup {on}`.
Part of emmertex#1891 (builds on emmertex#1913).
Manual: automate/control-surfaces
Sources: MIDI2LR (https://github.com/rsjaffe/MIDI2LR, GPL-3.0) pickup mode
read as a reference for behaviour; credited in NOTICE (emmertex#1913).
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Dec 5, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #1891. Builds on #1913: this branch contains #1913's commit; the change here is the last commit (3bffecf). I'll rebase it onto staging once #1913 merges and mark it ready.
What it does
A MIDI fader or knob with ends now takes over a value once it reaches it, so switching photos, undoing or dragging a slider keeps the photo's value until you bring the fader to it.
surface.midiPickup {on}.Code: a pure
lcc_surface::pickupmodule (per-control state, bounded, safe on NaN/inf), apickupsetting inmidi, and aShown::Pickupreadout the host shows while a fader waits.Screens (headless
snapshot)Tests
lcc-surfacepickup::tests: waits until within 3 %, a quick move past the value, re-taking after a rest only at the value, another binding starts again, hostile numbers and many controls.runtime::tests::a_fader_waiting_to_take_over_shows_where_it_is.lcc-ui-eguia_fader_takes_over_exposure_once_it_reaches_the_value: the photo keeps Exposure while the fader is away,surface.statereports the pickup readout, the fader takes over at the value, one undo puts the photo back, a quick move past the value takes over, off sets from anywhere, a missingonis refused.cargo xtask ci --quickgreen.New UI strings are translated in all 17 fork catalogs.
Manual: automate/control-surfaces
Sources: MIDI2LR (https://github.com/rsjaffe/MIDI2LR, GPL-3.0) pickup mode read as a reference for behaviour; credited in NOTICE (#1913).
🤖 Generated with Claude Code