]> git.donarmstrong.com Git - qmk_firmware.git/blob - keyboards/clueboard/66/rev3/config.h
Clueboard refresh (#4902)
[qmk_firmware.git] / keyboards / clueboard / 66 / rev3 / 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      0x2370
8 #define DEVICE_VER      0x0001
9 #define MANUFACTURER    Clueboard
10 #define PRODUCT         Clueboard
11 #define DESCRIPTION     QMK keyboard firmware for Clueboard
12
13 /* key matrix size */
14 #define MATRIX_ROWS 10
15 #define MATRIX_COLS 8
16
17 /* ROWS: Top to bottom, COLS: Left to right
18 */
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 }
21 #define UNUSED_PINS
22
23 /* COL2ROW or ROW2COL */
24 #define DIODE_DIRECTION COL2ROW
25
26 /* Set 0 if debouncing isn't needed */
27 #define DEBOUNCING_DELAY 5
28
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
33
34 /* key combination for command */
35 #define IS_COMMAND() ( \
36     keyboard_report->mods == (MOD_BIT(KC_LSHIFT) | MOD_BIT(KC_RSHIFT)) \
37 )
38
39 /*
40  * Feature disable options
41  *  These options are also useful to firmware size reduction.
42  */
43
44 /* disable debug print */
45 //#define NO_DEBUG
46
47 /* disable print */
48 //#define NO_PRINT
49
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
56
57  /* Backlight configuration
58  */
59 #define BACKLIGHT_LEVELS 1
60
61 /* Underlight configuration
62  */
63 #define RGB_DI_PIN D7
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
68
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