1
0
Fork 0
forked from forks/qmk_firmware
qmk_firmware/keyboards/signum/3_0/keymaps/default
Ryan 5974d989fe
Normalise Unicode keycodes (#18898)
* `UC_MOD`/`UC_RMOD` -> `UC_NEXT`/`UC_PREV`

* `UNICODE_MODE_*` -> `QK_UNICODE_MODE_*`

* `UC_MAC` -> `UNICODE_MODE_MACOS`

* `UC_LNX` -> `UNICODE_MODE_LINUX`

* `UC_WIN` -> `UNICODE_MODE_WINDOWS`

* `UC_BSD` -> `UNICODE_MODE_BSD`

* `UC_WINC` -> `UNICODE_MODE_WINCOMPOSE`

* `UC_EMACS` -> `UNICODE_MODE_EMACS`

* `UC__COUNT` -> `UNICODE_MODE_COUNT`

* `UC_M_MA` -> `UC_MAC`

* `UC_M_LN` -> `UC_LINX`

* `UC_M_WI` -> `UC_WIN`

* `UC_M_BS` -> `UC_BSD`

* `UC_M_WC` -> `UC_WINC`

* `UC_M_EM` -> `UC_EMAC`

* Docs

* Update quantum/unicode/unicode.h
2022-10-31 21:15:12 +00:00
..
generate_km.py
keymap.c Normalise Space Cadet keycodes (#18864) 2022-10-27 11:19:16 +01:00
km_template.txt
layout.py Normalise Unicode keycodes (#18898) 2022-10-31 21:15:12 +00:00
readme.md
rules.mk

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.