]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/66/rev4/config.h
Replace DEBOUNCING_DELAY (deprecated) with DEBOUNCE (#5997)
[qmk_firmware.git] / keyboards / clueboard / 66 / rev4 / config.h
1 #pragma once
2
3 #include "config_common.h"
4
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
12
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
16  */
17 #define STM32_BOOTLOADER_ADDRESS 0x1FFFD800
18
19 /* key matrix size */
20 #define MATRIX_ROWS 10
21 #define MATRIX_COLS 8
22
23 /* ROWS: Top to bottom, COLS: Left to right
24 */
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 }
28
29 /* COL2ROW or ROW2COL */
30 #define DIODE_DIRECTION COL2ROW
31
32 /* Set 0 if debouncing isn't needed */
33 #define DEBOUNCE 5
34
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
39
40 /*
41  * Feature disable options
42  *  These options are also useful to firmware size reduction.
43  */
44
45 /* disable debug print */
46 //#define NO_DEBUG
47
48 /* disable print */
49 //#define NO_PRINT
50
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
57
58  /* Backlight configuration
59  */
60 #define BACKLIGHT_LEVELS 1
61
62 /* Underlight configuration
63  */
64 #define RGB_DI_PIN D7
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
69
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