aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPete Johanson <[email protected]>2021-12-01 16:50:50 -0500
committerGitHub <[email protected]>2021-12-01 16:50:50 -0500
commit0c48bc87c858b116a1e5700d2258e6bc123bfd5c (patch)
treec9daef479302ea83101f817aecb8ae3d5cb46715
parentb8774103798fb24b07b8987ccb89ef9b2cb892d4 (diff)
downloadzmk-0c48bc87c858b116a1e5700d2258e6bc123bfd5c.tar.gz
zmk-0c48bc87c858b116a1e5700d2258e6bc123bfd5c.zip
fix(docs): Make the modifier function examples clearer.docs/codes-modifier-function-examples-fixes
* Ensure the list of available modifier functions is clearly shown as macros, not as basic defines.
-rw-r--r--docs/docs/codes/modifiers.mdx2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/docs/codes/modifiers.mdx b/docs/docs/codes/modifiers.mdx
index c573a6702a..483e34af02 100644
--- a/docs/docs/codes/modifiers.mdx
+++ b/docs/docs/codes/modifiers.mdx
@@ -41,6 +41,6 @@ These functions take the form: `XX(code)`
- Some basic codes already include a modifier function in their definition:
- `DOLLAR` = `LS(NUMBER_4)`
- There are left- and right-handed versions of each modifier (also see table above):
- - `LS`, `LC`, `LA`, `LG`, `RS`, `RC`, `RA`, `RG`
+ - `LS(x)`, `LC(x)`, `LA(x)`, `LG(x)`, `RS(x)`, `RC(x)`, `RA(x)`, `RG(x)`
- Modified keys can safely be rolled-over. Modifier functions are released when another key is pressed.
- Press `&kp LS(A)`, then press `&kp B`, release `&kp LS(A)` and release `&kp B` results in **Ab**. Only the A is capitalized.