From cedf1e6777b06fa4880b2c2d0be17ac3d1c97a1d Mon Sep 17 00:00:00 2001 From: zvecr Date: Mon, 24 Oct 2022 22:31:19 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20qmk/qmk?= =?UTF-8?q?=5Ffirmware@67fd4e6b7afe5515b67f153723f57beabbebe25e=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- feature_key_lock.md | 2 +- ja/feature_key_lock.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/feature_key_lock.md b/feature_key_lock.md index 76813942298..1b02c7c291f 100644 --- a/feature_key_lock.md +++ b/feature_key_lock.md @@ -16,7 +16,7 @@ First, enable Key Lock by setting `KEY_LOCK_ENABLE = yes` in your `rules.mk`. Th ## Caveats -Key Lock is only able to hold standard action keys and [One Shot modifier](one_shot_keys.md) keys (for example, if you have your Shift defined as `OSM(KC_LSFT)`). +Key Lock is only able to hold standard action keys and [One Shot modifier](one_shot_keys.md) keys (for example, if you have your Shift defined as `OSM(MOD_LSFT)`). This does not include any of the QMK special functions (except One Shot modifiers), or shifted versions of keys such as `KC_LPRN`. If it's in the [Basic Keycodes](keycodes_basic.md) list, it can be held. Switching layers will not cancel the Key Lock. The Key Lock can be cancelled by calling the `cancel_key_lock()` function. diff --git a/ja/feature_key_lock.md b/ja/feature_key_lock.md index b786fbb048b..22cd9fb8109 100644 --- a/ja/feature_key_lock.md +++ b/ja/feature_key_lock.md @@ -21,7 +21,7 @@ ## 注意事項 -キーロックは、標準アクションキーと[ワンショットモディファイア](ja/one_shot_keys.md)キー (例えば、Shift を `OSM(KC_LSFT)` と定義した場合)のみを押し続けることができます。 +キーロックは、標準アクションキーと[ワンショットモディファイア](ja/one_shot_keys.md)キー (例えば、Shift を `OSM(MOD_LSFT)` と定義した場合)のみを押し続けることができます。 これは、QMK の特殊機能(ワンショットモディファイアを除く)、または `KC_LPRN` のような shift を押されたキーのバージョンは含みません。[基本的なキーコード](ja/keycodes_basic.md)リストにある場合、押したままにすることができます。 レイヤーの切り替えは、キーロックを解除しません。