diff options
author | Drashna Jaelre <drashna@live.com> | 2021-03-01 08:57:02 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-01 08:57:02 -0800 |
commit | 0e984b6e7e216a62df0b5d53f6a8f0d4bc13dca3 (patch) | |
tree | 1e85b1d15a9ea6ad86fcb6ae8d084f926dd11ab8 /docs/one_shot_keys.md | |
parent | 86f6f682744b81bba1003e555f902af78dcdaad4 (diff) | |
download | qmk_firmware-0e984b6e7e216a62df0b5d53f6a8f0d4bc13dca3.tar.gz qmk_firmware-0e984b6e7e216a62df0b5d53f6a8f0d4bc13dca3.zip |
Add ability to toggle One Shot functionality (#4198)
Co-authored-by: Nick Brassel <nick@tzarc.org>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'docs/one_shot_keys.md')
-rw-r--r-- | docs/one_shot_keys.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/one_shot_keys.md b/docs/one_shot_keys.md index 9a082d7d6..9fc548629 100644 --- a/docs/one_shot_keys.md +++ b/docs/one_shot_keys.md | |||
@@ -17,6 +17,9 @@ You can control the behavior of one shot keys by defining these in `config.h`: | |||
17 | 17 | ||
18 | * `OSM(mod)` - Momentarily hold down *mod*. You must use the `MOD_*` keycodes as shown in [Mod Tap](mod_tap.md), not the `KC_*` codes. | 18 | * `OSM(mod)` - Momentarily hold down *mod*. You must use the `MOD_*` keycodes as shown in [Mod Tap](mod_tap.md), not the `KC_*` codes. |
19 | * `OSL(layer)` - momentary switch to *layer*. | 19 | * `OSL(layer)` - momentary switch to *layer*. |
20 | * `OS_ON` - Turns on One Shot keys. | ||
21 | * `OS_OFF` - Turns off One Shot keys. OSM act as regular mod keys, OSL act like `MO`. | ||
22 | * `ON_TOGG` - Toggles the one shot key status. | ||
20 | 23 | ||
21 | Sometimes, you want to activate a one-shot key as part of a macro or tap dance routine. | 24 | Sometimes, you want to activate a one-shot key as part of a macro or tap dance routine. |
22 | 25 | ||