X-Git-Url: https://git.friedersdorff.com/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fkeymap.md;h=ca48c6e5a83e2e90338775bb0a191f76864457c6;hb=9a3edb897ab8549bae089645c0d7f27df8fa15b7;hp=a20ac18a24a5f06d9a8dc26816b215c3146e94ce;hpb=1aa067e5414873559f59e310f38bb43e8803a45f;p=max%2Ftmk_keyboard.git diff --git a/doc/keymap.md b/doc/keymap.md index a20ac18a..ca48c6e5 100644 --- a/doc/keymap.md +++ b/doc/keymap.md @@ -20,7 +20,8 @@ respective layers can be validated simultaneously. Layers are indexed with 0 to 2 /___________// | 2 `-------------------------- 1 /___________// | 1 `-------------------------- 0 /___________/ V low 0 `-------------------------- - + + ### 0.1 Keymap status Keymap has its state in two parameters: @@ -43,7 +44,6 @@ To change `default_layer` will be useful when you want to switch key layout comp | | `--- default_layer = 0 `--- default_layer = 1 keymap_stat = 0x0001 keymap_stat = 0x0002 - On the other hand, you shall change `keymap_state` to overlay base layer with some layers for feature such as navigation keys, function key(F1-F12), media keys or special actions. @@ -62,7 +62,8 @@ On the other hand, you shall change `keymap_state` to overlay base layer with so `--- default_layer = 1 | keymap_stat = 0x6002 <-----' - + + ### 0.2 Layer Precedence and Transparency Note that ***higher layer has higher priority on stack of layers***, namely firmware falls down from top layer to bottom to look up keycode. Once it spots keycode other than **`KC_TRNS`**(transparent) on a layer it stops searching and lower layers aren't referred.