From d263b27c9a998e31084d7960724b3c243311c4cf Mon Sep 17 00:00:00 2001 From: fauxpark Date: Mon, 6 Aug 2018 13:08:26 +1000 Subject: [PATCH] Dedupe shifted keycodes listing --- docs/_sidebar.md | 3 +-- docs/_summary.md | 3 +-- docs/feature_advanced_keycodes.md | 30 +----------------------------- docs/features.md | 2 +- docs/keycodes.md | 2 +- 5 files changed, 5 insertions(+), 35 deletions(-) diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 6c56bb2e51..69170d8bb1 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -68,11 +68,10 @@ * [One Shot Keys](feature_advanced_keycodes.md#one-shot-keys) * [RGB Light](feature_rgblight.md#rgblight-keycodes) * [RGB Matrix](feature_rgb_matrix.md#keycodes) - * [Shifted Keys](feature_advanced_keycodes.md#shifted-keycodes) + * [Shifted Keys](keycodes_us_ansi_shifted.md) * [Stenography](feature_stenography.md#keycode-reference) * [Swap Hands](feature_swap_hands.md#swap-keycodes) * [Thermal Printer](feature_thermal_printer.md#thermal-printer-keycodes) - * [US ANSI Shifted Keys](keycodes_us_ansi_shifted.md) * Reference * [Config Options](config_options.md) diff --git a/docs/_summary.md b/docs/_summary.md index 6c56bb2e51..69170d8bb1 100644 --- a/docs/_summary.md +++ b/docs/_summary.md @@ -68,11 +68,10 @@ * [One Shot Keys](feature_advanced_keycodes.md#one-shot-keys) * [RGB Light](feature_rgblight.md#rgblight-keycodes) * [RGB Matrix](feature_rgb_matrix.md#keycodes) - * [Shifted Keys](feature_advanced_keycodes.md#shifted-keycodes) + * [Shifted Keys](keycodes_us_ansi_shifted.md) * [Stenography](feature_stenography.md#keycode-reference) * [Swap Hands](feature_swap_hands.md#swap-keycodes) * [Thermal Printer](feature_thermal_printer.md#thermal-printer-keycodes) - * [US ANSI Shifted Keys](keycodes_us_ansi_shifted.md) * Reference * [Config Options](config_options.md) diff --git a/docs/feature_advanced_keycodes.md b/docs/feature_advanced_keycodes.md index 493a99fd73..f93b8033a5 100644 --- a/docs/feature_advanced_keycodes.md +++ b/docs/feature_advanced_keycodes.md @@ -1,6 +1,6 @@ # Advanced Keycodes -Your keymap can include keycodes that are more advanced than normal, for example shifted keys. This page documents the functions that are available to you. +Your keymap can include keycodes that are more advanced than normal, for example keys that switch layers or send modifiers when held, but send regular keycodes when tapped. This page documents the functions that are available to you. ### Assigning Custom Names @@ -73,34 +73,6 @@ You can also chain these, like this: LALT(LCTL(KC_DEL)) -- this makes a key that sends Alt, Control, and Delete in a single keypress. -# Shifted Keycodes - -The following shortcuts automatically add `LSFT()` to keycodes to get commonly used symbols. - -|Key |Aliases |Description | -|------------------------|------------------|-------------------| -|`KC_TILDE` |`KC_TILD` |`~` | -|`KC_EXCLAIM` |`KC_EXLM` |`!` | -|`KC_AT` | |`@` | -|`KC_HASH` | |`#` | -|`KC_DOLLAR` |`KC_DLR` |`$` | -|`KC_PERCENT` |`KC_PERC` |`%` | -|`KC_CIRCUMFLEX` |`KC_CIRC` |`^` | -|`KC_AMPERSAND` |`KC_AMPR` |`&` | -|`KC_ASTERISK` |`KC_ASTR` |`*` | -|`KC_LEFT_PAREN` |`KC_LPRN` |`(` | -|`KC_RIGHT_PAREN` |`KC_RPRN` |`)` | -|`KC_UNDERSCORE` |`KC_UNDS` |`_` | -|`KC_PLUS` | |`+` | -|`KC_LEFT_CURLY_BRACE` |`KC_LCBR` |`{` | -|`KC_RIGHT_CURLY_BRACE` |`KC_RCBR` |`}` | -|`KC_PIPE` | ||| -|`KC_COLON` |`KC_COLN` |`:` | -|`KC_DOUBLE_QUOTE` |`KC_DQT`/`KC_DQUO`|`"` | -|`KC_LEFT_ANGLE_BRACKET` |`KC_LT`/`KC_LABK` |`<` | -|`KC_RIGHT_ANGLE_BRACKET`|`KC_GT`/`KC_RABK` |`>` | -|`KC_QUESTION` |`KC_QUES` |`?` | - # Mod Tap `MT(mod, kc)` - is *mod* (modifier key - MOD_LCTL, MOD_LSFT) when held, and *kc* when tapped. In other words, you can have a key that sends Esc (or the letter O or whatever) when you tap it, but works as a Control key or a Shift key when you hold it down. diff --git a/docs/features.md b/docs/features.md index b10e0cc1de..537e1061cd 100644 --- a/docs/features.md +++ b/docs/features.md @@ -3,7 +3,7 @@ QMK has a staggering number of features for building your keyboard. It can take some time to understand all of them and determine which one will achieve your goal. -* [Advanced Keycodes](feature_advanced_keycodes.md) - Change layers, type shifted keys, and more. Go beyond typing simple characters. +* [Advanced Keycodes](feature_advanced_keycodes.md) - Change layers, dual-action keys, and more. Go beyond typing simple characters. * [Audio](feature_audio.md) - Connect a speaker to your keyboard for audio feedback, midi support, and music mode. * [Auto Shift](feature_auto_shift.md) - Tap for the normal key, hold slightly longer for its shifted state. * [Backlight](feature_backlight.md) - LED lighting support for your keyboard. diff --git a/docs/keycodes.md b/docs/keycodes.md index dbafecb829..fd3776bb72 100644 --- a/docs/keycodes.md +++ b/docs/keycodes.md @@ -402,7 +402,7 @@ This is a reference only. Each group of keys links to the page documenting their |`PRINT_ON` |Start printing everything the user types| |`PRINT_OFF`|Stop printing everything the user types | -## [US ANSI Shifted Keys](keycodes_us_ansi_shifted.md) +## [US ANSI Shifted Symbols](keycodes_us_ansi_shifted.md) |Key |Aliases |Description | |------------------------|-------------------|-------------------|