aboutsummaryrefslogtreecommitdiff
path: root/keyboards/handwired/elrgo_s/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/handwired/elrgo_s/config.h')
-rw-r--r--keyboards/handwired/elrgo_s/config.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/handwired/elrgo_s/config.h b/keyboards/handwired/elrgo_s/config.h
new file mode 100644
index 000000000..b2ef4681e
--- /dev/null
+++ b/keyboards/handwired/elrgo_s/config.h
@@ -0,0 +1,58 @@
1/*
2Copyright 2021 Yaroslav Smirnov <elorenn@bk.ru>
3 *
4 * This program is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 2 of the License, or
7 * (at your option) any later version.
8 *
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 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#pragma once
19
20#include "config_common.h"
21
22// Rows are doubled-up for splits
23#define MATRIX_ROWS 8
24#define MATRIX_COLS 6
25
26// Wiring of each half
27#define MATRIX_ROW_PINS { B1, B3, B2, B6 }
28#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
29// Reversed sort
30
31#define DIODE_DIRECTION COL2ROW
32
33/* USB Device descriptor parameter */
34#define PRODUCT Elrgo S
35#define MANUFACTURER Eloren
36#define VENDOR_ID 0x454C
37#define PRODUCT_ID 0x3436
38#define DEVICE_VER 0x0001
39
40/* Set 0 if debouncing isn't needed */
41#define DEBOUNCE 5
42
43/* serial.c configuration for split keyboard */
44#define SOFT_SERIAL_PIN D0
45
46
47/* disable debug print */
48// #define NO_DEBUG
49
50/* disable print */
51// #define NO_PRINT
52
53/* disable action features */
54//#define NO_ACTION_LAYER
55//#define NO_ACTION_TAPPING
56//#define NO_ACTION_ONESHOT
57//#define NO_ACTION_MACRO
58//#define NO_ACTION_FUNCTION