diff --git a/README.md b/README.md index ce8af7442..39e21a0f9 100644 --- a/README.md +++ b/README.md @@ -115,6 +115,13 @@ Regular secondary role: (Activates the secondary role immediately and if no othe $ifInterrupted break +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