aboutsummaryrefslogtreecommitdiff
path: root/keyboards/chalice/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/chalice/config.h')
-rw-r--r--keyboards/chalice/config.h66
1 files changed, 66 insertions, 0 deletions
diff --git a/keyboards/chalice/config.h b/keyboards/chalice/config.h
new file mode 100644
index 000000000..75c34cacd
--- /dev/null
+++ b/keyboards/chalice/config.h
@@ -0,0 +1,66 @@
1/* Copyright 2020 null-ll
2 * Copyright 2021 Jels, Josh Johnson
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#include "config_common.h"
21
22#define VENDOR_ID 0x6A6A
23#define PRODUCT_ID 0x000C
24#define DEVICE_VER 0x0001
25#define MANUFACTURER CustomKBD
26#define PRODUCT Chalice
27
28/* key matrix size */
29#define MATRIX_ROWS 10
30#define MATRIX_COLS 7
31
32#define MATRIX_ROW_PINS {F4, D1, D0, F5, D4, F6, B4, B5, B2, B6}
33#define MATRIX_COL_PINS {F7, C6, B1, D2, E6, B3, D7}
34
35/* COL2ROW, ROW2COL*/
36#define DIODE_DIRECTION COL2ROW
37
38#define RGB_DI_PIN D3
39
40#ifdef RGBLIGHT_ENABLE
41 #define RGBLED_NUM 14
42 #define RGBLIGHT_SLEEP
43#define RGBLIGHT_EFFECT_BREATHING
44#define RGBLIGHT_EFFECT_RAINBOW_MOOD
45#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
46#define RGBLIGHT_EFFECT_SNAKE
47#define RGBLIGHT_EFFECT_KNIGHT
48#define RGBLIGHT_EFFECT_CHRISTMAS
49#define RGBLIGHT_EFFECT_STATIC_GRADIENT
50#define RGBLIGHT_EFFECT_RGB_TEST
51#define RGBLIGHT_EFFECT_ALTERNATING
52#define RGBLIGHT_EFFECT_TWINKLE
53#endif
54
55/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
56#define DEBOUNCE 5
57
58/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
59#define LOCKING_SUPPORT_ENABLE
60/* Locking resynchronize hack */
61#define LOCKING_RESYNC_ENABLE
62
63/* Bootmagic Lite key configuration */
64#define BOOTMAGIC_LITE_ROW 0
65#define BOOTMAGIC_LITE_COLUMN 0
66