aboutsummaryrefslogtreecommitdiff
path: root/keyboards/matrix/falcon/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/matrix/falcon/config.h')
-rw-r--r--keyboards/matrix/falcon/config.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/keyboards/matrix/falcon/config.h b/keyboards/matrix/falcon/config.h
new file mode 100644
index 000000000..afd0b5d3e
--- /dev/null
+++ b/keyboards/matrix/falcon/config.h
@@ -0,0 +1,72 @@
1/**
2 * config.h
3 *
4 * Copyright 2021 astro
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
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 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
18#include "config_common.h"
19
20/* USB Device descriptor parameter */
21#define VENDOR_ID 0x4D58
22#define PRODUCT_ID 0x474E
23#define DEVICE_VER 0x0001
24#define MANUFACTURER Matrix Lab
25#define PRODUCT Falcon
26
27/* key matrix size */
28#define MATRIX_ROWS 5
29#define MATRIX_COLS 13
30
31#define MATRIX_ROW_PINS { F1, B7, F7, F5, F4}
32#define MATRIX_COL_PINS { F6, B3, B2, B1, B0, C7, C6, B6, B5, B4, D7, D6, D4}
33
34#define UNUSED_PINS
35#define DIODE_DIRECTION ROW2COL
36
37/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
38#define DEBOUNCE 5
39
40/*
41 * Feature disable options
42 * These options are also useful to firmware size reduction.
43 */
44
45/* disable debug print */
46//#define NO_DEBUG
47
48/* disable print */
49//#define NO_PRINT
50
51//rgb light setting
52#define RGBLED_NUM 4
53#define RGB_DI_PIN D1
54#define RGBLIGHT_EFFECT_BREATHING
55#define RGBLIGHT_EFFECT_RAINBOW_MOOD
56#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
57#define RGBLIGHT_EFFECT_SNAKE
58#define RGBLIGHT_EFFECT_KNIGHT
59#define RGBLIGHT_EFFECT_CHRISTMAS
60#define RGBLIGHT_EFFECT_STATIC_GRADIENT
61#define RGBLIGHT_EFFECT_RGB_TEST
62#define RGBLIGHT_EFFECT_ALTERNATING
63#define RGBLIGHT_EFFECT_TWINKLE
64#define RGBLIGHT_HUE_STEP 8
65#define RGBLIGHT_SAT_STEP 8
66#define RGBLIGHT_VAL_STEP 8
67
68//pin setting
69#define LED_CAPS_LOCK_PIN E2
70#define LED_POWER_PIN D5
71#define CHG_EN_PIN E6
72#define BATTERY_LEVEL_PIN F0