aboutsummaryrefslogtreecommitdiff
path: root/keyboards/rocketboard_16/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/rocketboard_16/config.h')
-rw-r--r--keyboards/rocketboard_16/config.h83
1 files changed, 83 insertions, 0 deletions
diff --git a/keyboards/rocketboard_16/config.h b/keyboards/rocketboard_16/config.h
new file mode 100644
index 000000000..a82514e0b
--- /dev/null
+++ b/keyboards/rocketboard_16/config.h
@@ -0,0 +1,83 @@
1/*
2Copyright 2020 Seth Bonner <fl3tching101@gmail.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
18#pragma once
19
20/* USB Device descriptor parameter */
21#define VENDOR_ID 0xB034
22#define PRODUCT_ID 0xFF16
23#define DEVICE_VER 0x0001
24#define MANUFACTURER Rocketboard
25#define PRODUCT Rocketboard-16
26
27/* key matrix size */
28#define MATRIX_ROWS 5
29#define MATRIX_COLS 4
30
31#define MATRIX_ROW_PINS { A9, B13, B14, B15, B3 }
32#define MATRIX_COL_PINS { B8, B9, B10, B11 }
33#define DIODE_DIRECTION COL2ROW
34
35/* Bootmagic key - row 4, col 1 */
36#define BOOTMAGIC_LITE_ROW 4
37#define BOOTMAGIC_LITE_COLUMN 1
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 RGBLIGHT_ANIMATIONS
46#define RGB_DI_PIN A4
47#define RGBLED_NUM 16
48#define RGBLIGHT_LIMIT_VAL 128
49#define RGBLIGHT_VAL_STEP 8
50#define RGBLIGHT_SLEEP
51
52// OLED stuff
53#define OLED_DISPLAY_128X64
54
55// Allows for rotary encoder volume control
56#define TAP_CODE_DELAY 20
57
58/* Encoder stuff */
59#define ENCODERS_PAD_A \
60 { A0, A2 }
61#define ENCODERS_PAD_B \
62 { A1, A3 }
63
64#define LOCKING_SUPPORT_ENABLE
65#define LOCKING_RESYNC_ENABLE
66
67/*
68 * Feature disable options
69 * These options are also useful to firmware size reduction.
70 */
71
72/* disable debug print */
73//#define NO_DEBUG
74
75/* disable print */
76//#define NO_PRINT
77
78/* disable action features */
79//#define NO_ACTION_LAYER
80//#define NO_ACTION_TAPPING
81//#define NO_ACTION_ONESHOT
82//#define NO_ACTION_MACRO
83//#define NO_ACTION_FUNCTION