2020-08-07 12:46:16 +02:00
# pragma once
# define PRODUCT_ID 0xAEC2
2021-06-10 07:59:19 +02:00
# define PRODUCT Adelais En Ciel Rev2
2020-08-07 12:46:16 +02:00
2020-11-23 20:47:01 +01:00
# 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
2020-08-07 12:46:16 +02:00
# define RGBLED_NUM 23
# define RGBLIGHT_ANIMATIONS
# define RGBLIGHT_HUE_STEP 8
# define RGBLIGHT_SAT_STEP 8
# define RGBLIGHT_VAL_STEP 8
//rgb matrix setting
// This is a 7-bit address, that gets left-shifted and bit 0
// set to 0 for write, 1 for read (as per I2C protocol)
// The address will vary depending on your wiring:
// 0b1110100 AD <-> GND
// 0b1110111 AD <-> VCC
// 0b1110101 AD <-> SCL
// 0b1110110 AD <-> SDA
# define DRIVER_ADDR_1 0b1110100
2020-11-23 20:47:01 +01:00
# define DRIVER_ADDR_2 0b1110110
2020-08-07 12:46:16 +02:00
# define DRIVER_COUNT 2
# define DRIVER_1_LED_TOTAL 32
# define DRIVER_2_LED_TOTAL 36
# define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
# define RGB_MATRIX_KEYPRESSES // reacts to keypresses
# define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
# define RGB_MATRIX_FRAMEBUFFER_EFFECTS
# define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects
2021-09-24 09:13:23 +02:00
# define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended
2020-08-07 12:46:16 +02:00
# define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness)
# 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
2020-11-23 20:47:01 +01:00
# define RGB_MATRIX_DISABLE_KEYCODES
# define ENCODERS_PAD_A { A4 }
# define ENCODERS_PAD_B { A3 }
# define ENCODER_RESOLUTION 4
2021-06-10 07:59:19 +02:00
# define TAP_CODE_DELAY 10
2021-09-24 09:13:23 +02:00
# define LED_NUM_LOCK_PIN C15
# define LED_CAPS_LOCK_PIN B2
# define LED_SCROLL_LOCK_PIN B9