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/lfkeyboards | |
| 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/lfkeyboards')
| -rw-r--r-- | keyboards/lfkeyboards/lfk65_hs/config.h | 48 | ||||
| -rw-r--r-- | keyboards/lfkeyboards/lfk78/config.h | 53 | ||||
| -rw-r--r-- | keyboards/lfkeyboards/lfk87/config.h | 48 | ||||
| -rw-r--r-- | keyboards/lfkeyboards/lfkpad/config.h | 53 | ||||
| -rw-r--r-- | keyboards/lfkeyboards/mini1800/config.h | 48 |
5 files changed, 0 insertions, 250 deletions
diff --git a/keyboards/lfkeyboards/lfk65_hs/config.h b/keyboards/lfkeyboards/lfk65_hs/config.h index 8107d3ccc..adedaa342 100644 --- a/keyboards/lfkeyboards/lfk65_hs/config.h +++ b/keyboards/lfkeyboards/lfk65_hs/config.h | |||
| @@ -67,54 +67,6 @@ | |||
| 67 | //#define FORCE_NKRO | 67 | //#define FORCE_NKRO |
| 68 | 68 | ||
| 69 | /* | 69 | /* |
| 70 | * Magic Key Options | ||
| 71 | * | ||
| 72 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 73 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 74 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 75 | * | ||
| 76 | * The options below allow the magic key functionality to be changed. This is | ||
| 77 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 78 | * | ||
| 79 | */ | ||
| 80 | |||
| 81 | /* control how magic key switches layers */ | ||
| 82 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 83 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 84 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 85 | |||
| 86 | /* override magic key keymap */ | ||
| 87 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 88 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 89 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 90 | //#define MAGIC_KEY_HELP1 H | ||
| 91 | //#define MAGIC_KEY_HELP2 SLASH | ||
| 92 | //#define MAGIC_KEY_DEBUG D | ||
| 93 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 94 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 95 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 96 | //#define MAGIC_KEY_VERSION V | ||
| 97 | //#define MAGIC_KEY_STATUS S | ||
| 98 | //#define MAGIC_KEY_CONSOLE C | ||
| 99 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
| 100 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
| 101 | //#define MAGIC_KEY_LAYER0 0 | ||
| 102 | //#define MAGIC_KEY_LAYER1 1 | ||
| 103 | //#define MAGIC_KEY_LAYER2 2 | ||
| 104 | //#define MAGIC_KEY_LAYER3 3 | ||
| 105 | //#define MAGIC_KEY_LAYER4 4 | ||
| 106 | //#define MAGIC_KEY_LAYER5 5 | ||
| 107 | //#define MAGIC_KEY_LAYER6 6 | ||
| 108 | //#define MAGIC_KEY_LAYER7 7 | ||
| 109 | //#define MAGIC_KEY_LAYER8 8 | ||
| 110 | //#define MAGIC_KEY_LAYER9 9 | ||
| 111 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
| 112 | //#define MAGIC_KEY_LOCK CAPS | ||
| 113 | //#define MAGIC_KEY_EEPROM E | ||
| 114 | //#define MAGIC_KEY_NKRO N | ||
| 115 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 116 | |||
| 117 | /* | ||
| 118 | * Feature disable options | 70 | * Feature disable options |
| 119 | * These options are also useful to firmware size reduction. | 71 | * These options are also useful to firmware size reduction. |
| 120 | */ | 72 | */ |
diff --git a/keyboards/lfkeyboards/lfk78/config.h b/keyboards/lfkeyboards/lfk78/config.h index 540c40539..05ead71c8 100644 --- a/keyboards/lfkeyboards/lfk78/config.h +++ b/keyboards/lfkeyboards/lfk78/config.h | |||
| @@ -88,59 +88,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 88 | //#define FORCE_NKRO | 88 | //#define FORCE_NKRO |
| 89 | 89 | ||
| 90 | /* | 90 | /* |
| 91 | * Magic Key Options | ||
| 92 | * | ||
| 93 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 94 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 95 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 96 | * | ||
| 97 | * The options below allow the magic key functionality to be changed. This is | ||
| 98 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 99 | * | ||
| 100 | */ | ||
| 101 | |||
| 102 | /* key combination for magic key command */ | ||
| 103 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
| 104 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | ||
| 105 | |||
| 106 | /* control how magic key switches layers */ | ||
| 107 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 108 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 109 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 110 | |||
| 111 | /* override magic key keymap */ | ||
| 112 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 113 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 114 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 115 | //#define MAGIC_KEY_HELP H | ||
| 116 | //#define MAGIC_KEY_HELP_ALT SLASH | ||
| 117 | //#define MAGIC_KEY_DEBUG D | ||
| 118 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 119 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 120 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 121 | //#define MAGIC_KEY_VERSION V | ||
| 122 | //#define MAGIC_KEY_STATUS S | ||
| 123 | //#define MAGIC_KEY_CONSOLE C | ||
| 124 | //#define MAGIC_KEY_LAYER0 0 | ||
| 125 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
| 126 | //#define MAGIC_KEY_LAYER1 1 | ||
| 127 | //#define MAGIC_KEY_LAYER2 2 | ||
| 128 | //#define MAGIC_KEY_LAYER3 3 | ||
| 129 | //#define MAGIC_KEY_LAYER4 4 | ||
| 130 | //#define MAGIC_KEY_LAYER5 5 | ||
| 131 | //#define MAGIC_KEY_LAYER6 6 | ||
| 132 | //#define MAGIC_KEY_LAYER7 7 | ||
| 133 | //#define MAGIC_KEY_LAYER8 8 | ||
| 134 | //#define MAGIC_KEY_LAYER9 9 | ||
| 135 | //#define MAGIC_KEY_BOOTLOADER B | ||
| 136 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
| 137 | //#define MAGIC_KEY_LOCK CAPS | ||
| 138 | //#define MAGIC_KEY_EEPROM E | ||
| 139 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
| 140 | //#define MAGIC_KEY_NKRO N | ||
| 141 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 142 | |||
| 143 | /* | ||
| 144 | * Feature disable options | 91 | * Feature disable options |
| 145 | * These options are also useful to firmware size reduction. | 92 | * These options are also useful to firmware size reduction. |
| 146 | */ | 93 | */ |
diff --git a/keyboards/lfkeyboards/lfk87/config.h b/keyboards/lfkeyboards/lfk87/config.h index c03059092..d5b17005e 100644 --- a/keyboards/lfkeyboards/lfk87/config.h +++ b/keyboards/lfkeyboards/lfk87/config.h | |||
| @@ -98,54 +98,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 98 | //#define FORCE_NKRO | 98 | //#define FORCE_NKRO |
| 99 | 99 | ||
| 100 | /* | 100 | /* |
| 101 | * Magic Key Options | ||
| 102 | * | ||
| 103 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 104 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 105 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 106 | * | ||
| 107 | * The options below allow the magic key functionality to be changed. This is | ||
| 108 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 109 | * | ||
| 110 | */ | ||
| 111 | |||
| 112 | /* control how magic key switches layers */ | ||
| 113 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 114 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 115 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 116 | |||
| 117 | /* override magic key keymap */ | ||
| 118 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 119 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 120 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 121 | //#define MAGIC_KEY_HELP1 H | ||
| 122 | //#define MAGIC_KEY_HELP2 SLASH | ||
| 123 | //#define MAGIC_KEY_DEBUG D | ||
| 124 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 125 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 126 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 127 | //#define MAGIC_KEY_VERSION V | ||
| 128 | //#define MAGIC_KEY_STATUS S | ||
| 129 | //#define MAGIC_KEY_CONSOLE C | ||
| 130 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
| 131 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
| 132 | //#define MAGIC_KEY_LAYER0 0 | ||
| 133 | //#define MAGIC_KEY_LAYER1 1 | ||
| 134 | //#define MAGIC_KEY_LAYER2 2 | ||
| 135 | //#define MAGIC_KEY_LAYER3 3 | ||
| 136 | //#define MAGIC_KEY_LAYER4 4 | ||
| 137 | //#define MAGIC_KEY_LAYER5 5 | ||
| 138 | //#define MAGIC_KEY_LAYER6 6 | ||
| 139 | //#define MAGIC_KEY_LAYER7 7 | ||
| 140 | //#define MAGIC_KEY_LAYER8 8 | ||
| 141 | //#define MAGIC_KEY_LAYER9 9 | ||
| 142 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
| 143 | //#define MAGIC_KEY_LOCK CAPS | ||
| 144 | //#define MAGIC_KEY_EEPROM E | ||
| 145 | //#define MAGIC_KEY_NKRO N | ||
| 146 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 147 | |||
| 148 | /* | ||
| 149 | * Feature disable options | 101 | * Feature disable options |
| 150 | * These options are also useful to firmware size reduction. | 102 | * These options are also useful to firmware size reduction. |
| 151 | */ | 103 | */ |
diff --git a/keyboards/lfkeyboards/lfkpad/config.h b/keyboards/lfkeyboards/lfkpad/config.h index e2181a9e6..972b0283b 100644 --- a/keyboards/lfkeyboards/lfkpad/config.h +++ b/keyboards/lfkeyboards/lfkpad/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_MASK_SHIFT) | ||
| 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/lfkeyboards/mini1800/config.h b/keyboards/lfkeyboards/mini1800/config.h index b8c0f2b67..598f08a6f 100644 --- a/keyboards/lfkeyboards/mini1800/config.h +++ b/keyboards/lfkeyboards/mini1800/config.h | |||
| @@ -85,54 +85,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 85 | //#define FORCE_NKRO | 85 | //#define FORCE_NKRO |
| 86 | 86 | ||
| 87 | /* | 87 | /* |
| 88 | * Magic Key Options | ||
| 89 | * | ||
| 90 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 91 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 92 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 93 | * | ||
| 94 | * The options below allow the magic key functionality to be changed. This is | ||
| 95 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 96 | * | ||
| 97 | */ | ||
| 98 | |||
| 99 | /* control how magic key switches layers */ | ||
| 100 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 101 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 102 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 103 | |||
| 104 | /* override magic key keymap */ | ||
| 105 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 106 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 107 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 108 | //#define MAGIC_KEY_HELP1 H | ||
| 109 | //#define MAGIC_KEY_HELP2 SLASH | ||
| 110 | //#define MAGIC_KEY_DEBUG D | ||
| 111 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 112 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 113 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 114 | //#define MAGIC_KEY_VERSION V | ||
| 115 | //#define MAGIC_KEY_STATUS S | ||
| 116 | //#define MAGIC_KEY_CONSOLE C | ||
| 117 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
| 118 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
| 119 | //#define MAGIC_KEY_LAYER0 0 | ||
| 120 | //#define MAGIC_KEY_LAYER1 1 | ||
| 121 | //#define MAGIC_KEY_LAYER2 2 | ||
| 122 | //#define MAGIC_KEY_LAYER3 3 | ||
| 123 | //#define MAGIC_KEY_LAYER4 4 | ||
| 124 | //#define MAGIC_KEY_LAYER5 5 | ||
| 125 | //#define MAGIC_KEY_LAYER6 6 | ||
| 126 | //#define MAGIC_KEY_LAYER7 7 | ||
| 127 | //#define MAGIC_KEY_LAYER8 8 | ||
| 128 | //#define MAGIC_KEY_LAYER9 9 | ||
| 129 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
| 130 | //#define MAGIC_KEY_LOCK CAPS | ||
| 131 | //#define MAGIC_KEY_EEPROM E | ||
| 132 | //#define MAGIC_KEY_NKRO N | ||
| 133 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 134 | |||
| 135 | /* | ||
| 136 | * Feature disable options | 88 | * Feature disable options |
| 137 | * These options are also useful to firmware size reduction. | 89 | * These options are also useful to firmware size reduction. |
| 138 | */ | 90 | */ |
