aboutsummaryrefslogtreecommitdiff
path: root/keyboards/checkerboards/nop60/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/checkerboards/nop60/config.h')
-rw-r--r--keyboards/checkerboards/nop60/config.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/keyboards/checkerboards/nop60/config.h b/keyboards/checkerboards/nop60/config.h
new file mode 100644
index 000000000..784594df7
--- /dev/null
+++ b/keyboards/checkerboards/nop60/config.h
@@ -0,0 +1,64 @@
1 /*
2Copyright 2021 Nathan Spears
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/* USB Device descriptor parameter */
23#define VENDOR_ID 0x7070
24#define PRODUCT_ID 0x1416
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Nasp
27#define PRODUCT NOP60
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 14
32
33/* key matrix pins */
34#define MATRIX_ROW_PINS { F0, F1, E6, B7, C6 }
35#define MATRIX_COL_PINS { F6, F5, F4, D0, D7, D3, D4, D5, D6, F7, C7, B4, B6, B5 }
36#define UNUSED_PINS
37
38/* COL2ROW or ROW2COL */
39#define DIODE_DIRECTION COL2ROW
40
41/* Switch LED Backlighting */
42#define BACKLIGHT_PIN D1
43#define BACKLIGHT_PWM_DRIVER PWMD3
44#define BACKLIGHT_LEVELS 6
45#define BACKLIGHT_BREATHING
46#define BREATHING_PERIOD 6
47
48// ws2812 options
49#define RGB_DI_PIN D2 // pin the DI on the ws2812 is hooked-up to
50#define RGBLIGHT_ANIMATIONS // run RGB animations
51#define RGBLED_NUM 14 // number of LEDs
52#define RGBLIGHT_HUE_STEP 12 // units to step when in/decreasing hue
53#define RGBLIGHT_SAT_STEP 12 // units to step when in/decresing saturation
54#define RGBLIGHT_VAL_STEP 12 // units to step when in/decreasing value (brightness)
55
56
57/* Set 0 if debouncing isn't needed */
58#define DEBOUNCE 5
59
60/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
61#define LOCKING_SUPPORT_ENABLE
62
63/* Locking resynchronize hack */
64#define LOCKING_RESYNC_ENABLE