summaryrefslogtreecommitdiff
path: root/keyboards/capsunlocked/cu80/v2_ansi/rgb/config.h
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/config.h
parent9b8c5c186005b557c45b4f8c7a52f4261c5ca28f (diff)
downloadqmk_firmware-1e19227b31f449b72542372b9c1cade126ecafa2.tar.gz
qmk_firmware-1e19227b31f449b72542372b9c1cade126ecafa2.zip
[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/config.h')
-rw-r--r--keyboards/capsunlocked/cu80/v2_ansi/rgb/config.h37
1 files changed, 37 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