1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/signum/3_0/elitec/keymaps/default
Jan Christoph Ebersbach 074be4fe5e [Keyboard] Signum3.0 generate json keymap (#5688)
* Remove dependency on sortedcontainers

* Sort dictionary on output

* Externalize writing of keymap.c into function

- serialize layers into one flat list

* Add encoding

* Generate JSON keymap in addition to keymap.c

* Replace XXXXXX with KC_NO
2019-04-30 21:53:29 -07:00
..
generate_km.py [Keyboard] Signum3.0 generate json keymap (#5688) 2019-04-30 21:53:29 -07:00
keymap.c [Keyboard] Signum3.0 generate json keymap (#5688) 2019-04-30 21:53:29 -07:00
km_template.txt [Keyboard] Add Signum 3.0 for the elite-c (#5478) 2019-04-07 19:20:09 -07:00
layout.py [Keyboard] Signum3.0 generate json keymap (#5688) 2019-04-30 21:53:29 -07:00
readme.md [Keyboard] Signum3.0 generate json keymap (#5688) 2019-04-30 21:53:29 -07:00
rules.mk [Keyboard] Layout and configuration updates for Signum 3.0 (#5652) 2019-04-19 23:37:19 -07:00

Default layout

Layout created by: Jan Christoph Ebersbach

The generate_km.py file automatically generates keymap.c with additional comments that visually represent the layout.

This layout is maintained as I am using it. You can also use it as a starting point to create your own layouts for the Signum 3.0 with km_template.txt and generate_km.py.

Customization

  • Customize layout.py to your liking.
    • Attention 1: keycodes are either translated into symbols and function calls via the translate() function in generate_km.py or via user-defined mappings in the dictionary qmk_dict in layout.py. Especially the latter might require adjustment for uncommon qmk features
    • Attention 2: additional C functions need to be put into km_template.txt

Run ./generate_km.py to regenerate keymap.c and the JSON keymap definition that should be copied to qmk_configurator/public/keymaps.