diff options
| author | skullY <skullydazed@gmail.com> | 2020-02-25 14:42:50 -0800 |
|---|---|---|
| committer | skullydazed <skullydazed@users.noreply.github.com> | 2020-03-05 16:00:10 -0800 |
| commit | 12e43230c6c239553d357e83ea5bc6b61521389d (patch) | |
| tree | eb902e056ac83b17045503a56442c9f2713c978f /docs/faq_keymap.md | |
| parent | 55c5b82638d66762bb41e611fec077663c468ae9 (diff) | |
| download | qmk_firmware-12e43230c6c239553d357e83ea5bc6b61521389d.tar.gz qmk_firmware-12e43230c6c239553d357e83ea5bc6b61521389d.zip | |
make custom_keycode_names.md a faq entry instead
Diffstat (limited to 'docs/faq_keymap.md')
| -rw-r--r-- | docs/faq_keymap.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/faq_keymap.md b/docs/faq_keymap.md index 2d00e8bef..d1d9b9196 100644 --- a/docs/faq_keymap.md +++ b/docs/faq_keymap.md | |||
| @@ -14,6 +14,17 @@ There are 3 standard keyboard layouts in use around the world- ANSI, ISO, and JI | |||
| 14 | <!-- Source for this image: http://www.keyboard-layout-editor.com/#/gists/bf431647d1001cff5eff20ae55621e9a --> | 14 | <!-- Source for this image: http://www.keyboard-layout-editor.com/#/gists/bf431647d1001cff5eff20ae55621e9a --> |
| 15 |  | 15 |  |
| 16 | 16 | ||
| 17 | ## How Can I Make Custom Names For Complex Keycodes? | ||
| 18 | |||
| 19 | Sometimes, for readability's sake, it's useful to define custom names for some keycodes. People often define custom names using `#define`. For example: | ||
| 20 | |||
| 21 | ```c | ||
| 22 | #define FN_CAPS LT(_FL, KC_CAPSLOCK) | ||
| 23 | #define ALT_TAB LALT(KC_TAB) | ||
| 24 | ``` | ||
| 25 | |||
| 26 | This will allow you to use `FN_CAPS` and `ALT_TAB` in your keymap, keeping it more readable. | ||
| 27 | |||
| 17 | ## Some Of My Keys Are Swapped Or Not Working | 28 | ## Some Of My Keys Are Swapped Or Not Working |
| 18 | 29 | ||
| 19 | QMK has two features, Bootmagic and Command, which allow you to change the behavior of your keyboard on the fly. This includes, but is not limited to, swapping Ctrl/Caps, disabling Gui, swapping Alt/Gui, swapping Backspace/Backslash, disabling all keys, and other behavioral modifications. | 30 | QMK has two features, Bootmagic and Command, which allow you to change the behavior of your keyboard on the fly. This includes, but is not limited to, swapping Ctrl/Caps, disabling Gui, swapping Alt/Gui, swapping Backspace/Backslash, disabling all keys, and other behavioral modifications. |
