Commit graph

2 commits

Author SHA256 Message Date
1da78595bd GUI: edit layouts, copy a layout, and start with saved files present
- The Layout tab edits the chosen layout: its three rows as text, or
  two keys swapped by clicking them on the board. Copy adds a copy to
  edit; built-in layouts cannot be edited.
- An edit that puts a character on two keys, or leaves a character of
  the texts on no key, is rejected and reported.
- The initial model is a function called from main. As a module-level
  value it read saved-layouts.txt, params.txt and presets/ where no
  scope is open, and the GUI did not start when one of them existed.
- The test covers the editor and runs with saved layouts present. It
  writes saved-layouts.txt back as it was.
- New screenshots, and a README section on editing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 12:03:16 +01:00
53a0002907 keyscore: a scorer, optimizer and GUI for keyboard layouts
Scores layouts for ISO Swedish with the angle mod on Swedish and
English text, by Michael Capewell's rules plus row motion, triples,
pinky load and finger distance.

- src/main.bjo: the report. src/optimize.bjo: simulated annealing.
- src/gui.bjo: a bjogui window for tuning the numbers, with help on
  every number, presets and saved layouts.
- corpus/: the texts, and fetch.py for the Wikipedia ones.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 11:14:39 +01:00