summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/delphine/mono_led
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2020-09-01 07:20:19 +0700
committerGitHub <noreply@github.com>2020-08-31 17:20:19 -0700
commitfa740c12861f77b1381fa2ee282fd57080c70502 (patch)
tree7f71b71fdae4b7db815d381d3ae84f42f08fe2c2 /keyboards/mechlovin/delphine/mono_led
parent69804bb243989c06d276581cfdcc9e2f6fb188e6 (diff)
[Keyboard] Mechlovin Delphine (#9835)
* add * ADD * update * update * update * update * Update rgb_led.c * Update rgb_led.c
Diffstat (limited to 'keyboards/mechlovin/delphine/mono_led')
-rw-r--r--keyboards/mechlovin/delphine/mono_led/config.h34
-rw-r--r--keyboards/mechlovin/delphine/mono_led/rules.mk2
2 files changed, 36 insertions, 0 deletions
diff --git a/keyboards/mechlovin/delphine/mono_led/config.h b/keyboards/mechlovin/delphine/mono_led/config.h
new file mode 100644
index 0000000000..ead627937c
--- /dev/null
+++ b/keyboards/mechlovin/delphine/mono_led/config.h
@@ -0,0 +1,34 @@
+
+#pragma once
+
+#define PRODUCT_ID 0xDEF1
+#define DEVICE_VER 0x0001
+
+
+#ifdef BACKLIGHT_ENABLE
+#define BACKLIGHT_PIN B6
+// #define BACKLIGHT_BREATHING
+#define BACKLIGHT_LEVELS 3
+#endif
+
+#ifdef RGBLIGHT_ENABLE
+#define RGB_DI_PIN E2
+#define RGBLED_NUM 13
+#define RGBLIGHT_HUE_STEP 8
+#define RGBLIGHT_SAT_STEP 8
+#define RGBLIGHT_VAL_STEP 8
+#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 */
+/*== all animations enable ==*/
+#define RGBLIGHT_ANIMATIONS
+// /*== or choose animations ==*/
+// #define RGBLIGHT_EFFECT_BREATHING
+// #define RGBLIGHT_EFFECT_RAINBOW_MOOD
+// #define RGBLIGHT_EFFECT_RAINBOW_SWIRL
+// #define RGBLIGHT_EFFECT_SNAKE
+// #define RGBLIGHT_EFFECT_KNIGHT
+// #define RGBLIGHT_EFFECT_CHRISTMAS
+// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
+// #define RGBLIGHT_EFFECT_RGB_TEST
+// #define RGBLIGHT_EFFECT_ALTERNATING
+#endif \ No newline at end of file
diff --git a/keyboards/mechlovin/delphine/mono_led/rules.mk b/keyboards/mechlovin/delphine/mono_led/rules.mk
new file mode 100644
index 0000000000..ed572b0bbf
--- /dev/null
+++ b/keyboards/mechlovin/delphine/mono_led/rules.mk
@@ -0,0 +1,2 @@
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow \ No newline at end of file