summaryrefslogtreecommitdiff
path: root/keyboards/capsunlocked/cu80/v2_ansi/rgb
diff options
context:
space:
mode:
authormaz0r <mazmage@gmail.com>2021-04-19 06:24:30 +0100
committerGitHub <noreply@github.com>2021-04-18 22:24:30 -0700
commit1e19227b31f449b72542372b9c1cade126ecafa2 (patch)
tree131edb91095983fa1895c60bddb6186feaa3d879 /keyboards/capsunlocked/cu80/v2_ansi/rgb
parent9b8c5c186005b557c45b4f8c7a52f4261c5ca28f (diff)
[Keyboard] Capsunlocked CU80 Squish and Refactor (#12193)
Co-authored-by: Ryan <fauxpark@gmail.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
Diffstat (limited to 'keyboards/capsunlocked/cu80/v2_ansi/rgb')
-rw-r--r--keyboards/capsunlocked/cu80/v2_ansi/rgb/config.h37
-rw-r--r--keyboards/capsunlocked/cu80/v2_ansi/rgb/readme.md3
-rw-r--r--keyboards/capsunlocked/cu80/v2_ansi/rgb/rules.mk3
3 files changed, 43 insertions, 0 deletions
diff --git a/keyboards/capsunlocked/cu80/v2_ansi/rgb/config.h b/keyboards/capsunlocked/cu80/v2_ansi/rgb/config.h
new file mode 100644
index 0000000000..87486a543f
--- /dev/null
+++ b/keyboards/capsunlocked/cu80/v2_ansi/rgb/config.h
@@ -0,0 +1,37 @@
+/*
+Copyright 2021 CapsUnlocked
+
+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
+
+/* enable RGB matrix */
+#define CU80_RGB
+
+/* update the product for RGB Matrix variant in VIA/VIAL and Remap-keys.app */
+#undef PRODUCT_ID
+#undef PRODUCT
+#define PRODUCT_ID 0x0082
+#define PRODUCT CU80 v2 ANSI RGB
+
+/* moved to RGB specific */
+#define RGB_MATRIX_KEYPRESSES
+#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 50
+
+/* RGB firmware override */
+#undef RGBLIGHT_ANIMATIONS
+#undef RGBLIGHT_HUE_STEP
+#undef RGBLIGHT_SAT_STEP
+#undef RGBLIGHT_VAL_STEP
+#undef RGBLIGHT_LIMIT_VAL
diff --git a/keyboards/capsunlocked/cu80/v2_ansi/rgb/readme.md b/keyboards/capsunlocked/cu80/v2_ansi/rgb/readme.md
new file mode 100644
index 0000000000..0919483592
--- /dev/null
+++ b/keyboards/capsunlocked/cu80/v2_ansi/rgb/readme.md
@@ -0,0 +1,3 @@
+# CU80 v2 ANSI RGB
+
+Overrides \ No newline at end of file
diff --git a/keyboards/capsunlocked/cu80/v2_ansi/rgb/rules.mk b/keyboards/capsunlocked/cu80/v2_ansi/rgb/rules.mk
new file mode 100644
index 0000000000..d4e53eda16
--- /dev/null
+++ b/keyboards/capsunlocked/cu80/v2_ansi/rgb/rules.mk
@@ -0,0 +1,3 @@
+RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
+RGB_MATRIX_ENABLE = yes # Enable RGB matrix
+RGB_MATRIX_DRIVER = WS2812 # Set Driver to WS2812