diff options
Diffstat (limited to 'keyboards/clueboard/66/rev3/config.h')
| -rw-r--r-- | keyboards/clueboard/66/rev3/config.h | 53 |
1 files changed, 41 insertions, 12 deletions
diff --git a/keyboards/clueboard/66/rev3/config.h b/keyboards/clueboard/66/rev3/config.h index 218736a88..e7cda4ccf 100644 --- a/keyboards/clueboard/66/rev3/config.h +++ b/keyboards/clueboard/66/rev3/config.h | |||
| @@ -1,28 +1,59 @@ | |||
| 1 | #ifndef CLUEBOARD_66_REV3_CONFIG_H | 1 | #pragma once |
| 2 | #define CLUEBOARD_66_REV3_CONFIG_H | ||
| 3 | 2 | ||
| 4 | #include "config_common.h" | 3 | #include "config_common.h" |
| 5 | 4 | ||
| 5 | /* USB Device descriptor parameter */ | ||
| 6 | #define VENDOR_ID 0xC1ED | ||
| 6 | #define PRODUCT_ID 0x2370 | 7 | #define PRODUCT_ID 0x2370 |
| 7 | #define DEVICE_VER 0x0001 | 8 | #define DEVICE_VER 0x0001 |
| 9 | #define MANUFACTURER Clueboard | ||
| 10 | #define PRODUCT Clueboard | ||
| 11 | #define DESCRIPTION QMK keyboard firmware for Clueboard | ||
| 8 | 12 | ||
| 9 | /* key matrix size */ | 13 | /* key matrix size */ |
| 10 | #define MATRIX_ROWS 10 | 14 | #define MATRIX_ROWS 10 |
| 11 | #define MATRIX_COLS 8 | 15 | #define MATRIX_COLS 8 |
| 12 | 16 | ||
| 13 | // ROWS: Top to bottom, COLS: Left to right | 17 | /* ROWS: Top to bottom, COLS: Left to right |
| 14 | /* Row pin configuration | ||
| 15 | * row: 0 1 2 3 4 5 6 7 8 9 | ||
| 16 | * pin: B2 C7 C6 B6 B5 B0 B3 D5 D3 D2 | ||
| 17 | */ | 18 | */ |
| 18 | #define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 } | 19 | #define MATRIX_ROW_PINS { B2, C7, C6, B6, B5, B0, B3, D5, D3, D2 } |
| 19 | /* Column pin configuration | ||
| 20 | * col: 0 1 2 3 4 5 6 7 | ||
| 21 | * pin: F0 F1 F4 F5 F6 F7 E6 B1 | ||
| 22 | */ | ||
| 23 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 } | 20 | #define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, E6, B1 } |
| 24 | #define UNUSED_PINS | 21 | #define UNUSED_PINS |
| 25 | 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 | |||
| 26 | /* Backlight configuration | 57 | /* Backlight configuration |
| 27 | */ | 58 | */ |
| 28 | #define BACKLIGHT_LEVELS 1 | 59 | #define BACKLIGHT_LEVELS 1 |
| @@ -44,5 +75,3 @@ | |||
| 44 | #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2 // The led to start at | 75 | #define RGBLIGHT_EFFECT_KNIGHT_OFFSET 2 // The led to start at |
| 45 | #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel | 76 | #define RGBLIGHT_EFFECT_KNIGHT_LED_NUM 5 // How many LEDs to travel |
| 46 | #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up | 77 | #define RGBLIGHT_EFFECT_SNAKE_LENGTH 4 // How many LEDs wide to light up |
| 47 | |||
| 48 | #endif | ||
