aboutsummaryrefslogtreecommitdiff
path: root/docs/faq_keymap.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/faq_keymap.md')
-rw-r--r--docs/faq_keymap.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/faq_keymap.md b/docs/faq_keymap.md
index a54a76521..f0410fcb4 100644
--- a/docs/faq_keymap.md
+++ b/docs/faq_keymap.md
@@ -33,7 +33,7 @@ Use `KC_PWR` instead of `KC_POWER` or vice versa.
33More info: http://geekhack.org/index.php?topic=14290.msg1327264#msg1327264 33More info: http://geekhack.org/index.php?topic=14290.msg1327264#msg1327264
34 34
35## One Shot Modifier 35## One Shot Modifier
36Solves my personal 'the' problem. I often got 'the' or 'THe' wrongly instead of 'The'. Oneshot Shift mitgates this for me. 36Solves my personal 'the' problem. I often got 'the' or 'THe' wrongly instead of 'The'. One Shot Shift mitigates this for me.
37https://github.com/tmk/tmk_keyboard/issues/67 37https://github.com/tmk/tmk_keyboard/issues/67
38 38
39## Modifier/Layer Stuck 39## Modifier/Layer Stuck
@@ -120,7 +120,7 @@ https://pqrs.org/osx/karabiner/seil.html
120Karabiner - Keymapping tool on Mac OSX - ignores inputs from RN-42 module by default. You have to enable this option to make Karabiner working with your keyboard. 120Karabiner - Keymapping tool on Mac OSX - ignores inputs from RN-42 module by default. You have to enable this option to make Karabiner working with your keyboard.
121https://github.com/tekezo/Karabiner/issues/403#issuecomment-102559237 121https://github.com/tekezo/Karabiner/issues/403#issuecomment-102559237
122 122
123See these for the deail of this problem. 123See these for the detail of this problem.
124https://github.com/tmk/tmk_keyboard/issues/213 124https://github.com/tmk/tmk_keyboard/issues/213
125https://github.com/tekezo/Karabiner/issues/403 125https://github.com/tekezo/Karabiner/issues/403
126 126
@@ -130,7 +130,7 @@ https://github.com/tekezo/Karabiner/issues/403
130See the [Grave Escape](feature_grave_escape.md) feature. 130See the [Grave Escape](feature_grave_escape.md) feature.
131 131
132## Arrow on Right Modifier Keys with Dual-Role 132## Arrow on Right Modifier Keys with Dual-Role
133This turns right modifer keys into arrow keys when the keys are tapped while still modifiers when the keys are hold. In TMK the dual-role function is dubbed **TAP**. 133This turns right modifier keys into arrow keys when the keys are tapped while still modifiers when the keys are hold. In TMK the dual-role function is dubbed **TAP**.
134``` 134```
135 135
136#include "keymap_common.h" 136#include "keymap_common.h"
@@ -185,14 +185,14 @@ Not sure what keycode Eject is on genuine Apple keyboard actually. HHKB uses `F2
185___TO BE IMPROVED___ 185___TO BE IMPROVED___
186 186
187real_mods is intended to retains state of real/physical modifier key state, while 187real_mods is intended to retains state of real/physical modifier key state, while
188weak_mods retains state of virtual or temprary modifiers which should not affect state real modifier key. 188weak_mods retains state of virtual or temporary modifiers which should not affect state real modifier key.
189 189
190Let's say you hold down physical left shift key and type ACTION_MODS_KEY(LSHIFT, KC_A), 190Let's say you hold down physical left shift key and type ACTION_MODS_KEY(LSHIFT, KC_A),
191 191
192with weak_mods, 192with weak_mods,
193* (1) hold down left shift: real_mods |= MOD_BIT(LSHIFT) 193* (1) hold down left shift: real_mods |= MOD_BIT(LSHIFT)
194* (2) press ACTION_MODS_KEY(LSHIFT, KC_A): weak_mods |= MOD_BIT(LSHIFT) 194* (2) press ACTION_MODS_KEY(LSHIFT, KC_A): weak_mods |= MOD_BIT(LSHIFT)
195* (3) release ACTION_MODS_KEY(LSHIFT, KC_A): waek_mods &= ~MOD_BIT(LSHIFT) 195* (3) release ACTION_MODS_KEY(LSHIFT, KC_A): weak_mods &= ~MOD_BIT(LSHIFT)
196real_mods still keeps modifier state. 196real_mods still keeps modifier state.
197 197
198without weak mods, 198without weak mods,