diff options
author | tmk <nobody@nowhere> | 2013-10-07 23:28:17 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-10-07 23:28:17 +0900 |
commit | 35f9f30074263a2a738cbfc513fca6d812ddf6ff (patch) | |
tree | bec1e4e96a58eb14feef42b8b1f2057d07ff476a /doc | |
parent | d52d554360d3bf06189bfd4f386fa99348d8a0a8 (diff) |
Add timeout option to MODS_ONESHOT #66
Diffstat (limited to 'doc')
-rw-r--r-- | doc/keymap.md | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/keymap.md b/doc/keymap.md index c509651be6..11e80a9c31 100644 --- a/doc/keymap.md +++ b/doc/keymap.md @@ -516,13 +516,14 @@ This is a feature to assign both toggle layer and momentary switch layer action ACTION_LAYER_TAP_TOGGLE(1) -### 4.3 One Shot Modifier -This adds oneshot feature to modifier key. 'One Shot Modifier' is one time modifier which has effect only on following just one key. -It works as normal modifier key when holding but oneshot modifier when tapping. +### 4.3 Oneshot Modifier +This runs onetime effect swhich modify only on just one following key. It works as normal modifier key when holding down while oneshot modifier when tapping. ACTION_MODS_ONESHOT(MOD_LSFT) -Say you want to type 'The', you have to push and hold Shift before type 't' then release Shift before type 'h' and 'e' or you'll get 'THe'. With One Shot Modifier you can tap Shift then type 't', 'h' and 'e' normally, you don't need to holding Shift key properly here. +Say you want to type 'The', you have to push and hold Shift key before type 't' then release it before type 'h' and 'e', otherwise you'll get 'THe' or 'the' unintentionally. With Oneshot Modifier you can tap Shift then type 't', 'h' and 'e' normally, you don't need to holding Shift key properly here. This mean you can realease Shift before 't' is pressed down. + +Oneshot effect is cancel unless following key is pressed down within `ONESHOT_TIMEOUT` of `config.h`. No timeout when it is `0` or not defined. |