summaryrefslogtreecommitdiffstats
path: root/docs/feature_stenography.md
diff options
context:
space:
mode:
authorAlexis Jeandeau <alexis.jeandeau@gmail.com>2021-11-18 07:30:42 +0900
committerGitHub <noreply@github.com>2021-11-17 22:30:42 +0000
commitb5d24f9efb316351c73763eeac5fcc11b98e0ba1 (patch)
tree0be242530f67b5e4d3000b17283549c04fe264dc /docs/feature_stenography.md
parent10e896630ce9283b42b8cdbf44ccb81538dc9851 (diff)
Call steno_set_mode inside eeconfig_init_user in the doc (#15176)
Diffstat (limited to 'docs/feature_stenography.md')
-rw-r--r--docs/feature_stenography.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_stenography.md b/docs/feature_stenography.md
index 8d66034d4b..d5445b7f8d 100644
--- a/docs/feature_stenography.md
+++ b/docs/feature_stenography.md
@@ -40,8 +40,8 @@ MOUSEKEY_ENABLE = no
In 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:
```c
-void matrix_init_user() {
- steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT
+void eeconfig_init_user() {
+ steno_set_mode(STENO_MODE_GEMINI); // or STENO_MODE_BOLT
}
```