Skip to content

Commit

Permalink
Merge pull request #52 from jceb/patch-1
Browse files Browse the repository at this point in the history
docs: add example of space cadet shift feature
  • Loading branch information
kareltucek authored Oct 31, 2020
2 parents a766f95 + 1b8af79 commit 49f0672
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,13 @@ Regular secondary role: (Activates the secondary role immediately and if no othe
$ifInterrupted break
<regular action>

Regular secondary role with prevention of accidential key taps: (Activates the secondary role immediately, but activates the primary role only if the key has been pressed for at least a certain amount of time. This could be used to emulate the [Space Cadet Shift feature](https://beta.docs.qmk.fm/using-qmk/advanced-keycodes/feature_space_cadet).)

$holdKey leftShift
$ifInterrupted break
$ifPlaytime 200 break
$tapKey S-9

You can refer to layers of different keymaps via a set of `keymapLayer` commands. E.g.:

$holdKeymapLayer QWR base
Expand Down

0 comments on commit 49f0672

Please sign in to comment.