aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/feature_stenography.md4
-rw-r--r--docs/ja/feature_stenography.md4
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/feature_stenography.md b/docs/feature_stenography.md
index a7c3f3d9e..691d83f97 100644
--- a/docs/feature_stenography.md
+++ b/docs/feature_stenography.md
@@ -40,8 +40,8 @@ MOUSEKEY_ENABLE = no
40In your keymap create a new layer for Plover. You will need to include `keymap_steno.h`. See `planck/keymaps/steno/keymap.c` for an example. Remember to create a key to switch to the layer as well as a key for exiting the layer. If you would like to switch modes on the fly you can use the keycodes `QK_STENO_BOLT` and `QK_STENO_GEMINI`. If you only want to use one of the protocols you may set it up in your initialization function: 40In your keymap create a new layer for Plover. You will need to include `keymap_steno.h`. See `planck/keymaps/steno/keymap.c` for an example. Remember to create a key to switch to the layer as well as a key for exiting the layer. If you would like to switch modes on the fly you can use the keycodes `QK_STENO_BOLT` and `QK_STENO_GEMINI`. If you only want to use one of the protocols you may set it up in your initialization function:
41 41
42```c 42```c
43void matrix_init_user() { 43void eeconfig_init_user() {
44 steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT 44 steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT
45} 45}
46``` 46```
47 47
diff --git a/docs/ja/feature_stenography.md b/docs/ja/feature_stenography.md
index 46698bdb3..f8f7df11e 100644
--- a/docs/ja/feature_stenography.md
+++ b/docs/ja/feature_stenography.md
@@ -45,8 +45,8 @@ MOUSEKEY_ENABLE = no
45キーマップで Plover 用の新しいレイヤーを作成します。`keymap_steno.h` をインクルードする必要があります。例については `planck/keymaps/steno/keymap.c` を見てください。レイヤーに切り替えるためのキーとレイヤーから抜けるためのキーを作成することを忘れないでください。その場でモードを切り替えたい場合は、キーコード `QK_STENO_BOLT` および `QK_STENO_GEMINI` を使うことができます。プロトコルのうちの1つのみを使う場合は、初期化関数の中でそれをセットアップすることができます: 45キーマップで Plover 用の新しいレイヤーを作成します。`keymap_steno.h` をインクルードする必要があります。例については `planck/keymaps/steno/keymap.c` を見てください。レイヤーに切り替えるためのキーとレイヤーから抜けるためのキーを作成することを忘れないでください。その場でモードを切り替えたい場合は、キーコード `QK_STENO_BOLT` および `QK_STENO_GEMINI` を使うことができます。プロトコルのうちの1つのみを使う場合は、初期化関数の中でそれをセットアップすることができます:
46 46
47```c 47```c
48void matrix_init_user() { 48void eeconfig_init_user() {
49 steno_set_mode(STENO_MODE_GEMINI); // あるいは STENO_MODE_BOLT 49 steno_set_mode(STENO_MODE_GEMINI); // あるいは STENO_MODE_BOLT
50} 50}
51``` 51```
52 52