3 #include "config_common.h"
5 /* USB Device descriptor parameter */
6 #define VENDOR_ID 0xC1ED
7 #define PRODUCT_ID 0x2390
8 #define DEVICE_VER 0x0001
9 #define MANUFACTURER Clueboard
10 #define PRODUCT Clueboard 66% rev4
11 #define DESCRIPTION QMK keyboard firmware for Clueboard
13 /* Address for jumping to bootloader on STM32 chips. */
14 /* It is chip dependent, the correct number can be looked up here:
15 * http://www.st.com/web/en/resource/technical/document/application_note/CD00167594.pdf
17 #define STM32_BOOTLOADER_ADDRESS 0x1FFFD800
20 #define MATRIX_ROWS 10
23 /* ROWS: Top to bottom, COLS: Left to right
25 #define MATRIX_ROW_PINS { B11, A6, A3, A2, A1, B7, B6, C15, C14, C13 }
26 #define MATRIX_COL_PINS { B10, B2, B1, B0, A7, B4, B3, B5 }
27 #define UNUSED_PINS { B15, B14, B13, B12, B9, B8, A15, A10, A9, A8 }
29 /* COL2ROW or ROW2COL */
30 #define DIODE_DIRECTION COL2ROW
32 /* Set 0 if debouncing isn't needed */
35 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
36 #define LOCKING_SUPPORT_ENABLE
37 /* Locking resynchronize hack */
38 #define LOCKING_RESYNC_ENABLE
41 * Feature disable options
42 * These options are also useful to firmware size reduction.
45 /* disable debug print */
51 /* disable action features */
52 //#define NO_ACTION_LAYER
53 //#define NO_ACTION_TAPPING
54 //#define NO_ACTION_ONESHOT
55 //#define NO_ACTION_MACRO
56 //#define NO_ACTION_FUNCTION
58 /* Backlight configuration
60 #define BACKLIGHT_LEVELS 1
62 /* Underlight configuration
65 #define RGBLED_NUM 18 // Number of LEDs
66 #define RGBLIGHT_HUE_STEP 32
67 #define RGBLIGHT_SAT_STEP 17
68 #define RGBLIGHT_VAL_STEP 17
70 #define RGBLIGHT_ANIMATIONS
71 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
72 #define RGBLIGHT_EFFECT_BREATHE_MAX 200
73 #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
74 #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
75 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3 // How many LEDs wide to light up
76 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2 // The led to start at
77 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel
78 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up