Repository navigation
feat(firmware): overhaul the pedal UI screens, controls and installer wording - #24
Merged
Merged
Conversation
The controls now have one dispatch in firmware/ui.h (ui_buttons, ui_turn, ui_action) that the main loop and the simulator both call, so the gesture timing is tested on the host. F4: one unsaved edit survives a preset change by foot or from the list and comes back with its slot. F5: both footswitches open the tuner (the second within 150 ms, while the first is held, takes the first step back). F6: PUSH on PLAY opens the block at its release; a second click within 350 ms turns it into MOVE. F7: NAM MODEL and USER IR step one filled item a detent and show their place; stored values are unchanged. F8: HOME on PLAY opens a preset list (knob browses, PUSH loads, HOME returns). F9: the block page's selection follows the page (ON, MODEL, settings); item numbers are unchanged. F10: FX steps through its blocks in the preset's chain order. F11, F12: the corner reads DSP 42% (amber above 80 %, red when late); the tuner page shows the tuner only, with an arrow; the readings for bug reports move to a diagnostics page behind a further hold of HOME. F14 to F18: the NAM model under the tiles, SAVE and RESTORE wording, SYNTH, no arrows on one-model blocks, HZ on the IR cuts, plain boot, failed-start and failed-update screens. No engine file changes: tests/equiv.sh HEAD is identical (852 runs). tests/uisim.c checks each finding.
…success (F19) Rescue mode moves into the folded 'Rescue and advanced options' section. A finished install reads 'OpenPocket v40 (PocketX_940)' and links the editor and the release notes, and every stage chip shows done.
…its graphic Page 1: the load against the safety bypass's limit, each core's load with the layer split, LATE, CLIP and BYPASS as chips, the four costliest blocks as sorted bars (the heaviest amber), PK, CUT. Page 2: a meter per input channel with its clip zone, a marker for the output's soft clip, the battery as a cell with volts and percent, the raw readings. The knob turns the page. Green, amber above 80 %, red for a late block or a bypass. tests/uisim.c checks the colours, the guard tick, the sort, the highlight, the clip marker, the widths and that both pages are fully drawn.
… to the release v41 shipped without this work, so the comments and test messages that called it v41 now say v42. The section it added to docs/WHATS-NEW-v40.md is taken out: it describes the next release, whose notes are written when it is made.
isod89
pushed a commit
that referenced
this pull request
Nov 10, 2026
Verify and restore BlackBox V21 factory sounds. By Ivan Shevchuk (Testing7B). docs/index.html: run() keeps #24's end of an install (every stage done, the version named, the release notes and editor links) and #26's own messages for the V21 checks, which are not installs (no stage shown, no version link). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LFaxqW3CpFrLCvqoteTUv9
isod89
pushed a commit
that referenced
this pull request
Nov 10, 2026
…al controls, #25 USB audio, #26 V21 factory sounds) OP_VERSION_NUM 42. docs/WHATS-NEW-v42.md (with #24's text for the release notes), README, NOTICE (contributors: Vince Speelman for #23-#25, Ivan Shevchuk for #26). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LFaxqW3CpFrLCvqoteTUv9
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.
The pedal's controls and screens are reworked after a design review of the v40 interface (findings F4 to F19; F1 to F3 are already in v41, from the screen quick wins in commit
1226e4a). The sound path is unchanged: no file underengine/changes. It is based on v41 (69561af) and does not depend on any other pull request.What changes on the pedal
EDITED.MODEL 6/14). The stored 0 to 100 value is kept, so presets do not change.DSP 42%, amber above 80 %, red when a block ran late. The tuner page shows the tuner only, with an arrow toward in tune.PUSH: RESTOREand does nothing on a factory sound, SYN's page is SYNTH, USER IR's cuts showHZ, and the boot and failure screens lead with one plain sentence and keep the numbers below.OpenPocket v41) and links to the editor and the release notes, and the last stage chip no longer stays amber when done.docs/SOUNDS-AND-CONTROLS.md,docs/SIMULATOR.mdand the BLE and MIDI pages describe the new controls. The simulator's API gainspress/fx_longandpress/feetand the modesmidi,listanddiag(additive). There is no editor protocol change: block page item numbers are unchanged (F9 changes only the knob's order).On top of v41
CORE 2 OFFline on the MIDI page is kept as it is. The corner no longer showsC1,C0or2C(F11); which cores ran is on the first diagnostics page. The sentence indocs/WHATS-NEW-v41.mdaboutC1in the corner describes v41 and is left as it is.docs/WHATS-NEW-v40.md. A text for the next release's notes is at the end of this description.Before and after
Rendered by the simulated pedal (the firmware's own
ui.hcompiled natively), from v40 and from this work, with the same script. The boot and failure screens are drawn outsideui.hand were re-issued with the same calls and example values.New pages: diagnostics 1/2 and 2/2 (the knob turns the page), and the preset list.
The screenshots live in
docs/ui-overhaul/only so that this description can show them; the folder can be deleted after review.How it was verified
On this branch, rebased on v41:
node tools/op.mjs testpasses in the container. The screen test draws all 47 pages with nonever drawnregion, andtests/uisim.cdrives F4 to F17 throughui.h's own controls (ui_buttons,ui_turn,ui_action), and it draws v41'sCORE 2 OFFline on the MIDI page.tests/test_sim.mjsdrives the simulated pedal over HTTP: both footswitches, the kept edit, the preset list, the diagnostics, one model a detent..claude/skills/verify/scripts/pages.sh), andnode tools/op.mjs packagebuilds.The work was first reviewed in the fork (VinSpee/openpocket pull request 22). There, an image of it on v40 was flashed to a BlackBox: presets 1, 2, 10, 19 and 24 read the same DSP load and peak as before, with no late blocks, clipping or bypass. This rebased branch was not flashed.
Not checked on the real pedal
Known limits
node tools/op.mjs ble) does not link. v41 itself is 1,200 bytes over its XIP region; with this change it is 7,160 bytes over. The release image is not affected.Text for the next release's notes