diff options
author | QMK Bot <hello@qmk.fm> | 2021-06-16 03:36:03 +0000 |
---|---|---|
committer | QMK Bot <hello@qmk.fm> | 2021-06-16 03:36:03 +0000 |
commit | d82e5055dd95f60a3d593dbc80a06b2c34f875d8 (patch) | |
tree | d7512086279632590382566f48feac8e55ef0086 | |
parent | 3be3cdafa25676ead732711e7548598ba88ed1b6 (diff) | |
parent | c00a9937f2ed322ab4dc8927975eae34a965e145 (diff) |
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r-- | docs/one_shot_keys.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/one_shot_keys.md b/docs/one_shot_keys.md index 9fc5486299..f1f93199c2 100644 --- a/docs/one_shot_keys.md +++ b/docs/one_shot_keys.md @@ -23,7 +23,7 @@ You can control the behavior of one shot keys by defining these in `config.h`: Sometimes, you want to activate a one-shot key as part of a macro or tap dance routine. -For one shot layers, you need to call `set_oneshot_layer(LAYER, ONESHOT_START)` on key down, and `clear_oneshot_layer_state(ONESHOT_OTHER_KEY_PRESSED)` on key up. If you want to cancel the oneshot, call `reset_oneshot_layer()`. +For one shot layers, you need to call `set_oneshot_layer(LAYER, ONESHOT_START)` on key down, and `clear_oneshot_layer_state(ONESHOT_PRESSED)` on key up. If you want to cancel the oneshot, call `reset_oneshot_layer()`. For one shot mods, you need to call `set_oneshot_mods(MOD_BIT(KC_*))` to set it, or `clear_oneshot_mods()` to cancel it. |