diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2021-09-26 09:57:20 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-26 02:57:20 -0700 |
commit | 6f36eb469d11fd9619add54c2e037e50069d1eee (patch) | |
tree | 6774716e3001d857a32488a5dfb95e69fad6fa22 /keyboards/acheron | |
parent | 95733d1c165e0f8af031cd79e58e9a49539647bb (diff) | |
download | qmk_firmware-6f36eb469d11fd9619add54c2e037e50069d1eee.tar.gz qmk_firmware-6f36eb469d11fd9619add54c2e037e50069d1eee.zip |
Remove unused `IS_COMMAND()` instances and Magic Key definitions (#14610)
* Remove unused IS_COMMAND() instances from keyboard-level config.h, 0-9
* Remove unused IS_COMMAND() instances from keyboard-level config.h, A-B
* Remove unused IS_COMMAND() instances from keyboard-level config.h, C-D
* Remove unused IS_COMMAND() instances from keyboard-level config.h, E-G
* Remove unused IS_COMMAND() instances from keyboard-level config.h, handwired
* Remove unused IS_COMMAND() instances from keyboard-level config.h, H-M
* Remove unused IS_COMMAND() instances from keyboard-level config.h, N-R
* Remove unused IS_COMMAND() instances from keyboard-level config.h, S-Z
* Remove unused Magic Key definitions from keyboard-level config.h, 0-9
* Remove unused Magic Key definitions from keyboard-level config.h, A
* Remove unused Magic Key definitions from keyboard-level config.h, B
* Remove unused Magic Key definitions from keyboard-level config.h, C
* Remove unused Magic Key definitions from keyboard-level config.h, D-E
* Remove unused Magic Key definitions from keyboard-level config.h, F-H
* Remove unused Magic Key definitions from keyboard-level config.h, handwired
* Remove unused Magic Key definitions from keyboard-level config.h, I-K
* Remove unused Magic Key definitions from keyboard-level config.h, L-M
* Remove unused Magic Key definitions from keyboard-level config.h, N-R
* Remove unused Magic Key definitions from keyboard-level config.h, S-V
* Remove unused Magic Key definitions from keyboard-level config.h, W-Z
* Merge remote-tracking branch 'upstream/master' into clean/command_and_magic
* Remove remaining unused IS_COMMAND() instances from keyboard-level config.h
Diffstat (limited to 'keyboards/acheron')
-rw-r--r-- | keyboards/acheron/elongate/config.h | 53 | ||||
-rw-r--r-- | keyboards/acheron/shark/config.h | 53 |
2 files changed, 0 insertions, 106 deletions
diff --git a/keyboards/acheron/elongate/config.h b/keyboards/acheron/elongate/config.h index c51c7a821..434e62cd8 100644 --- a/keyboards/acheron/elongate/config.h +++ b/keyboards/acheron/elongate/config.h | |||
@@ -122,59 +122,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
122 | //#define FORCE_NKRO | 122 | //#define FORCE_NKRO |
123 | 123 | ||
124 | /* | 124 | /* |
125 | * Magic Key Options | ||
126 | * | ||
127 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
128 | * the keyboard. They are best used in combination with the HID Listen program, | ||
129 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
130 | * | ||
131 | * The options below allow the magic key functionality to be changed. This is | ||
132 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
133 | * | ||
134 | */ | ||
135 | |||
136 | /* key combination for magic key command */ | ||
137 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
138 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | ||
139 | |||
140 | /* control how magic key switches layers */ | ||
141 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
142 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
143 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
144 | |||
145 | /* override magic key keymap */ | ||
146 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
147 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
148 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
149 | //#define MAGIC_KEY_HELP H | ||
150 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
151 | //#define MAGIC_KEY_DEBUG D | ||
152 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
153 | //#define MAGIC_KEY_DEBUG_KBD K | ||
154 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
155 | //#define MAGIC_KEY_VERSION V | ||
156 | //#define MAGIC_KEY_STATUS S | ||
157 | //#define MAGIC_KEY_CONSOLE C | ||
158 | //#define MAGIC_KEY_LAYER0 0 | ||
159 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
160 | //#define MAGIC_KEY_LAYER1 1 | ||
161 | //#define MAGIC_KEY_LAYER2 2 | ||
162 | //#define MAGIC_KEY_LAYER3 3 | ||
163 | //#define MAGIC_KEY_LAYER4 4 | ||
164 | //#define MAGIC_KEY_LAYER5 5 | ||
165 | //#define MAGIC_KEY_LAYER6 6 | ||
166 | //#define MAGIC_KEY_LAYER7 7 | ||
167 | //#define MAGIC_KEY_LAYER8 8 | ||
168 | //#define MAGIC_KEY_LAYER9 9 | ||
169 | //#define MAGIC_KEY_BOOTLOADER B | ||
170 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
171 | //#define MAGIC_KEY_LOCK CAPS | ||
172 | //#define MAGIC_KEY_EEPROM E | ||
173 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
174 | //#define MAGIC_KEY_NKRO N | ||
175 | //#define MAGIC_KEY_SLEEP_LED Z | ||
176 | |||
177 | /* | ||
178 | * Feature disable options | 125 | * Feature disable options |
179 | * These options are also useful to firmware size reduction. | 126 | * These options are also useful to firmware size reduction. |
180 | */ | 127 | */ |
diff --git a/keyboards/acheron/shark/config.h b/keyboards/acheron/shark/config.h index 3adcb060d..78f763fe9 100644 --- a/keyboards/acheron/shark/config.h +++ b/keyboards/acheron/shark/config.h | |||
@@ -134,59 +134,6 @@ B0, which is unconnected on the PCB | |||
134 | //#define FORCE_NKRO | 134 | //#define FORCE_NKRO |
135 | 135 | ||
136 | /* | 136 | /* |
137 | * Magic Key Options | ||
138 | * | ||
139 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
140 | * the keyboard. They are best used in combination with the HID Listen program, | ||
141 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
142 | * | ||
143 | * The options below allow the magic key functionality to be changed. This is | ||
144 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
145 | * | ||
146 | */ | ||
147 | |||
148 | /* key combination for magic key command */ | ||
149 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
150 | // #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | ||
151 | |||
152 | /* control how magic key switches layers */ | ||
153 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
154 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
155 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
156 | |||
157 | /* override magic key keymap */ | ||
158 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
159 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
160 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
161 | //#define MAGIC_KEY_HELP H | ||
162 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
163 | //#define MAGIC_KEY_DEBUG D | ||
164 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
165 | //#define MAGIC_KEY_DEBUG_KBD K | ||
166 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
167 | //#define MAGIC_KEY_VERSION V | ||
168 | //#define MAGIC_KEY_STATUS S | ||
169 | //#define MAGIC_KEY_CONSOLE C | ||
170 | //#define MAGIC_KEY_LAYER0 0 | ||
171 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
172 | //#define MAGIC_KEY_LAYER1 1 | ||
173 | //#define MAGIC_KEY_LAYER2 2 | ||
174 | //#define MAGIC_KEY_LAYER3 3 | ||
175 | //#define MAGIC_KEY_LAYER4 4 | ||
176 | //#define MAGIC_KEY_LAYER5 5 | ||
177 | //#define MAGIC_KEY_LAYER6 6 | ||
178 | //#define MAGIC_KEY_LAYER7 7 | ||
179 | //#define MAGIC_KEY_LAYER8 8 | ||
180 | //#define MAGIC_KEY_LAYER9 9 | ||
181 | //#define MAGIC_KEY_BOOTLOADER B | ||
182 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
183 | //#define MAGIC_KEY_LOCK CAPS | ||
184 | //#define MAGIC_KEY_EEPROM E | ||
185 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
186 | //#define MAGIC_KEY_NKRO N | ||
187 | //#define MAGIC_KEY_SLEEP_LED Z | ||
188 | |||
189 | /* | ||
190 | * Feature disable options | 137 | * Feature disable options |
191 | * These options are also useful to firmware size reduction. | 138 | * These options are also useful to firmware size reduction. |
192 | */ | 139 | */ |