Skip to content

Improvement: expose TEMPO to the Octatrack device driver - #2355

Merged
repeat98 merged 3 commits into
repeat98:mainfrom
ilia-murzinov:improvement/device-tempo-key
Nov 28, 2026
Merged

repeat98 merged 3 commits into
repeat98:mainfrom
ilia-murzinov:improvement/device-tempo-key

Conversation

@ilia-murzinov

@ilia-murzinov ilia-murzinov commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Split from catalog PR #2344: SCOPE release could not carry a repo-wide device.mjs change.

  • What was wrong or hard: scripts/device.mjs KEYS had no TEMPO entry, so host-side device scripts could not press the tempo key. That blocks automating HOLD DOWN then TEMPO for SCOPE panel tests.
  • What this changes: Adds TEMPO: 0x18 to KEYS (same encoding as the other front-panel keys in that table).
  • How I checked it: npm run pr:ready; CI module-contract on the PR. No new runtime on the unit beyond sending an existing bench key code.
  • Tested on a unit: Not tested on a unit: one-line driver map only; twin do keys TEMPO when the USB link is free (SCOPE catalog proof used by-hand TEMPO on hardware).
  • What the guides lacked or got wrong, and where you fixed it: Guides: nothing.

Test plan

  • node scripts/device.mjs do keys TEMPO --socket /tmp/modwerk-share.sock on a development twin with npm run device -- serve --share /tmp/modwerk-share.sock running (optional before merge).

@github-actions github-actions Bot added the enhancement New feature or request label Nov 28, 2026
@ilia-murzinov
ilia-murzinov marked this pull request as ready for review November 28, 2026 00:36

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this looks right: 0x18 is the TEMPO key, the same code the emulator's key map and the SCOPE draft use, and checks are green.

Two small things before it can merge:

  1. Changelog entry. Every fix or improvement ships with one in the same pull request: add a file changelog/2026-11-28-device-tempo-key.md with a line like "The device driver can now press TEMPO" (see the changelog rule in AGENTS.md). Then run npm run pr:ready and push.
  2. Test plan. The checkbox for do keys TEMPO is ticked, but the description says it hasn't run on a unit yet. Please untick it, or tick it once you've run it on your twin and say which base it was.

@ilia-murzinov

Copy link
Copy Markdown
Contributor Author

Thanks for the review.

I will add changelog/2026-11-28-device-tempo-key.md and run npm run pr:ready in a follow-up commit on this branch.

The Test plan checkbox for do keys TEMPO on the twin was ticked too early. I will untick it until that command has been run (or leave it open if merge can land on the driver-map change alone and twin proof comes with SCOPE hardware work).

Guides: nothing beyond what is already in the description.

Required for improvement PR; enables host scripts to send the front-panel
TEMPO key via device.mjs.
@repeat98
repeat98 merged commit 29245f7 into repeat98:main Nov 28, 2026
19 checks passed
@github-actions github-actions Bot mentioned this pull request Nov 28, 2026
6 tasks done
ilia-murzinov added a commit to ilia-murzinov/modwerk that referenced this pull request Nov 28, 2026
Point resources.cpuPrice at evidence/cpu-price-open.json (+1.1 % frame
with the window open). Restore scripts/device.mjs KEYS TEMPO line to match
main (repeat98#2355) so this PR does not revert the device tool change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants