diff options
author | fauxpark <fauxpark@gmail.com> | 2017-12-09 16:49:07 +1100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-09 10:46:11 -0500 |
commit | af37bb2f78c39c224c995eb57c757c63034a3d9c (patch) | |
tree | 9ad591cb895d1ac13cce6145d11738569dff0a93 /docs/feature_userspace.md | |
parent | 4c675a83ba1d3561bfd6baad57a250066f5db4d3 (diff) | |
download | qmk_firmware-af37bb2f78c39c224c995eb57c757c63034a3d9c.tar.gz qmk_firmware-af37bb2f78c39c224c995eb57c757c63034a3d9c.zip |
Fix some of the more obvious typos
Diffstat (limited to 'docs/feature_userspace.md')
-rw-r--r-- | docs/feature_userspace.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_userspace.md b/docs/feature_userspace.md index 803ab5c824..9d7737fe1d 100644 --- a/docs/feature_userspace.md +++ b/docs/feature_userspace.md @@ -34,9 +34,9 @@ For a brief example, checkout `/users/_example/` , or for a more detailed exampl ### Consolidated Macros -If you wanted to consoludate macros and other functions into your userspace for all of your keymaps, you can do that. The issue is that you then cannot call any function defined in your userspace, or it gets complicated. To better handle this, you can call the functions here and create new functions to use in individual keymaps. +If you wanted to consolidate macros and other functions into your userspace for all of your keymaps, you can do that. The issue is that you then cannot call any function defined in your userspace, or it gets complicated. To better handle this, you can call the functions here and create new functions to use in individual keymaps. -First, you'd want to go through all of your `keymap.c` files and replace `process_record_user` with `process_record_keymap` instead. This way, you can still use keyboard specific codes on those boards, and use your custom "global" keycodes as well. You'll also want to replace `SAFE_RANGE` with `NEW_SAFE_RANGE` so that you wont have any overlappind keycodes +First, you'd want to go through all of your `keymap.c` files and replace `process_record_user` with `process_record_keymap` instead. This way, you can still use keyboard specific codes on those boards, and use your custom "global" keycodes as well. You'll also want to replace `SAFE_RANGE` with `NEW_SAFE_RANGE` so that you wont have any overlapping keycodes Then add `#include <name.h>` to all of your keymap.c files. This allows you to use these new keycodes without having to redefine them in each keymap. |