Skip to content

Make adding a layout a two-command task - #4

Merged
lukashes merged 2 commits into
mainfrom
feat/layout-tooling
Jul 17, 2026
Merged

Make adding a layout a two-command task#4
lukashes merged 2 commits into
mainfrom
feat/layout-tooling

Conversation

@lukashes

Copy link
Copy Markdown
Owner

The README used to say: run the dump tool, then turn its 5-column output into 2-column map pairs yourself. That manual step is gone.

  • dump_layout.py --map emits a ready layouts/*.map file: pairs both shift levels, drops identity pairs, writes the ## header; short layout names expand to com.apple.keylayout.<name>
  • make list-layouts + make layout LAYOUT=Ukrainian wrap it, with BASE=/OUT= overrides
  • tests/maptool.sh (part of make test, macOS only, self-skips elsewhere) regenerates the shipped ru-pc/ru-mac maps from live system layout data and diffs them against the committed files, so the tool and the maps now verify each other
  • the 5-column positional mode stays for eyeball verification against a physical keyboard

@lukashes
lukashes merged commit 7caa554 into main Jul 17, 2026
3 checks passed
@lukashes
lukashes deleted the feat/layout-tooling branch July 17, 2026 06:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant