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/switchplate | |
| 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/switchplate')
| -rw-r--r-- | keyboards/switchplate/southpaw_65/config.h | 52 | ||||
| -rw-r--r-- | keyboards/switchplate/southpaw_fullsize/config.h | 53 |
2 files changed, 0 insertions, 105 deletions
diff --git a/keyboards/switchplate/southpaw_65/config.h b/keyboards/switchplate/southpaw_65/config.h index ee6567b23..7512e0e2b 100644 --- a/keyboards/switchplate/southpaw_65/config.h +++ b/keyboards/switchplate/southpaw_65/config.h | |||
| @@ -113,58 +113,6 @@ | |||
| 113 | //#define FORCE_NKRO | 113 | //#define FORCE_NKRO |
| 114 | 114 | ||
| 115 | /* | 115 | /* |
| 116 | * Magic Key Options | ||
| 117 | * | ||
| 118 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 119 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 120 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 121 | * | ||
| 122 | * The options below allow the magic key functionality to be changed. This is | ||
| 123 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 124 | * | ||
| 125 | */ | ||
| 126 | |||
| 127 | /* key combination for magic key command */ | ||
| 128 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
| 129 | // #define IS_COMMAND() (get_mods() == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT))) | ||
| 130 | |||
| 131 | /* control how magic key switches layers */ | ||
| 132 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true | ||
| 133 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true | ||
| 134 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM false | ||
| 135 | |||
| 136 | /* override magic key keymap */ | ||
| 137 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS | ||
| 138 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS | ||
| 139 | //#define MAGIC_KEY_SWITCH_LAYER_WITH_CUSTOM | ||
| 140 | //#define MAGIC_KEY_HELP1 H | ||
| 141 | //#define MAGIC_KEY_HELP2 SLASH | ||
| 142 | //#define MAGIC_KEY_DEBUG D | ||
| 143 | //#define MAGIC_KEY_DEBUG_MATRIX X | ||
| 144 | //#define MAGIC_KEY_DEBUG_KBD K | ||
| 145 | //#define MAGIC_KEY_DEBUG_MOUSE M | ||
| 146 | //#define MAGIC_KEY_VERSION V | ||
| 147 | //#define MAGIC_KEY_STATUS S | ||
| 148 | //#define MAGIC_KEY_CONSOLE C | ||
| 149 | //#define MAGIC_KEY_LAYER0_ALT1 ESC | ||
| 150 | //#define MAGIC_KEY_LAYER0_ALT2 GRAVE | ||
| 151 | //#define MAGIC_KEY_LAYER0 0 | ||
| 152 | //#define MAGIC_KEY_LAYER1 1 | ||
| 153 | //#define MAGIC_KEY_LAYER2 2 | ||
| 154 | //#define MAGIC_KEY_LAYER3 3 | ||
| 155 | //#define MAGIC_KEY_LAYER4 4 | ||
| 156 | //#define MAGIC_KEY_LAYER5 5 | ||
| 157 | //#define MAGIC_KEY_LAYER6 6 | ||
| 158 | //#define MAGIC_KEY_LAYER7 7 | ||
| 159 | //#define MAGIC_KEY_LAYER8 8 | ||
| 160 | //#define MAGIC_KEY_LAYER9 9 | ||
| 161 | //#define MAGIC_KEY_BOOTLOADER PAUSE | ||
| 162 | //#define MAGIC_KEY_LOCK CAPS | ||
| 163 | //#define MAGIC_KEY_EEPROM E | ||
| 164 | //#define MAGIC_KEY_NKRO N | ||
| 165 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 166 | |||
| 167 | /* | ||
| 168 | * Feature disable options | 116 | * Feature disable options |
| 169 | * These options are also useful to firmware size reduction. | 117 | * These options are also useful to firmware size reduction. |
| 170 | */ | 118 | */ |
diff --git a/keyboards/switchplate/southpaw_fullsize/config.h b/keyboards/switchplate/southpaw_fullsize/config.h index c319b54ce..c15cb1d0b 100644 --- a/keyboards/switchplate/southpaw_fullsize/config.h +++ b/keyboards/switchplate/southpaw_fullsize/config.h | |||
| @@ -63,59 +63,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 63 | #define LOCKING_RESYNC_ENABLE | 63 | #define LOCKING_RESYNC_ENABLE |
| 64 | 64 | ||
| 65 | /* | 65 | /* |
| 66 | * Magic Key Options | ||
| 67 | * | ||
| 68 | * Magic keys are hotkey commands that allow control over firmware functions of | ||
| 69 | * the keyboard. They are best used in combination with the HID Listen program, | ||
| 70 | * found here: https://www.pjrc.com/teensy/hid_listen.html | ||
| 71 | * | ||
| 72 | * The options below allow the magic key functionality to be changed. This is | ||
| 73 | * useful if your keyboard/keypad is missing keys and you want magic key support. | ||
| 74 | * | ||
| 75 | */ | ||
| 76 | |||
| 77 | /* key combination for magic key command */ | ||
| 78 | /* defined by default; to change, uncomment and set to the combination you want */ | ||
| 79 | // #define IS_COMMAND() (get_mods() == MOD_MASK_SHIFT) | ||
| 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_HELP H | ||
| 91 | //#define MAGIC_KEY_HELP_ALT 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 0 | ||
| 100 | //#define MAGIC_KEY_LAYER0_ALT GRAVE | ||
| 101 | //#define MAGIC_KEY_LAYER1 1 | ||
| 102 | //#define MAGIC_KEY_LAYER2 2 | ||
| 103 | //#define MAGIC_KEY_LAYER3 3 | ||
| 104 | //#define MAGIC_KEY_LAYER4 4 | ||
| 105 | //#define MAGIC_KEY_LAYER5 5 | ||
| 106 | //#define MAGIC_KEY_LAYER6 6 | ||
| 107 | //#define MAGIC_KEY_LAYER7 7 | ||
| 108 | //#define MAGIC_KEY_LAYER8 8 | ||
| 109 | //#define MAGIC_KEY_LAYER9 9 | ||
| 110 | //#define MAGIC_KEY_BOOTLOADER B | ||
| 111 | //#define MAGIC_KEY_BOOTLOADER_ALT ESC | ||
| 112 | //#define MAGIC_KEY_LOCK CAPS | ||
| 113 | //#define MAGIC_KEY_EEPROM E | ||
| 114 | //#define MAGIC_KEY_EEPROM_CLEAR BSPACE | ||
| 115 | //#define MAGIC_KEY_NKRO N | ||
| 116 | //#define MAGIC_KEY_SLEEP_LED Z | ||
| 117 | |||
| 118 | /* | ||
| 119 | * Feature disable options | 66 | * Feature disable options |
| 120 | * These options are also useful to firmware size reduction. | 67 | * These options are also useful to firmware size reduction. |
| 121 | */ | 68 | */ |
