aboutsummaryrefslogtreecommitdiff
path: root/keyboards/ogre/ergo_split/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/ogre/ergo_split/config.h')
-rw-r--r--keyboards/ogre/ergo_split/config.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/keyboards/ogre/ergo_split/config.h b/keyboards/ogre/ergo_split/config.h
new file mode 100644
index 000000000..d92c2538b
--- /dev/null
+++ b/keyboards/ogre/ergo_split/config.h
@@ -0,0 +1,52 @@
1/*
2Copyright 2020 ctrlshiftba
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 0x1209
24#define PRODUCT_ID 0x095E
25#define DEVICE_VER 0x0001
26#define MANUFACTURER ctrlshiftba
27#define PRODUCT ergo_split
28#define DESCRIPTION a keycap friendly ergo. the split version
29
30/* key matrix size */
31#define MATRIX_ROWS 10
32#define MATRIX_COLS 7
33
34/* Keyboard Matrix Assignments */
35#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
36#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 }
37
38/* COL2ROW, ROW2COL*/
39#define DIODE_DIRECTION COL2ROW
40
41/*
42 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
43 */
44#define SOFT_SERIAL_PIN D3
45#define SPLIT_HAND_PIN D1
46
47#define RGB_DI_PIN B6
48#define RGBLED_SPLIT { 7, 7 }
49#define RGBLED_NUM 14
50#define RGBLIGHT_LED_MAP { 6, 5, 4, 3, 2, 1, 0, 13, 12,11, 10, 9, 8, 7}
51#define RGBLIGHT_ANIMATIONS
52#define DEBOUNCE 5