summaryrefslogtreecommitdiff
path: root/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
diff options
context:
space:
mode:
authormechlovin <57231893+mechlovin@users.noreply.github.com>2020-11-24 02:47:01 +0700
committerGitHub <noreply@github.com>2020-11-23 19:47:01 +0000
commit429474d1c323bf746b0ed158ae9aa2002319009d (patch)
tree1be3501f63c0683fc7f698374f3a29543ec07f0b /keyboards/mechlovin/adelais/rgb_led/rev2/config.h
parent6f9934c669ff299f73121c42fef006b9eb0952b0 (diff)
refactor adelais en ciel rev.2, mechlovin9 (#10930)
Co-authored-by: vuhopkep <boy9x0@gmail.com>
Diffstat (limited to 'keyboards/mechlovin/adelais/rgb_led/rev2/config.h')
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev2/config.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
index 534abc0f6f..38ffdd40ae 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
+++ b/keyboards/mechlovin/adelais/rgb_led/rev2/config.h
@@ -3,6 +3,10 @@
#define PRODUCT_ID 0xAEC2
#define PRODUCT Adelais En Ciel Rev2
+#define MATRIX_ROW_PINS { B1, A0, C13, A1, A2}
+#define MATRIX_COL_PINS { A10, A9, A8, B15, B14, B13, B12, B11, B10, B8, B4, B5, B3, C14, A7 }
+
+#define RGB_DI_PIN A15
#define RGBLED_NUM 23
#define RGBLIGHT_ANIMATIONS
#define RGBLIGHT_HUE_STEP 8
@@ -18,7 +22,7 @@
// 0b1110101 AD <-> SCL
// 0b1110110 AD <-> SDA
#define DRIVER_ADDR_1 0b1110100
-#define DRIVER_ADDR_2 0b1110101
+#define DRIVER_ADDR_2 0b1110110
#define DRIVER_COUNT 2
#define DRIVER_1_LED_TOTAL 32
#define DRIVER_2_LED_TOTAL 36
@@ -32,4 +36,10 @@
#define RGB_MATRIX_MAXIMUM_BRIGHTNESS 255 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set
-#define RGB_MATRIX_DISABLE_KEYCODES \ No newline at end of file
+#define RGB_MATRIX_DISABLE_KEYCODES
+
+#define ENCODERS_PAD_A { A4 }
+#define ENCODERS_PAD_B { A3 }
+#define ENCODER_RESOLUTION 4
+
+#define TAP_CODE_DELAY 10 \ No newline at end of file