feat(q5_max): expand chord table and add cheatsheet generator #25

Merged
rootiest merged 1 commits from feat/q5-chord-expansion-cheatsheet into main 2026-09-23 20:40:48 +00:00
Owner

Summary

  • Add ~85 new chords to chord_unicode.c: Celsius/Fahrenheit signs, emoji faces, gesture emoji, symbols, nature, and food/object emoji (including a few slang aliases).
  • Widen the chord index/count types uint8_t -> uint16_t. Table is now 241 entries, was nearing the 255-entry cap that type allowed.
  • Add gen_cheatsheet.py + cheatsheet.template.html, which render cheatsheet.html from chord_unicode.c so the reference doc stays in sync with the table instead of drifting.
  • Update .gitignore (agents-init boilerplate: ignores /CLAUDE.md, /AGENTS.md, AGENTS/, __pycache__, editor/OS junk) and drop the now-ignored root CLAUDE.md.

Manual Verification Checklist

  • qmk compile -kb keychron/q5_max/ansi_encoder -km via builds clean
  • Flash and confirm new chords (e.g. cels, fahr, love, rnbw) type the expected characters
  • Confirm previously-working chords still fire correctly (no collisions from new entries)
  • Run python3 gen_cheatsheet.py in the keymap dir and confirm cheatsheet.html regenerates without diff
  • Open cheatsheet.html in a browser and spot-check formatting/rendering
## Summary - Add ~85 new chords to `chord_unicode.c`: Celsius/Fahrenheit signs, emoji faces, gesture emoji, symbols, nature, and food/object emoji (including a few slang aliases). - Widen the chord index/count types `uint8_t` -> `uint16_t`. Table is now 241 entries, was nearing the 255-entry cap that type allowed. - Add `gen_cheatsheet.py` + `cheatsheet.template.html`, which render `cheatsheet.html` from `chord_unicode.c` so the reference doc stays in sync with the table instead of drifting. - Update `.gitignore` (agents-init boilerplate: ignores `/CLAUDE.md`, `/AGENTS.md`, `AGENTS/`, `__pycache__`, editor/OS junk) and drop the now-ignored root `CLAUDE.md`. ## Manual Verification Checklist - [x] `qmk compile -kb keychron/q5_max/ansi_encoder -km via` builds clean - [x] Flash and confirm new chords (e.g. `cels`, `fahr`, `love`, `rnbw`) type the expected characters - [x] Confirm previously-working chords still fire correctly (no collisions from new entries) - [x] Run `python3 gen_cheatsheet.py` in the keymap dir and confirm `cheatsheet.html` regenerates without diff - [x] Open `cheatsheet.html` in a browser and spot-check formatting/rendering
rootiest added 1 commit 2026-09-23 19:43:39 +00:00
- Add ~85 new chords: Celsius/Fahrenheit signs, emoji faces, gesture
  emoji, symbols, nature, food/object emoji (incl. slang aliases)
- Widen chord index/count types uint8_t -> uint16_t (table now 241
  entries, was nearing the 255 cap)
- Add gen_cheatsheet.py + cheatsheet.template.html: generates
  cheatsheet.html from chord_unicode.c so the reference stays in sync
  with the table
- Ignore /CLAUDE.md, /AGENTS.md, AGENTS/, __pycache__, and other
  agents-init/editor/OS junk in .gitignore
rootiest merged commit e8d01d1db6 into main 2026-09-23 20:40:48 +00:00
rootiest deleted branch feat/q5-chord-expansion-cheatsheet 2026-09-23 20:40:51 +00:00
Sign in to join this conversation.