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/foxlab | |
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/foxlab')
-rw-r--r-- | keyboards/foxlab/key65/hotswap/config.h | 53 | ||||
-rw-r--r-- | keyboards/foxlab/key65/universal/config.h | 53 | ||||
-rw-r--r-- | keyboards/foxlab/leaf60/hotswap/config.h | 53 | ||||
-rw-r--r-- | keyboards/foxlab/leaf60/universal/config.h | 53 |
4 files changed, 0 insertions, 212 deletions
diff --git a/keyboards/foxlab/key65/hotswap/config.h b/keyboards/foxlab/key65/hotswap/config.h index 43f883fce..621c64072 100644 --- a/keyboards/foxlab/key65/hotswap/config.h +++ b/keyboards/foxlab/key65/hotswap/config.h | |||
@@ -101,59 +101,6 @@ | |||
101 | //#define FORCE_NKRO | 101 | //#define FORCE_NKRO |
102 | 102 | ||
103 | /* | 103 | /* |
104 | * Magic Key Options | ||
105 | * | ||
106 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
107 | * the keyboard. They are best used in combination with the HID Listen program, | ||
108 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
109 | * | ||
110 | * The options below allow the magic key functionality to be changed. This is | ||
111 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
112 | * | ||
113 | */ | ||
114 | |||
115 | /* key combination for magic key command */ | ||
116 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
117 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | ||
118 | |||
119 | /* control how magic key switches layers */ | ||
120 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
121 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
122 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
123 | |||
124 | /* override magic key keymap */ | ||
125 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
126 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
127 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
128 | //#define MAGIC_KEY_HELP H | ||
129 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
130 | //#define MAGIC_KEY_DEBUG D | ||
131 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
132 | //#define MAGIC_KEY_DEBUG_KBD K | ||
133 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
134 | //#define MAGIC_KEY_VERSION V | ||
135 | //#define MAGIC_KEY_STATUS S | ||
136 | //#define MAGIC_KEY_CONSOLE C | ||
137 | //#define MAGIC_KEY_LAYER0 0 | ||
138 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
139 | //#define MAGIC_KEY_LAYER1 1 | ||
140 | //#define MAGIC_KEY_LAYER2 2 | ||
141 | //#define MAGIC_KEY_LAYER3 3 | ||
142 | //#define MAGIC_KEY_LAYER4 4 | ||
143 | //#define MAGIC_KEY_LAYER5 5 | ||
144 | //#define MAGIC_KEY_LAYER6 6 | ||
145 | //#define MAGIC_KEY_LAYER7 7 | ||
146 | //#define MAGIC_KEY_LAYER8 8 | ||
147 | //#define MAGIC_KEY_LAYER9 9 | ||
148 | //#define MAGIC_KEY_BOOTLOADER B | ||
149 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
150 | //#define MAGIC_KEY_LOCK CAPS | ||
151 | //#define MAGIC_KEY_EEPROM E | ||
152 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
153 | //#define MAGIC_KEY_NKRO N | ||
154 | //#define MAGIC_KEY_SLEEP_LED Z | ||
155 | |||
156 | /* | ||
157 | * Feature disable options | 104 | * Feature disable options |
158 | * These options are also useful to firmware size reduction. | 105 | * These options are also useful to firmware size reduction. |
159 | */ | 106 | */ |
diff --git a/keyboards/foxlab/key65/universal/config.h b/keyboards/foxlab/key65/universal/config.h index 315af6676..241d2ce2c 100644 --- a/keyboards/foxlab/key65/universal/config.h +++ b/keyboards/foxlab/key65/universal/config.h | |||
@@ -101,59 +101,6 @@ | |||
101 | //#define FORCE_NKRO | 101 | //#define FORCE_NKRO |
102 | 102 | ||
103 | /* | 103 | /* |
104 | * Magic Key Options | ||
105 | * | ||
106 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
107 | * the keyboard. They are best used in combination with the HID Listen program, | ||
108 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
109 | * | ||
110 | * The options below allow the magic key functionality to be changed. This is | ||
111 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
112 | * | ||
113 | */ | ||
114 | |||
115 | /* key combination for magic key command */ | ||
116 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
117 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | ||
118 | |||
119 | /* control how magic key switches layers */ | ||
120 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
121 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
122 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
123 | |||
124 | /* override magic key keymap */ | ||
125 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
126 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
127 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
128 | //#define MAGIC_KEY_HELP H | ||
129 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
130 | //#define MAGIC_KEY_DEBUG D | ||
131 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
132 | //#define MAGIC_KEY_DEBUG_KBD K | ||
133 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
134 | //#define MAGIC_KEY_VERSION V | ||
135 | //#define MAGIC_KEY_STATUS S | ||
136 | //#define MAGIC_KEY_CONSOLE C | ||
137 | //#define MAGIC_KEY_LAYER0 0 | ||
138 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
139 | //#define MAGIC_KEY_LAYER1 1 | ||
140 | //#define MAGIC_KEY_LAYER2 2 | ||
141 | //#define MAGIC_KEY_LAYER3 3 | ||
142 | //#define MAGIC_KEY_LAYER4 4 | ||
143 | //#define MAGIC_KEY_LAYER5 5 | ||
144 | //#define MAGIC_KEY_LAYER6 6 | ||
145 | //#define MAGIC_KEY_LAYER7 7 | ||
146 | //#define MAGIC_KEY_LAYER8 8 | ||
147 | //#define MAGIC_KEY_LAYER9 9 | ||
148 | //#define MAGIC_KEY_BOOTLOADER B | ||
149 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
150 | //#define MAGIC_KEY_LOCK CAPS | ||
151 | //#define MAGIC_KEY_EEPROM E | ||
152 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
153 | //#define MAGIC_KEY_NKRO N | ||
154 | //#define MAGIC_KEY_SLEEP_LED Z | ||
155 | |||
156 | /* | ||
157 | * Feature disable options | 104 | * Feature disable options |
158 | * These options are also useful to firmware size reduction. | 105 | * These options are also useful to firmware size reduction. |
159 | */ | 106 | */ |
diff --git a/keyboards/foxlab/leaf60/hotswap/config.h b/keyboards/foxlab/leaf60/hotswap/config.h index 5cc751a69..6092a24f0 100644 --- a/keyboards/foxlab/leaf60/hotswap/config.h +++ b/keyboards/foxlab/leaf60/hotswap/config.h | |||
@@ -105,59 +105,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
105 | //#define FORCE_NKRO | 105 | //#define FORCE_NKRO |
106 | 106 | ||
107 | /* | 107 | /* |
108 | * Magic Key Options | ||
109 | * | ||
110 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
111 | * the keyboard. They are best used in combination with the HID Listen program, | ||
112 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
113 | * | ||
114 | * The options below allow the magic key functionality to be changed. This is | ||
115 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
116 | * | ||
117 | */ | ||
118 | |||
119 | /* key combination for magic key command */ | ||
120 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
121 | // #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | ||
122 | |||
123 | /* control how magic key switches layers */ | ||
124 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
125 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
126 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
127 | |||
128 | /* override magic key keymap */ | ||
129 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
130 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
131 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
132 | //#define MAGIC_KEY_HELP H | ||
133 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
134 | //#define MAGIC_KEY_DEBUG D | ||
135 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
136 | //#define MAGIC_KEY_DEBUG_KBD K | ||
137 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
138 | //#define MAGIC_KEY_VERSION V | ||
139 | //#define MAGIC_KEY_STATUS S | ||
140 | //#define MAGIC_KEY_CONSOLE C | ||
141 | //#define MAGIC_KEY_LAYER0 0 | ||
142 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
143 | //#define MAGIC_KEY_LAYER1 1 | ||
144 | //#define MAGIC_KEY_LAYER2 2 | ||
145 | //#define MAGIC_KEY_LAYER3 3 | ||
146 | //#define MAGIC_KEY_LAYER4 4 | ||
147 | //#define MAGIC_KEY_LAYER5 5 | ||
148 | //#define MAGIC_KEY_LAYER6 6 | ||
149 | //#define MAGIC_KEY_LAYER7 7 | ||
150 | //#define MAGIC_KEY_LAYER8 8 | ||
151 | //#define MAGIC_KEY_LAYER9 9 | ||
152 | //#define MAGIC_KEY_BOOTLOADER B | ||
153 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
154 | //#define MAGIC_KEY_LOCK CAPS | ||
155 | //#define MAGIC_KEY_EEPROM E | ||
156 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
157 | //#define MAGIC_KEY_NKRO N | ||
158 | //#define MAGIC_KEY_SLEEP_LED Z | ||
159 | |||
160 | /* | ||
161 | * Feature disable options | 108 | * Feature disable options |
162 | * These options are also useful to firmware size reduction. | 109 | * These options are also useful to firmware size reduction. |
163 | */ | 110 | */ |
diff --git a/keyboards/foxlab/leaf60/universal/config.h b/keyboards/foxlab/leaf60/universal/config.h index 7a2574e6b..b4214882b 100644 --- a/keyboards/foxlab/leaf60/universal/config.h +++ b/keyboards/foxlab/leaf60/universal/config.h | |||
@@ -105,59 +105,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
105 | //#define FORCE_NKRO | 105 | //#define FORCE_NKRO |
106 | 106 | ||
107 | /* | 107 | /* |
108 | * Magic Key Options | ||
109 | * | ||
110 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
111 | * the keyboard. They are best used in combination with the HID Listen program, | ||
112 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
113 | * | ||
114 | * The options below allow the magic key functionality to be changed. This is | ||
115 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
116 | * | ||
117 | */ | ||
118 | |||
119 | /* key combination for magic key command */ | ||
120 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
121 | // #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | ||
122 | |||
123 | /* control how magic key switches layers */ | ||
124 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
125 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
126 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
127 | |||
128 | /* override magic key keymap */ | ||
129 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
130 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
131 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
132 | //#define MAGIC_KEY_HELP H | ||
133 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
134 | //#define MAGIC_KEY_DEBUG D | ||
135 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
136 | //#define MAGIC_KEY_DEBUG_KBD K | ||
137 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
138 | //#define MAGIC_KEY_VERSION V | ||
139 | //#define MAGIC_KEY_STATUS S | ||
140 | //#define MAGIC_KEY_CONSOLE C | ||
141 | //#define MAGIC_KEY_LAYER0 0 | ||
142 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
143 | //#define MAGIC_KEY_LAYER1 1 | ||
144 | //#define MAGIC_KEY_LAYER2 2 | ||
145 | //#define MAGIC_KEY_LAYER3 3 | ||
146 | //#define MAGIC_KEY_LAYER4 4 | ||
147 | //#define MAGIC_KEY_LAYER5 5 | ||
148 | //#define MAGIC_KEY_LAYER6 6 | ||
149 | //#define MAGIC_KEY_LAYER7 7 | ||
150 | //#define MAGIC_KEY_LAYER8 8 | ||
151 | //#define MAGIC_KEY_LAYER9 9 | ||
152 | //#define MAGIC_KEY_BOOTLOADER B | ||
153 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
154 | //#define MAGIC_KEY_LOCK CAPS | ||
155 | //#define MAGIC_KEY_EEPROM E | ||
156 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
157 | //#define MAGIC_KEY_NKRO N | ||
158 | //#define MAGIC_KEY_SLEEP_LED Z | ||
159 | |||
160 | /* | ||
161 | * Feature disable options | 108 | * Feature disable options |
162 | * These options are also useful to firmware size reduction. | 109 | * These options are also useful to firmware size reduction. |
163 | */ | 110 | */ |