aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authortmk <nobody@nowhere>2013-03-05 14:57:24 +0900
committertmk <nobody@nowhere>2013-03-05 14:57:50 +0900
commit633d9aa53e3fc2b9fa9f01475cba9c151ab31d9a (patch)
treeb23e8d3b715179f1381546f7735c2f0d4fdcbad4 /doc
parent1aa067e5414873559f59e310f38bb43e8803a45f (diff)
downloadqmk_firmware-633d9aa53e3fc2b9fa9f01475cba9c151ab31d9a.tar.gz
qmk_firmware-633d9aa53e3fc2b9fa9f01475cba9c151ab31d9a.zip
Fix README.md and doc/keymap.md
Diffstat (limited to 'doc')
-rw-r--r--doc/keymap.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/keymap.md b/doc/keymap.md
index a20ac18a2..ca48c6e5a 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
20 2 /___________// | 2 `-------------------------- 20 2 /___________// | 2 `--------------------------
21 1 /___________// | 1 `-------------------------- 21 1 /___________// | 1 `--------------------------
22 0 /___________/ V low 0 `-------------------------- 22 0 /___________/ V low 0 `--------------------------
23 23
24
24 25
25### 0.1 Keymap status 26### 0.1 Keymap status
26Keymap has its state in two parameters: 27Keymap 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
43 | | 44 | |
44 `--- default_layer = 0 `--- default_layer = 1 45 `--- default_layer = 0 `--- default_layer = 1
45 keymap_stat = 0x0001 keymap_stat = 0x0002 46 keymap_stat = 0x0001 keymap_stat = 0x0002
46
47 47
48On 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. 48On 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.
49 49
@@ -62,7 +62,8 @@ On the other hand, you shall change `keymap_state` to overlay base layer with so
62 `--- default_layer = 1 | 62 `--- default_layer = 1 |
63 keymap_stat = 0x6002 <-----' 63 keymap_stat = 0x6002 <-----'
64 64
65 65
66
66### 0.2 Layer Precedence and Transparency 67### 0.2 Layer Precedence and Transparency
67Note 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. 68Note 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.
68 69