Skip to content

Latest commit

 

History

History

README.md

Example keyboard layouts

A few ready-to-open .keylayout files so you have something to start from. They are Keymano's own phonetic Cyrillic layouts — generated by crates/keylayout-core/examples/gen_examples.rs and emitted through Keymano's own serializer, so they're entirely ours.

Each maps a Latin (QWERTY) key to the sound-alike letter of the target alphabet (a → а, b → б, v → в, …). They are complete enough to actually use:

  • base + Shift — the sound-alike letters, plus all the usual punctuation (`[ ] ; ' \ / `` digits, …) — nothing is lost to make room for letters,
  • Option / Shift+Option — the remaining letters that have no Latin sound-alike (e.g. ч щ э ю / ґ є ї / ђ љ њ ћ), so the full alphabet is reachable without overwriting punctuation,
  • Caps Lock — upper-case letters,
  • Command (⌘) — stays Latin, so ⌘C / ⌘V / ⌘Z and friends work normally.

crates/keylayout-core/tests/examples.rs parses, validates, checks full-alphabet coverage and punctuation preservation, asserts the Caps and Command keymaps behave, and round-trips each file — in CI. They also import through the browser open path (src/lib/examples.web.test.ts).

File Language Script
Ukrainian (Phonetic).keylayout Ukrainian Cyrillic
Bulgarian (Phonetic).keylayout Bulgarian Cyrillic
Serbian (Phonetic).keylayout Serbian Cyrillic
Macedonian (Phonetic).keylayout Macedonian Cyrillic

These are phonetic layouts (a Keymano design for easy typing from a US keyboard), not the national ЙЦУКЕН/standard defaults. Open one with File → Open… (or drag it onto the window) to try or customise it.

Regenerating

cargo run -p keylayout-core --example gen_examples

Edit the letter tables in gen_examples.rs and re-run to change them.