aboutsummaryrefslogtreecommitdiff
path: root/keyboards/diverge3
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-01-26 15:49:45 -0800
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-01-26 15:49:45 -0800
commitb05c0e46c6c62972b68518635104fb58927d1a13 (patch)
tree4037e0ff8b7d52aee235e9a7e31083984b453777 /keyboards/diverge3
parent478538e0d9938952568c62d135166d2cba15a70c (diff)
downloadqmk_firmware-b05c0e46c6c62972b68518635104fb58927d1a13.tar.gz
qmk_firmware-b05c0e46c6c62972b68518635104fb58927d1a13.zip
Adds a default value for IS_COMMAND for COMMAND feature (#4301)
* Add default value for IS_COMMAND for COMMAND feature * Cleanup and consistency * Update Templates to reflect change * Fix IS_COMMAND in template * Fix IS_COMMAND define * Use consistent IS_COMMAND block in templates * Remove unnecessary `#undef IS_COMMAND` directives * Fix compile issue on orthodox * Reomve IS_COMMAND option for newer boards * Remove all existing definitions of IS_COMMAND if they use default LSHIFT and RSHIFT setting * Remove a couple of additional IS_COMMAND defines * Remove remaining redundant IS_COMMAND definitions * Remove #undef IS_COMMAND from orthodox:drashna and whitefox:konstantin * Remove multiple empty lines in modified config.h files * Update additional boards * Reomve IS_COMMAND from newer boards * Update Alice keyboard * Remove IS_COMMAND from additional boards Jan 24th edition
Diffstat (limited to 'keyboards/diverge3')
-rw-r--r--keyboards/diverge3/config.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/keyboards/diverge3/config.h b/keyboards/diverge3/config.h
index 464dc835f..27938cf23 100644
--- a/keyboards/diverge3/config.h
+++ b/keyboards/diverge3/config.h
@@ -53,7 +53,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
53#define BACKLIGHT_BREATHING 53#define BACKLIGHT_BREATHING
54#define BACKLIGHT_LEVELS 5 54#define BACKLIGHT_LEVELS 5
55 55
56
57/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 56/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
58#define DEBOUNCING_DELAY 5 57#define DEBOUNCING_DELAY 5
59 58
@@ -63,7 +62,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
63/* define if matrix has ghost (lacks anti-ghosting diodes) */ 62/* define if matrix has ghost (lacks anti-ghosting diodes) */
64//#define MATRIX_HAS_GHOST 63//#define MATRIX_HAS_GHOST
65 64
66
67/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ 65/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
68#define LOCKING_SUPPORT_ENABLE 66#define LOCKING_SUPPORT_ENABLE
69/* Locking resynchronize hack */ 67/* Locking resynchronize hack */
@@ -107,11 +105,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
107 * 105 *
108 */ 106 */
109 107
110/* key combination for magic key command */
111#define IS_COMMAND() ( \
112 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
113)
114
115/* control how magic key switches layers */ 108/* control how magic key switches layers */
116//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true 109//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
117//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true 110//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true