summaryrefslogtreecommitdiff
path: root/keyboards/ergodox_ez/config.h
diff options
context:
space:
mode:
authorFlorian Didron <0x6664@hey.com>2020-10-13 21:17:37 +0900
committerFlorian Didron <0x6664@hey.com>2020-10-13 21:17:37 +0900
commitded395e45d815cef58b454345bc536fa188d6280 (patch)
tree9296ee2f145b26a13ac05e56a0f23de0aa8a2970 /keyboards/ergodox_ez/config.h
parentedd58256f58b44b00f8ae811941c63862693e4c4 (diff)
Revert "Revert "Convert ErgoDox EZ to Matrix Lite (qmk#10189)""
This reverts commit edd58256f58b44b00f8ae811941c63862693e4c4.
Diffstat (limited to 'keyboards/ergodox_ez/config.h')
-rw-r--r--keyboards/ergodox_ez/config.h19
1 files changed, 13 insertions, 6 deletions
diff --git a/keyboards/ergodox_ez/config.h b/keyboards/ergodox_ez/config.h
index 5e6446b0ff..64289666de 100644
--- a/keyboards/ergodox_ez/config.h
+++ b/keyboards/ergodox_ez/config.h
@@ -18,9 +18,7 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef ERGODOX_EZ_CONFIG_H
-#define ERGODOX_EZ_CONFIG_H
-#endif
+#pragma once
#include "config_common.h"
@@ -28,9 +26,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define VENDOR_ID 0x3297
#define PRODUCT_ID 0x4974
#define DEVICE_VER 0x0001
-#define MANUFACTURER ZSA
-#define PRODUCT Ergodox EZ
-#define DESCRIPTION QMK keyboard firmware for Ergodox EZ
+#define MANUFACTURER ZSA Technology Labs Inc
+#define PRODUCT ErgoDox EZ
#define WEBUSB_LANDING_PAGE_URL u8"configure.ergodox-ez.com"
/* key matrix size */
@@ -38,6 +35,16 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROWS_PER_SIDE (MATRIX_ROWS / 2)
#define MATRIX_COLS 6
+#define COL_EXPANDED { true, true, true, true, true, true, true, false, false, false, false, false, false, false }
+#define MATRIX_ONBOARD_ROW_PINS { 0, 0, 0, 0, 0, 0, 0, B0, B1, B2, B3, D2, D3, C6 }
+#define MATRIX_ONBOARD_COL_PINS { F0, F1, F4, F5, F6, F7 }
+#define DIODE_DIRECTION COL2ROW
+#define EXPANDER_COL_REGISTER GPIOB
+#define EXPANDER_ROW_REGISTER GPIOA
+#define MATRIX_EXPANDER_COL_PINS { 5, 4, 3, 2, 1, 0 }
+#define MATRIX_EXPANDER_ROW_PINS { 0, 1, 2, 3, 4, 5, 6 }
+
+
#define MOUSEKEY_INTERVAL 20
#define MOUSEKEY_DELAY 0
#define MOUSEKEY_TIME_TO_MAX 60