aboutsummaryrefslogtreecommitdiff
path: root/keyboards/kbdfans/kbd75hs/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/kbdfans/kbd75hs/config.h')
-rw-r--r--keyboards/kbdfans/kbd75hs/config.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/keyboards/kbdfans/kbd75hs/config.h b/keyboards/kbdfans/kbd75hs/config.h
new file mode 100644
index 000000000..e23e50636
--- /dev/null
+++ b/keyboards/kbdfans/kbd75hs/config.h
@@ -0,0 +1,68 @@
1/* Copyright 2021 DZTECH <moyi4681@Live.cn>
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 0x4B42
23#define PRODUCT_ID 0x6062
24#define DEVICE_VER 0x0003
25#define MANUFACTURER KBDFANS
26#define PRODUCT KBD75_HOTSWAP
27
28/* key matrix size */
29#define MATRIX_ROWS 6
30#define MATRIX_COLS 15
31#define MATRIX_ROW_PINS { E6, B0, B1, B2, B3, B6 }
32#define MATRIX_COL_PINS { F7, F6, F5, F4, F1, D0, D1, D2, D3, D5, D4, D6, D7, B4, B5}
33#define UNUSED_PINS
34
35/* COL2ROW, ROW2COL*/
36#define DIODE_DIRECTION COL2ROW
37
38/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
39#define DEBOUNCE 5
40#define FORCE_NKRO
41/* disable these deprecated features by default */
42#define NO_ACTION_MACRO
43#define NO_ACTION_FUNCTION
44
45#define LED_CAPS_LOCK_PIN C6
46#define LED_PIN_ON_STATE 1
47
48#define RGB_DI_PIN F0
49#ifdef RGB_DI_PIN
50#define RGBLIGHT_EFFECT_BREATHING
51#define RGBLIGHT_EFFECT_RAINBOW_MOOD
52#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
53#define RGBLIGHT_EFFECT_SNAKE
54#define RGBLIGHT_EFFECT_KNIGHT
55#define RGBLIGHT_EFFECT_CHRISTMAS
56#define RGBLIGHT_EFFECT_STATIC_GRADIENT
57#define RGBLIGHT_EFFECT_RGB_TEST
58#define RGBLIGHT_EFFECT_ALTERNATING
59#define RGBLIGHT_EFFECT_TWINKLE
60#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
61#define RGBLIGHT_DEFAULT_SPD 15
62#define RGBLED_NUM 18
63#define RGBLIGHT_HUE_STEP 10
64#define RGBLIGHT_SAT_STEP 10
65#define RGBLIGHT_VAL_STEP 10
66#define RGBLIGHT_SLEEP
67#endif
68#define VIA_EEPROM_LAYOUT_OPTIONS_SIZE 2