aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kbnordic/nordic60/rev_a/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbnordic/nordic60/rev_a/config.h')
-rw-r--r--keyboards/kbnordic/nordic60/rev_a/config.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/keyboards/kbnordic/nordic60/rev_a/config.h b/keyboards/kbnordic/nordic60/rev_a/config.h
new file mode 100644
index 000000000..be555417d
--- /dev/null
+++ b/keyboards/kbnordic/nordic60/rev_a/config.h
@@ -0,0 +1,61 @@
1/*
2Copyright 2021 Stefan Sundin "4pplet" <4pplet@protonmail.com>
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x4445
23#define PRODUCT_ID 0x0001
24#define DEVICE_VER 0x0001
25#define MANUFACTURER KBNORDIC
26#define PRODUCT Nordic60 Rev A
27
28/* key matrix size */
29#define MATRIX_ROWS 5
30#define MATRIX_COLS 14
31// ROWS: Top to bottom, COLS: Left to right
32
33#define MATRIX_ROW_PINS {C2,D0,B0,D6,D5}
34#define MATRIX_COL_PINS {C4,C5,D2,C6,C7,B7,B6,B5,B4,B3,B2,B1,D1,D4}
35
36/* COL2ROW or ROW2COL */
37#define DIODE_DIRECTION COL2ROW
38
39/* define if matrix has ghost */
40//#define MATRIX_HAS_GHOST
41
42/* Set 0 if debouncing isn't needed */
43#define DEBOUNCE 5
44
45#define RGB_DI_PIN D3
46#define RGBLED_NUM 16
47#define BACKLIGHT_LEVELS 5
48
49#define RGBLIGHT_HUE_STEP 8
50#define RGBLIGHT_SAT_STEP 8
51#define RGBLIGHT_VAL_STEP 8
52#define RGBLIGHT_EFFECT_BREATHING
53#define RGBLIGHT_EFFECT_RAINBOW_MOOD
54#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
55#define RGBLIGHT_EFFECT_SNAKE
56#define RGBLIGHT_EFFECT_KNIGHT
57#define RGBLIGHT_EFFECT_CHRISTMAS
58#define RGBLIGHT_EFFECT_STATIC_GRADIENT
59#define RGBLIGHT_EFFECT_RGB_TEST
60#define RGBLIGHT_EFFECT_ALTERNATING
61#define RGBLIGHT_EFFECT_TWINKLE