Skip to content

Generates fancy layout comments from qmk keymap.c

License

Notifications You must be signed in to change notification settings

nbergen/qmk-comment-gen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qmk-comment-gen

Generates fancy layout comments for qmk keymaps

Requirements

  • Python 3.6+
  • Keymap starts on a new line. Example:
[_HOME] = LAYOUT(

KC_NO, etc...

How to use

  • run gen.py
  • open comment.txt

What's new?

  • added support for multiple layers
  • Better boxes
  • Clipboard support

Example

# Generate comments for the default planck keymap
python3 gen.py -i ../qmk_firmware/keyboards/planck/keymaps/default/
# Change the output file to planck.txt
python3 gen.py -i ../qmk_firmware/keyboards/planck/keymaps/default/ -o planck.txt

About

Generates fancy layout comments from qmk keymap.c

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%