3 #include "config_common.h"
5 /* USB Device descriptor parameter */
6 #define VENDOR_ID 0xC1ED
7 #define PRODUCT_ID 0x2370
8 #define DEVICE_VER 0x0001
9 #define MANUFACTURER Clueboard
10 #define PRODUCT Clueboard
11 #define DESCRIPTION QMK keyboard firmware for Clueboard
14 #define MATRIX_ROWS 10
17 /* ROWS: Top to bottom, COLS: Left to right
19 #define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 }
20 #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 }
23 /* COL2ROW or ROW2COL */
24 #define DIODE_DIRECTION COL2ROW
26 /* Set 0 if debouncing isn't needed */
27 #define DEBOUNCING_DELAY 5
29 /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
30 #define LOCKING_SUPPORT_ENABLE
31 /* Locking resynchronize hack */
32 #define LOCKING_RESYNC_ENABLE
34 /* key combination for command */
35 #define IS_COMMAND() ( \
36 keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
40 * Feature disable options
41 * These options are also useful to firmware size reduction.
44 /* disable debug print */
50 /* disable action features */
51 //#define NO_ACTION_LAYER
52 //#define NO_ACTION_TAPPING
53 //#define NO_ACTION_ONESHOT
54 //#define NO_ACTION_MACRO
55 //#define NO_ACTION_FUNCTION
57 /* Backlight configuration
59 #define BACKLIGHT_LEVELS 1
61 /* Underlight configuration
64 #define RGBLED_NUM 18 // Number of LEDs
65 #define RGBLIGHT_HUE_STEP 32
66 #define RGBLIGHT_SAT_STEP 17
67 #define RGBLIGHT_VAL_STEP 17
69 #define RGBLIGHT_ANIMATIONS
70 #define RGBLIGHT_EFFECT_BREATHE_CENTER 1
71 #define RGBLIGHT_EFFECT_BREATHE_MAX 200
72 #define RGBLIGHT_EFFECT_CHRISTMAS_INTERVAL 666*2
73 #define RGBLIGHT_EFFECT_CHRISTMAS_STEP 1
74 #define RGBLIGHT_EFFECT_KNIGHT_LENGTH 3 // How many LEDs wide to light up
75 #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2 // The led to start at
76 #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel
77 #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up