Commit graph

2 commits

Author SHA256 Message Date
e0d1bfdefb Rolls, metrics of other analyzers, and search from saved layouts
- Pair metrics of other analyzers (oxeylyzer, genkey, the Keyboard
  Layouts Doc): same-finger distance, lateral stretches, scissors and
  half scissors.
- Rolls: each window of three presses gets a class: a roll of two or
  three, inward or outward, a roll with the ring finger above the middle
  finger, alternation, a redirect or a bad redirect. A space ends a
  window and is on neither hand, so a word's first and last two presses
  also make a window. The search scores the word edges too.
- All the new numbers are 0 by default: the scores do not change. The
  report, the Layout tab and word.bjo show the shares of each class.
- optimize.bjo can start from a saved layout.
- The GUI test sets the window size before showing it, so the first
  screenshot is not narrow. New screenshots.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 22:47:34 +01:00
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