aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mtbkeys/mtb60/hotswap/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mtbkeys/mtb60/hotswap/config.h')
-rw-r--r--keyboards/mtbkeys/mtb60/hotswap/config.h79
1 files changed, 79 insertions, 0 deletions
diff --git a/keyboards/mtbkeys/mtb60/hotswap/config.h b/keyboards/mtbkeys/mtb60/hotswap/config.h
new file mode 100644
index 000000000..6cfc31224
--- /dev/null
+++ b/keyboards/mtbkeys/mtb60/hotswap/config.h
@@ -0,0 +1,79 @@
1/*
2Copyright 2021 MTBKeys
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#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x0001
25#define DEVICE_VER 0x0001
26#define MANUFACTURER MTBKeys
27#define PRODUCT honeyboard60
28
29/* key matrix size */
30#define MATRIX_ROWS 5
31#define MATRIX_COLS 15
32
33/* key matrix pinout */
34#define MATRIX_ROW_PINS { D6, D7, B4, B5, D5 }
35#define MATRIX_COL_PINS { D0, D1, D2, D3, B7, B6, F7, C6, C7, F6, F4, F1, F0, F5, E6 }
36#define UNUSED_PINS
37
38/* diode direction: COL2ROW or ROW2COL */
39#define DIODE_DIRECTION ROW2COL
40
41/* Pin WS2812 RGB LEDs are connected to */
42#define RGB_DI_PIN D4
43
44#ifdef RGB_DI_PIN
45# define RGBLED_NUM 16
46# define RGBLIGHT_HUE_STEP 8
47# define RGBLIGHT_SAT_STEP 8
48# define RGBLIGHT_VAL_STEP 8
49# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
50# define RGBLIGHT_SLEEP /* Turn RGB light off when the host goes to sleep */
51# define RGBLIGHT_EFFECT_ALTERNATING
52# define RGBLIGHT_EFFECT_BREATHING
53# define RGBLIGHT_EFFECT_CHRISTMAS
54# define RGBLIGHT_EFFECT_KNIGHT
55# define RGBLIGHT_EFFECT_RAINBOW_MOOD
56# define RGBLIGHT_EFFECT_RAINBOW_SWIRL
57# define RGBLIGHT_EFFECT_RGB_TEST
58# define RGBLIGHT_EFFECT_SNAKE
59# define RGBLIGHT_EFFECT_STATIC_GRADIENT
60# define RGBLIGHT_EFFECT_TWINKLE
61# define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL /* Set default RGB */
62#endif /* RGB_DI_PIN */
63
64/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
65#define DEBOUNCE 5
66
67/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
68#define LOCKING_SUPPORT_ENABLE
69
70/* Locking resynchronize hack */
71#define LOCKING_RESYNC_ENABLE
72
73/* disable these deprecated features by default */
74#define NO_ACTION_MACRO
75#define NO_ACTION_FUNCTION
76
77/* Bootmagic Lite key configuration */
78#define BOOTMAGIC_LITE_ROW 0
79#define BOOTMAGIC_LITE_COLUMN 0