Skip to content

Commit a5ab692

Browse files
committed
Merge remote-tracking branch 'rickprice/master'
rvaiya/keyd#514
2 parents b2dbe52 + 6cacaef commit a5ab692

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/keyd.scdoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -932,12 +932,13 @@ _will thus produce A-tab instead of M-\\_.
932932
## Example 6
933933

934934
```
935-
# Tapping both shift keys will activate capslock.
935+
# Briefly holding down both shift keys will toggle capslock.
936936

937937
[shift]
938938

939-
leftshift = capslock
940-
rightshift = capslock
939+
# Without a delay, you might accidentally toggle capslock as you type.
940+
leftshift = timeout(leftshift, 1000, capslock)
941+
rightshift = timeout(rightshift, 1000, capslock)
941942
```
942943

943944
## Example 7

0 commit comments

Comments
 (0)