summaryrefslogtreecommitdiff
path: root/keyboards/ogre/ergo_split/config.h
diff options
context:
space:
mode:
authorBryan Arendt <bryanarendt@gmail.com>2020-01-27 13:14:50 -0500
committerJames Young <18669334+noroadsleft@users.noreply.github.com>2020-01-27 10:14:50 -0800
commit43d2a0e167fe01b3bf7c793f421a238dc8109dc6 (patch)
tree2aef5e36f77775d7522cb758c34cb7a35e1eb1be /keyboards/ogre/ergo_split/config.h
parent212aeee202f1031395f56a087441c6da030afdd4 (diff)
[Keyboard] Adds ogre ergo split (#8011)
* Adds ogre ergo split * remove uneeded line breaks
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 0000000000..d92c2538bf
--- /dev/null
+++ b/keyboards/ogre/ergo_split/config.h
@@ -0,0 +1,52 @@
+/*
+Copyright 2020 ctrlshiftba
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation, either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0x1209
+#define PRODUCT_ID 0x095E
+#define DEVICE_VER 0x0001
+#define MANUFACTURER ctrlshiftba
+#define PRODUCT ergo_split
+#define DESCRIPTION a keycap friendly ergo. the split version
+
+/* key matrix size */
+#define MATRIX_ROWS 10
+#define MATRIX_COLS 7
+
+/* Keyboard Matrix Assignments */
+#define MATRIX_ROW_PINS { C6, D7, E6, B4, B5 }
+#define MATRIX_COL_PINS { F4, F5, F6, F7, B1, B3, B2 }
+
+/* COL2ROW, ROW2COL*/
+#define DIODE_DIRECTION COL2ROW
+
+/*
+ * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
+ */
+#define SOFT_SERIAL_PIN D3
+#define SPLIT_HAND_PIN D1
+
+#define RGB_DI_PIN B6
+#define RGBLED_SPLIT { 7, 7 }
+#define RGBLED_NUM 14
+#define RGBLIGHT_LED_MAP { 6, 5, 4, 3, 2, 1, 0, 13, 12,11, 10, 9, 8, 7}
+#define RGBLIGHT_ANIMATIONS
+#define DEBOUNCE 5