From 3c95b4cf7e8b3f890fc5a1cd69f91efa4f68308a Mon Sep 17 00:00:00 2001 From: Frederick Price Date: Thu, 8 Jun 2023 15:02:42 -0400 Subject: [PATCH 1/3] Update documentation on how to enable capslock I find that as I type, I tend to get Capslock turning on when I don't want it to. By putting a delay in, this problem is fixed. --- docs/keyd.scdoc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/keyd.scdoc b/docs/keyd.scdoc index 553f370..1e7c995 100644 --- a/docs/keyd.scdoc +++ b/docs/keyd.scdoc @@ -932,12 +932,13 @@ _will thus produce A-tab instead of M-\\_. ## Example 6 ``` - # Tapping both shift keys will activate capslock. + # Holding both shift keys will activate capslock. [shift] - leftshift = capslock - rightshift = capslock + # Without a delay, you may have capslock turn on as you type + leftshift = timeout(leftshift, 1000, capslock) + rightshift = timeout(rightshift, 1000, capslock) ``` ## Example 7 From 81ee60440d9de1d60f777c6fd75dd797227b2960 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 7 Dec 2024 18:45:01 -0500 Subject: [PATCH 2/3] Whitespace fixes --- docs/keyd.scdoc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/keyd.scdoc b/docs/keyd.scdoc index 1e7c995..aa57413 100644 --- a/docs/keyd.scdoc +++ b/docs/keyd.scdoc @@ -936,9 +936,9 @@ _will thus produce A-tab instead of M-\\_. [shift] - # Without a delay, you may have capslock turn on as you type - leftshift = timeout(leftshift, 1000, capslock) - rightshift = timeout(rightshift, 1000, capslock) + # Without a delay, you may have capslock turn on as you type + leftshift = timeout(leftshift, 1000, capslock) + rightshift = timeout(rightshift, 1000, capslock) ``` ## Example 7 From 913d4568b8975f2d4da5d4922e050f2b6de5a3b7 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Sat, 7 Dec 2024 18:47:03 -0500 Subject: [PATCH 3/3] Refine wording of capslock toggle with both shifts --- docs/keyd.scdoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/keyd.scdoc b/docs/keyd.scdoc index aa57413..363b8c3 100644 --- a/docs/keyd.scdoc +++ b/docs/keyd.scdoc @@ -932,11 +932,11 @@ _will thus produce A-tab instead of M-\\_. ## Example 6 ``` - # Holding both shift keys will activate capslock. + # Briefly holding down both shift keys will toggle capslock. [shift] - # Without a delay, you may have capslock turn on as you type + # Without a delay, you might accidentally toggle capslock as you type. leftshift = timeout(leftshift, 1000, capslock) rightshift = timeout(rightshift, 1000, capslock) ```