summaryrefslogtreecommitdiff
path: root/layouts/community/split_3x6_3/bcat/config.h
diff options
context:
space:
mode:
authorJonathan Rascher <jon@bcat.name>2020-11-06 00:41:06 -0600
committerGitHub <noreply@github.com>2020-11-05 22:41:06 -0800
commitb5ebdf1b3a29119e1a414aaf7e2cf7a583853430 (patch)
tree201253b69b27b16ba30f86dec34298c35e477a97 /layouts/community/split_3x6_3/bcat/config.h
parentd7c90d805f414198a44d1b714363721df38950d6 (diff)
downloadqmk_firmware-b5ebdf1b3a29119e1a414aaf7e2cf7a583853430.tar.gz
qmk_firmware-b5ebdf1b3a29119e1a414aaf7e2cf7a583853430.zip
[Keymap] bcat keymaps and userspace (#10705)
Add Eco keymap, factor Crkbd keymap to community layout, other minor tweaks * Remove outdated Crkbd Ctrl key positioning info * Add Left Alt key to Lily58 keymap * Lily58 no longer overrides default TAPPING_TERM * Refactor Crkbd keymap to use new community layout * Fix underglow animations for Crkbd w/ Split Common * Add initial Eco keymap * Update outdated reference to Crkbd layout * Add keymap links to userspace readme * Add copyright notices to files changed in this PR
Diffstat (limited to 'layouts/community/split_3x6_3/bcat/config.h')
-rw-r--r--layouts/community/split_3x6_3/bcat/config.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/layouts/community/split_3x6_3/bcat/config.h b/layouts/community/split_3x6_3/bcat/config.h
new file mode 100644
index 0000000000..e177f0ffcb
--- /dev/null
+++ b/layouts/community/split_3x6_3/bcat/config.h
@@ -0,0 +1,34 @@
+/* Copyright 2020 Jonathan Rascher
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+#pragma once
+
+#if defined(KEYBOARD_crkbd_rev1_common) || defined(KEYBOARD_crkbd_rev1_legacy)
+# define EE_HANDS
+
+# if defined(RGBLIGHT_ENABLE)
+/* Configure RGB for underglow only (first six LEDs on each side). */
+# undef RGBLED_SPLIT
+# define RGBLED_SPLIT \
+ { 6, 6 }
+# endif
+
+# if defined(RGB_MATRIX_ENABLE)
+/* Limit max RGB LED current to avoid tripping controller fuse. */
+# undef RGB_MATRIX_MAXIMUM_BRIGHTNESS
+# define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150
+# endif
+#endif