diff options
author | Drashna Jaelre <drashna@live.com> | 2019-01-26 15:49:45 -0800 |
---|---|---|
committer | MechMerlin <30334081+mechmerlin@users.noreply.github.com> | 2019-01-26 15:49:45 -0800 |
commit | b05c0e46c6c62972b68518635104fb58927d1a13 (patch) | |
tree | 4037e0ff8b7d52aee235e9a7e31083984b453777 /keyboards/zinc | |
parent | 478538e0d9938952568c62d135166d2cba15a70c (diff) | |
download | qmk_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/zinc')
-rw-r--r-- | keyboards/zinc/rev1/config.h | 8 | ||||
-rw-r--r-- | keyboards/zinc/reva/config.h | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/keyboards/zinc/rev1/config.h b/keyboards/zinc/rev1/config.h index c628400f2..370b5c203 100644 --- a/keyboards/zinc/rev1/config.h +++ b/keyboards/zinc/rev1/config.h | |||
@@ -29,7 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
29 | #define PRODUCT zinc rev.1 | 29 | #define PRODUCT zinc rev.1 |
30 | #define DESCRIPTION A split keyboard | 30 | #define DESCRIPTION A split keyboard |
31 | 31 | ||
32 | |||
33 | #define PREVENT_STUCK_MODIFIERS | 32 | #define PREVENT_STUCK_MODIFIERS |
34 | #define TAPPING_FORCE_HOLD | 33 | #define TAPPING_FORCE_HOLD |
35 | #define TAPPING_TERM 100 | 34 | #define TAPPING_TERM 100 |
@@ -44,7 +43,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
44 | //#define MASTER_RIGHT | 43 | //#define MASTER_RIGHT |
45 | //#define EE_HANDS | 44 | //#define EE_HANDS |
46 | 45 | ||
47 | |||
48 | /* key matrix size */ | 46 | /* key matrix size */ |
49 | // Rows are doubled-up | 47 | // Rows are doubled-up |
50 | #define MATRIX_ROWS 8 | 48 | #define MATRIX_ROWS 8 |
@@ -68,11 +66,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
68 | /* Locking resynchronize hack */ | 66 | /* Locking resynchronize hack */ |
69 | //#define LOCKING_RESYNC_ENABLE | 67 | //#define LOCKING_RESYNC_ENABLE |
70 | 68 | ||
71 | /* key combination for command */ | ||
72 | #define IS_COMMAND() ( \ | ||
73 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||
74 | ) | ||
75 | |||
76 | /* ws2812 RGB LED */ | 69 | /* ws2812 RGB LED */ |
77 | #define RGB_DI_PIN D3 | 70 | #define RGB_DI_PIN D3 |
78 | #define RGBLIGHT_TIMER | 71 | #define RGBLIGHT_TIMER |
@@ -145,5 +138,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
145 | //#define NO_ACTION_MACRO | 138 | //#define NO_ACTION_MACRO |
146 | //#define NO_ACTION_FUNCTION | 139 | //#define NO_ACTION_FUNCTION |
147 | 140 | ||
148 | |||
149 | //#endif | 141 | //#endif |
diff --git a/keyboards/zinc/reva/config.h b/keyboards/zinc/reva/config.h index 158051890..f4277f713 100644 --- a/keyboards/zinc/reva/config.h +++ b/keyboards/zinc/reva/config.h | |||
@@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
26 | #define PRODUCT zinc rev.A | 26 | #define PRODUCT zinc rev.A |
27 | #define DESCRIPTION A split keyboard | 27 | #define DESCRIPTION A split keyboard |
28 | 28 | ||
29 | |||
30 | #define PREVENT_STUCK_MODIFIERS | 29 | #define PREVENT_STUCK_MODIFIERS |
31 | #define TAPPING_FORCE_HOLD | 30 | #define TAPPING_FORCE_HOLD |
32 | #define TAPPING_TERM 100 | 31 | #define TAPPING_TERM 100 |
@@ -41,7 +40,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
41 | //#define MASTER_RIGHT | 40 | //#define MASTER_RIGHT |
42 | //#define EE_HANDS | 41 | //#define EE_HANDS |
43 | 42 | ||
44 | |||
45 | /* key matrix size */ | 43 | /* key matrix size */ |
46 | // Rows are doubled-up | 44 | // Rows are doubled-up |
47 | #define MATRIX_ROWS 8 | 45 | #define MATRIX_ROWS 8 |
@@ -65,11 +63,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
65 | /* Locking resynchronize hack */ | 63 | /* Locking resynchronize hack */ |
66 | //#define LOCKING_RESYNC_ENABLE | 64 | //#define LOCKING_RESYNC_ENABLE |
67 | 65 | ||
68 | /* key combination for command */ | ||
69 | #define IS_COMMAND() ( \ | ||
70 | keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \ | ||
71 | ) | ||
72 | |||
73 | /* ws2812 RGB LED */ | 66 | /* ws2812 RGB LED */ |
74 | #define RGB_DI_PIN D3 | 67 | #define RGB_DI_PIN D3 |
75 | #define RGBLIGHT_TIMER | 68 | #define RGBLIGHT_TIMER |