aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/mechlovin/adelais/standard_led
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2020-05-09 16:38:19 +0700
committerGitHub <noreply@github.com>2020-05-09 02:38:19 -0700
commit4c4009c0fd3e55c2eacde302ef08e56a3ff2ab60 (patch)
tree31c54de4cfaf80972ac203a38f23a8b2465d5b72 /keyboards/mechlovin/adelais/standard_led
parente7860d673b0e671988711a487931f61926dbbd56 (diff)
downloadfirmware-4c4009c0fd3e55c2eacde302ef08e56a3ff2ab60.tar.gz
firmware-4c4009c0fd3e55c2eacde302ef08e56a3ff2ab60.tar.bz2
firmware-4c4009c0fd3e55c2eacde302ef08e56a3ff2ab60.zip
[Keyboard] add adelais PCB (#8945)
* add adelais PCB * clean up * merger * update * Update readme.md * Update config.h * update * update * move keymap folder * Update info.json * Update info.json * Update info.json Co-authored-by: vuhopkep <boy9x0@gmail.com>
Diffstat (limited to 'keyboards/mechlovin/adelais/standard_led')
-rw-r--r--keyboards/mechlovin/adelais/standard_led/config.h15
-rw-r--r--keyboards/mechlovin/adelais/standard_led/rules.mk3
2 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/mechlovin/adelais/standard_led/config.h b/keyboards/mechlovin/adelais/standard_led/config.h
new file mode 100644
index 000000000..0de6cc6b4
--- /dev/null
+++ b/keyboards/mechlovin/adelais/standard_led/config.h
@@ -0,0 +1,15 @@
+#pragma once
+
+#define PRODUCT_ID 0xAD01
+#define PRODUCT Adelais
+#define DESCRIPTION Team.Mechlovin Adelais
+
+#define BACKLIGHT_PIN B0
+#define BACKLIGHT_BREATHING
+#define BACKLIGHT_PWM_DRIVER PWMD3
+#define BACKLIGHT_PWM_CHANNEL 3
+
+#define RGB_DI_PIN A7
+#define RGBLED_NUM 23
+#define RGBLIGHT_LIMIT_VAL 255
+#define RGBLIGHT_ANIMATIONS
diff --git a/keyboards/mechlovin/adelais/standard_led/rules.mk b/keyboards/mechlovin/adelais/standard_led/rules.mk
new file mode 100644
index 000000000..4ddc35240
--- /dev/null
+++ b/keyboards/mechlovin/adelais/standard_led/rules.mk
@@ -0,0 +1,3 @@
+BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
+BACKLIGHT_DRIVER = pwm
+RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow \ No newline at end of file