summaryrefslogtreecommitdiffstats
path: root/keyboards/capsunlocked/cu80/v2_ansi/rgb
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-04-19 05:25:03 +0000
committerQMK Bot <hello@qmk.fm>2021-04-19 05:25:03 +0000
commit2e7fd319a1db635bc622322f88963da726ed1c47 (patch)
treea5da94b07c8d6df4a062cf475338bc58ada24321 /keyboards/capsunlocked/cu80/v2_ansi/rgb
parent21997e88944b192da1f207b9d69912ea245c7866 (diff)
parent1e19227b31f449b72542372b9c1cade126ecafa2 (diff)
Merge remote-tracking branch 'origin/master' into develop
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