aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2018-08-06 13:08:26 +1000
committerskullydazed <skullydazed@users.noreply.github.com>2018-08-11 14:29:53 -0700
commitd263b27c9a998e31084d7960724b3c243311c4cf (patch)
tree226bf26aa74e9ec330dfa14288eb88a844a1783a
parent1cdef7cd2f4c2b6ad90c80215bf42fb3e66f0cee (diff)
downloadqmk_firmware-d263b27c9a998e31084d7960724b3c243311c4cf.tar.gz
qmk_firmware-d263b27c9a998e31084d7960724b3c243311c4cf.zip
Dedupe shifted keycodes listing
-rw-r--r--docs/_sidebar.md3
-rw-r--r--docs/_summary.md3
-rw-r--r--docs/feature_advanced_keycodes.md30
-rw-r--r--docs/features.md2
-rw-r--r--docs/keycodes.md2
5 files changed, 5 insertions, 35 deletions
diff --git a/docs/_sidebar.md b/docs/_sidebar.md
index 6c56bb2e5..69170d8bb 100644
--- a/docs/_sidebar.md
+++ b/docs/_sidebar.md
@@ -68,11 +68,10 @@
68 * [One Shot Keys](feature_advanced_keycodes.md#one-shot-keys) 68 * [One Shot Keys](feature_advanced_keycodes.md#one-shot-keys)
69 * [RGB Light](feature_rgblight.md#rgblight-keycodes) 69 * [RGB Light](feature_rgblight.md#rgblight-keycodes)
70 * [RGB Matrix](feature_rgb_matrix.md#keycodes) 70 * [RGB Matrix](feature_rgb_matrix.md#keycodes)
71 * [Shifted Keys](feature_advanced_keycodes.md#shifted-keycodes) 71 * [Shifted Keys](keycodes_us_ansi_shifted.md)
72 * [Stenography](feature_stenography.md#keycode-reference) 72 * [Stenography](feature_stenography.md#keycode-reference)
73 * [Swap Hands](feature_swap_hands.md#swap-keycodes) 73 * [Swap Hands](feature_swap_hands.md#swap-keycodes)
74 * [Thermal Printer](feature_thermal_printer.md#thermal-printer-keycodes) 74 * [Thermal Printer](feature_thermal_printer.md#thermal-printer-keycodes)
75 * [US ANSI Shifted Keys](keycodes_us_ansi_shifted.md)
76 75
77* Reference 76* Reference
78 * [Config Options](config_options.md) 77 * [Config Options](config_options.md)
diff --git a/docs/_summary.md b/docs/_summary.md
index 6c56bb2e5..69170d8bb 100644
--- a/docs/_summary.md
+++ b/docs/_summary.md
@@ -68,11 +68,10 @@
68 * [One Shot Keys](feature_advanced_keycodes.md#one-shot-keys) 68 * [One Shot Keys](feature_advanced_keycodes.md#one-shot-keys)
69 * [RGB Light](feature_rgblight.md#rgblight-keycodes) 69 * [RGB Light](feature_rgblight.md#rgblight-keycodes)
70 * [RGB Matrix](feature_rgb_matrix.md#keycodes) 70 * [RGB Matrix](feature_rgb_matrix.md#keycodes)
71 * [Shifted Keys](feature_advanced_keycodes.md#shifted-keycodes) 71 * [Shifted Keys](keycodes_us_ansi_shifted.md)
72 * [Stenography](feature_stenography.md#keycode-reference) 72 * [Stenography](feature_stenography.md#keycode-reference)
73 * [Swap Hands](feature_swap_hands.md#swap-keycodes) 73 * [Swap Hands](feature_swap_hands.md#swap-keycodes)
74 * [Thermal Printer](feature_thermal_printer.md#thermal-printer-keycodes) 74 * [Thermal Printer](feature_thermal_printer.md#thermal-printer-keycodes)
75 * [US ANSI Shifted Keys](keycodes_us_ansi_shifted.md)
76 75
77* Reference 76* Reference
78 * [Config Options](config_options.md) 77 * [Config Options](config_options.md)
diff --git a/docs/feature_advanced_keycodes.md b/docs/feature_advanced_keycodes.md
index 493a99fd7..f93b8033a 100644
--- a/docs/feature_advanced_keycodes.md
+++ b/docs/feature_advanced_keycodes.md
@@ -1,6 +1,6 @@
1# Advanced Keycodes 1# Advanced Keycodes
2 2
3Your keymap can include keycodes that are more advanced than normal, for example shifted keys. This page documents the functions that are available to you. 3Your 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.
4 4
5### Assigning Custom Names 5### Assigning Custom Names
6 6
@@ -73,34 +73,6 @@ You can also chain these, like this:
73 73
74 LALT(LCTL(KC_DEL)) -- this makes a key that sends Alt, Control, and Delete in a single keypress. 74 LALT(LCTL(KC_DEL)) -- this makes a key that sends Alt, Control, and Delete in a single keypress.
75 75
76# Shifted Keycodes
77
78The following shortcuts automatically add `LSFT()` to keycodes to get commonly used symbols.
79
80|Key |Aliases |Description |
81|------------------------|------------------|-------------------|
82|`KC_TILDE` |`KC_TILD` |`~` |
83|`KC_EXCLAIM` |`KC_EXLM` |`!` |
84|`KC_AT` | |`@` |
85|`KC_HASH` | |`#` |
86|`KC_DOLLAR` |`KC_DLR` |`$` |
87|`KC_PERCENT` |`KC_PERC` |`%` |
88|`KC_CIRCUMFLEX` |`KC_CIRC` |`^` |
89|`KC_AMPERSAND` |`KC_AMPR` |`&` |
90|`KC_ASTERISK` |`KC_ASTR` |`*` |
91|`KC_LEFT_PAREN` |`KC_LPRN` |`(` |
92|`KC_RIGHT_PAREN` |`KC_RPRN` |`)` |
93|`KC_UNDERSCORE` |`KC_UNDS` |`_` |
94|`KC_PLUS` | |`+` |
95|`KC_LEFT_CURLY_BRACE` |`KC_LCBR` |`{` |
96|`KC_RIGHT_CURLY_BRACE` |`KC_RCBR` |`}` |
97|`KC_PIPE` | |<code>&#124;</code>|
98|`KC_COLON` |`KC_COLN` |`:` |
99|`KC_DOUBLE_QUOTE` |`KC_DQT`/`KC_DQUO`|`"` |
100|`KC_LEFT_ANGLE_BRACKET` |`KC_LT`/`KC_LABK` |`<` |
101|`KC_RIGHT_ANGLE_BRACKET`|`KC_GT`/`KC_RABK` |`>` |
102|`KC_QUESTION` |`KC_QUES` |`?` |
103
104# Mod Tap 76# Mod Tap
105 77
106`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. 78`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 b10e0cc1d..537e1061c 100644
--- a/docs/features.md
+++ b/docs/features.md
@@ -3,7 +3,7 @@
3QMK 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. 3QMK 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.
4 4
5 5
6* [Advanced Keycodes](feature_advanced_keycodes.md) - Change layers, type shifted keys, and more. Go beyond typing simple characters. 6* [Advanced Keycodes](feature_advanced_keycodes.md) - Change layers, dual-action keys, and more. Go beyond typing simple characters.
7* [Audio](feature_audio.md) - Connect a speaker to your keyboard for audio feedback, midi support, and music mode. 7* [Audio](feature_audio.md) - Connect a speaker to your keyboard for audio feedback, midi support, and music mode.
8* [Auto Shift](feature_auto_shift.md) - Tap for the normal key, hold slightly longer for its shifted state. 8* [Auto Shift](feature_auto_shift.md) - Tap for the normal key, hold slightly longer for its shifted state.
9* [Backlight](feature_backlight.md) - LED lighting support for your keyboard. 9* [Backlight](feature_backlight.md) - LED lighting support for your keyboard.
diff --git a/docs/keycodes.md b/docs/keycodes.md
index dbafecb82..fd3776bb7 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
402|`PRINT_ON` |Start printing everything the user types| 402|`PRINT_ON` |Start printing everything the user types|
403|`PRINT_OFF`|Stop printing everything the user types | 403|`PRINT_OFF`|Stop printing everything the user types |
404 404
405## [US ANSI Shifted Keys](keycodes_us_ansi_shifted.md) 405## [US ANSI Shifted Symbols](keycodes_us_ansi_shifted.md)
406 406
407|Key |Aliases |Description | 407|Key |Aliases |Description |
408|------------------------|-------------------|-------------------| 408|------------------------|-------------------|-------------------|