summaryrefslogtreecommitdiff
path: root/docs/squeezing_avr.md
diff options
context:
space:
mode:
authorフィルターペーパー <76888457+filterpaper@users.noreply.github.com>2023-08-23 12:52:52 +0800
committerGitHub <noreply@github.com>2023-08-22 21:52:52 -0700
commitc2b837514bd23444dcd08cb5b60d2aa78944b88a (patch)
tree2b9c0bca6594c49d32047be8ac984a050980f7bf /docs/squeezing_avr.md
parent3f192722b1629e4a4b6fe171d7efc21c3a0d3187 (diff)
[Doc] Improve magic keycode section (#21787)
Diffstat (limited to 'docs/squeezing_avr.md')
-rw-r--r--docs/squeezing_avr.md5
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/squeezing_avr.md b/docs/squeezing_avr.md
index 241b3e7826..b437901bdb 100644
--- a/docs/squeezing_avr.md
+++ b/docs/squeezing_avr.md
@@ -27,8 +27,7 @@ SPACE_CADET_ENABLE = no
GRAVE_ESC_ENABLE = no
MAGIC_ENABLE = no
```
-These features are enabled by default, but may not be needed. Double check to make sure, though.
-Largest in size is "magic" -- the QMK magic keycodes -- which control things like NKRO toggling, GUI and ALT/CTRL swapping, etc. Disabling it will disable those functions.
+These features are enabled by default, but they may not be needed. Double check to make sure. The [Magic Keycodes](keycodes_magic.md) are the largest and control things like NKRO toggling, GUI and ALT/CTRL swapping, etc. Disabling them will disable those functions. See [Magic Functions](#magic-functions) for disabling related functions.
If you use `sprintf` or `snprintf` functions you can save around ~400 Bytes by enabling this option.
```make
@@ -88,7 +87,7 @@ Or if you're not using layers at all, you can outright remove the functionality
#define NO_ACTION_LAYER
```
-## Magic keycodes
+## Magic Functions
There are two `__attribute__ ((weak))` placeholder functions available to customize magic keycodes. If you are not using that feature to swap keycodes, such as backslash with backspace, add the following to your `keymap.c` or user space code:
```c