diff options
author | fauxpark <fauxpark@gmail.com> | 2019-12-12 06:33:10 +1100 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2019-12-11 11:33:09 -0800 |
commit | 770a4ee7291095aaa6548d3e988633bf2ae6e6c0 (patch) | |
tree | 77f927d380d9f3b356c4a96dfa789980a26b47d2 /docs/faq_keymap.md | |
parent | ccda62616d422ae6df810b6fd68fc8e61002e278 (diff) | |
download | qmk_firmware-770a4ee7291095aaa6548d3e988633bf2ae6e6c0.tar.gz qmk_firmware-770a4ee7291095aaa6548d3e988633bf2ae6e6c0.zip |
[Docs] Remove some outdated FAQ items (#7607)
Diffstat (limited to 'docs/faq_keymap.md')
-rw-r--r-- | docs/faq_keymap.md | 63 |
1 files changed, 1 insertions, 62 deletions
diff --git a/docs/faq_keymap.md b/docs/faq_keymap.md index 84d8548d4..2d00e8bef 100644 --- a/docs/faq_keymap.md +++ b/docs/faq_keymap.md | |||
@@ -67,24 +67,8 @@ After enabling this feature use keycodes `KC_LCAP`, `KC_LNUM` and `KC_LSCR` in y | |||
67 | Old vintage mechanical keyboards occasionally have lock switches but modern ones don't have. ***You don't need this feature in most case and just use keycodes `KC_CAPS`, `KC_NLCK` and `KC_SLCK`.*** | 67 | Old vintage mechanical keyboards occasionally have lock switches but modern ones don't have. ***You don't need this feature in most case and just use keycodes `KC_CAPS`, `KC_NLCK` and `KC_SLCK`.*** |
68 | 68 | ||
69 | ## Input Special Characters Other Than ASCII like Cédille 'Ç' | 69 | ## Input Special Characters Other Than ASCII like Cédille 'Ç' |
70 | NO UNIVERSAL METHOD TO INPUT THOSE WORKS OVER ALL SYSTEMS. You have to define **MACRO** in way specific to your OS or layout. | ||
71 | 70 | ||
72 | See this post for example **MACRO** code. | 71 | See the [Unicode](feature_unicode.md) feature. |
73 | |||
74 | http://deskthority.net/workshop-f7/tmk-keyboard-firmware-collection-t4478-120.html#p195620 | ||
75 | |||
76 | On **Windows** you can use `AltGr` key or **Alt code**. | ||
77 | * http://en.wikipedia.org/wiki/AltGr_key | ||
78 | * http://en.wikipedia.org/wiki/Alt_code | ||
79 | |||
80 | On **Mac** OS defines `Option` key combinations. | ||
81 | * http://en.wikipedia.org/wiki/Option_key#Alternative_keyboard_input | ||
82 | |||
83 | On **Xorg** you can use `compose` key, instead. | ||
84 | * http://en.wikipedia.org/wiki/Compose_key | ||
85 | |||
86 | And see this for **Unicode** input. | ||
87 | * http://en.wikipedia.org/wiki/Unicode_input | ||
88 | 72 | ||
89 | ## `Fn` Key on macOS | 73 | ## `Fn` Key on macOS |
90 | 74 | ||
@@ -130,51 +114,6 @@ https://github.com/tekezo/Karabiner/issues/403 | |||
130 | 114 | ||
131 | See the [Grave Escape](feature_grave_esc.md) feature. | 115 | See the [Grave Escape](feature_grave_esc.md) feature. |
132 | 116 | ||
133 | ## Arrow on Right Modifier Keys with Dual-Role | ||
134 | This turns right modifier keys into arrow keys when the keys are tapped while still modifiers when the keys are hold. In TMK the dual-role function is dubbed **TAP**. | ||
135 | ``` | ||
136 | |||
137 | #include "keymap_common.h" | ||
138 | |||
139 | |||
140 | /* Arrow keys on right modifier keys with TMK dual role feature | ||
141 | * | ||
142 | * https://github.com/tmk/tmk_core/blob/master/doc/keymap.md#213-modifier-with-tap-keydual-role | ||
143 | * https://en.wikipedia.org/wiki/Modifier_key#Dual-role_keys | ||
144 | */ | ||
145 | const uint8_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
146 | /* 0: qwerty */ | ||
147 | [0] = LAYOUT( \ | ||
148 | ESC, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0, MINS,EQL, NUHS,BSPC, \ | ||
149 | TAB, Q, W, E, R, T, Y, U, I, O, P, LBRC,RBRC,BSLS, \ | ||
150 | LCTL,A, S, D, F, G, H, J, K, L, SCLN,QUOT,ENT, \ | ||
151 | LSFT,NUBS,Z, X, C, V, B, N, M, COMM,DOT, SLSH,FN0, ESC, \ | ||
152 | FN4, LGUI,LALT, SPC, APP, FN2, FN1, FN3), | ||
153 | [1] = LAYOUT( \ | ||
154 | GRV, F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, TRNS,TRNS, \ | ||
155 | TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,\ | ||
156 | TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS, \ | ||
157 | TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,TRNS,FN5, TRNS, \ | ||
158 | TRNS,TRNS,TRNS, TRNS, TRNS,FN7, FN6, FN8), | ||
159 | }; | ||
160 | |||
161 | const uint16_t PROGMEM fn_actions[] = { | ||
162 | [0] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_UP), | ||
163 | [1] = ACTION_MODS_TAP_KEY(MOD_RGUI, KC_DOWN), | ||
164 | [2] = ACTION_MODS_TAP_KEY(MOD_RALT, KC_LEFT), | ||
165 | [3] = ACTION_MODS_TAP_KEY(MOD_RCTL, KC_RIGHT), | ||
166 | [4] = ACTION_LAYER_MOMENTARY(1), | ||
167 | [5] = ACTION_MODS_TAP_KEY(MOD_RSFT, KC_PGUP), | ||
168 | [6] = ACTION_MODS_TAP_KEY(MOD_RGUI, KC_PGDN), | ||
169 | [7] = ACTION_MODS_TAP_KEY(MOD_RALT, KC_HOME), | ||
170 | [8] = ACTION_MODS_TAP_KEY(MOD_RCTL, KC_END), | ||
171 | }; | ||
172 | |||
173 | ``` | ||
174 | |||
175 | Dual-role key: https://en.wikipedia.org/wiki/Modifier_key#Dual-role_keys | ||
176 | |||
177 | |||
178 | ## Eject on Mac OSX | 117 | ## Eject on Mac OSX |
179 | `KC_EJCT` keycode works on OSX. https://github.com/tmk/tmk_keyboard/issues/250 | 118 | `KC_EJCT` keycode works on OSX. https://github.com/tmk/tmk_keyboard/issues/250 |
180 | It seems Windows 10 ignores the code and Linux/Xorg recognizes but has no mapping by default. | 119 | It seems Windows 10 ignores the code and Linux/Xorg recognizes but has no mapping by default. |