aboutsummaryrefslogtreecommitdiff
path: root/keyboards/40percentclub/nori/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/40percentclub/nori/config.h')
-rw-r--r--keyboards/40percentclub/nori/config.h116
1 files changed, 116 insertions, 0 deletions
diff --git a/keyboards/40percentclub/nori/config.h b/keyboards/40percentclub/nori/config.h
new file mode 100644
index 000000000..882da633e
--- /dev/null
+++ b/keyboards/40percentclub/nori/config.h
@@ -0,0 +1,116 @@
1/* Copyright 2018
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19#include "config_common.h"
20
21/* USB Device descriptor parameter */
22#define VENDOR_ID 0x4025
23#define PRODUCT_ID 0x0A0C
24#define DEVICE_VER 0x0444
25#define MANUFACTURER di0ib
26#define PRODUCT The nori Keyboard
27
28/* key matrix size */
29#define MATRIX_ROWS 4
30#define MATRIX_COLS 12
31
32/*
33 * Keyboard Matrix Assignments
34 *
35 * Change this to how you wired your keyboard
36 * COLS: AVR pins used for columns, left to right
37 * ROWS: AVR pins used for rows, top to bottom
38 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
39 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
40 *
41*/
42#define MATRIX_ROW_PINS { D3, D2, D1, D0 }
43#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2, B6, D4, C6, D7, E6 }
44#define UNUSED_PINS
45
46/* COL2ROW, ROW2COL*/
47#define DIODE_DIRECTION COL2ROW
48
49#define BACKLIGHT_PIN B5
50//#define BACKLIGHT_BREATHING
51#define BACKLIGHT_LEVELS 3
52
53// enable RGB underglow
54#define RGB_DI_PIN B4
55#define RGBLIGHT_ANIMATIONS
56#define RGBLED_NUM 10
57#define RGBLIGHT_HUE_STEP 8
58#define RGBLIGHT_SAT_STEP 8
59#define RGBLIGHT_VAL_STEP 8
60
61/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
62#define DEBOUNCE 5
63
64/* define if matrix has ghost (lacks anti-ghosting diodes) */
65//#define MATRIX_HAS_GHOST
66
67/* number of backlight levels */
68
69/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
70#define LOCKING_SUPPORT_ENABLE
71/* Locking resynchronize hack */
72#define LOCKING_RESYNC_ENABLE
73
74/* If defined, GRAVE_ESC will always act as ESC when CTRL is held.
75 * This is userful for the Windows task manager shortcut (ctrl+shift+esc).
76 */
77// #define GRAVE_ESC_CTRL_OVERRIDE
78
79/*
80 * Force NKRO
81 *
82 * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved
83 * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the
84 * makefile for this to work.)
85 *
86 * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N)
87 * until the next keyboard reset.
88 *
89 * NKRO may prevent your keystrokes from being detected in the BIOS, but it is
90 * fully operational during normal computer usage.
91 *
92 * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N)
93 * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by
94 * bootmagic, NKRO mode will always be enabled until it is toggled again during a
95 * power-up.
96 *
97 */
98//#define FORCE_NKRO
99
100/*
101 * Feature disable options
102 * These options are also useful to firmware size reduction.
103 */
104
105/* disable debug print */
106//#define NO_DEBUG
107
108/* disable print */
109//#define NO_PRINT
110
111/* disable action features */
112//#define NO_ACTION_LAYER
113//#define NO_ACTION_TAPPING
114//#define NO_ACTION_ONESHOT
115//#define NO_ACTION_MACRO
116//#define NO_ACTION_FUNCTION