aboutsummaryrefslogtreecommitdiff
path: root/keyboards/meira
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/meira
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/meira')
-rw-r--r--keyboards/meira/featherble/config.h6
-rw-r--r--keyboards/meira/promicro/config.h6
2 files changed, 0 insertions, 12 deletions
diff --git a/keyboards/meira/featherble/config.h b/keyboards/meira/featherble/config.h
index b7cdfe8bd..d8f86fe02 100644
--- a/keyboards/meira/featherble/config.h
+++ b/keyboards/meira/featherble/config.h
@@ -47,7 +47,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
47// #define BACKLIGHT_BREATHING 47// #define BACKLIGHT_BREATHING
48//#define BACKLIGHT_LEVELS 3 48//#define BACKLIGHT_LEVELS 3
49 49
50
51/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ 50/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
52#define DEBOUNCING_DELAY 5 51#define DEBOUNCING_DELAY 5
53 52
@@ -94,11 +93,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
94 * 93 *
95 */ 94 */
96 95
97/* key combination for magic key command */
98#define IS_COMMAND() ( \
99 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
100)
101
102/* control how magic key switches layers */ 96/* control how magic key switches layers */
103//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true 97//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
104//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true 98//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true
diff --git a/keyboards/meira/promicro/config.h b/keyboards/meira/promicro/config.h
index 0c4e8f17f..3c2113a20 100644
--- a/keyboards/meira/promicro/config.h
+++ b/keyboards/meira/promicro/config.h
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
20 20
21#include "config_common.h" 21#include "config_common.h"
22 22
23
24/* 23/*
25 * Keyboard Matrix Assignments 24 * Keyboard Matrix Assignments
26 * 25 *
@@ -83,11 +82,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
83 * 82 *
84 */ 83 */
85 84
86/* key combination for magic key command */
87#define IS_COMMAND() ( \
88 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
89)
90
91/* control how magic key switches layers */ 85/* control how magic key switches layers */
92//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true 86//#define MAGIC_KEY_SWITCH_LAYER_WITH_FKEYS true
93//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true 87//#define MAGIC_KEY_SWITCH_LAYER_WITH_NKEYS true