aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dztech/endless80/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dztech/endless80/config.h')
-rw-r--r--keyboards/dztech/endless80/config.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/keyboards/dztech/endless80/config.h b/keyboards/dztech/endless80/config.h
new file mode 100644
index 000000000..9874ea99a
--- /dev/null
+++ b/keyboards/dztech/endless80/config.h
@@ -0,0 +1,53 @@
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#pragma once
17#include "config_common.h"
18#define VENDOR_ID 0x445A
19#define PRODUCT_ID 0X1015
20#define DEVICE_VER 0x0001
21#define MANUFACTURER dztech
22#define PRODUCT endless80
23
24#define MATRIX_ROWS 6
25#define MATRIX_COLS 15
26#define MATRIX_ROW_PINS { B0, B1, B2, B3, B7, B5 }
27#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, C6, C7, F5, F4, F1, F0 }
28#define DIODE_DIRECTION COL2ROW
29
30#define LED_PIN_ON_STATE 0
31#define LED_CAPS_LOCK_PIN E6
32
33#define RGB_DI_PIN F7
34#ifdef RGB_DI_PIN
35#define RGBLIGHT_EFFECT_BREATHING
36#define RGBLIGHT_EFFECT_RAINBOW_MOOD
37#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
38#define RGBLIGHT_EFFECT_SNAKE
39#define RGBLIGHT_EFFECT_KNIGHT
40#define RGBLIGHT_EFFECT_CHRISTMAS
41#define RGBLIGHT_EFFECT_STATIC_GRADIENT
42#define RGBLIGHT_EFFECT_RGB_TEST
43#define RGBLIGHT_EFFECT_ALTERNATING
44#define RGBLIGHT_EFFECT_TWINKLE
45#define RGBLIGHT_DEFAULT_MODE (RGBLIGHT_EFFECT_RAINBOW_MOOD + 6)
46#define RGBLIGHT_DEFAULT_SPD 10
47#define RGBLED_NUM 30
48#define RGBLIGHT_HUE_STEP 10
49#define RGBLIGHT_SAT_STEP 10
50#define RGBLIGHT_VAL_STEP 10
51#define RGBLIGHT_LIMIT_VAL 130 // limits maximum brightness of LEDs to 150 out of 255. Higher may cause the controller to crash.
52#endif
53#define DEBOUNCE 5 \ No newline at end of file