summaryrefslogtreecommitdiffstats
path: root/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-06-21 03:34:03 +0000
committerQMK Bot <hello@qmk.fm>2022-06-21 03:34:03 +0000
commit2b23ca876d9beb2a8c87e081e8bf9ffb356db6ab (patch)
tree14c59d6040e2c56231e80ce713d7888896b379a8 /keyboards/labbe/labbeminiv1/keymaps/rgb/config.h
parent503b40e748ab2cf5c8bff3a70497fe7335143c5c (diff)
parent84718c0ab7fc3661d9420e9872e3a86732da52a9 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/labbe/labbeminiv1/keymaps/rgb/config.h')
-rw-r--r--keyboards/labbe/labbeminiv1/keymaps/rgb/config.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h b/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h
new file mode 100644
index 0000000000..7261bdb1d1
--- /dev/null
+++ b/keyboards/labbe/labbeminiv1/keymaps/rgb/config.h
@@ -0,0 +1,28 @@
+/*
+ * 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
+
+// ws2812 options
+#define RGB_DI_PIN C7 // pin the DI on the ws2812 is hooked-up to
+
+#define RGBLED_NUM 4 // number of LEDs
+#define RGBLIGHT_DEFAULT_MODE 6 // set the rainbow mode
+#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
+#define RGBLIGHT_SAT_STEP 25 // units to step when in/decresing saturation
+#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
+#define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
+#define RGBLIGHT_SLEEP // If defined, the RGB lighting will be switched off when the host goes to sleep
+#define RGBLIGHT_EFFECT_RAINBOW_MOOD \ No newline at end of file