summaryrefslogtreecommitdiff
path: root/keyboards/mode/m80v2/config.h
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2021-12-29 10:57:52 +0000
committerQMK Bot <hello@qmk.fm>2021-12-29 10:57:52 +0000
commit6636c214531be697238a3fa533d3d94aa78590d1 (patch)
treef45fc9de44f664488ecec9189976a5deb455f524 /keyboards/mode/m80v2/config.h
parent7d6a7e195c099bf55da67fa76dd78e011ebc624d (diff)
parent88a8bdbb3aa3ee6c4eb443557bca0849f455fc03 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'keyboards/mode/m80v2/config.h')
-rw-r--r--keyboards/mode/m80v2/config.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/keyboards/mode/m80v2/config.h b/keyboards/mode/m80v2/config.h
new file mode 100644
index 0000000000..fbe5fb86df
--- /dev/null
+++ b/keyboards/mode/m80v2/config.h
@@ -0,0 +1,45 @@
+/*
+ Copyright 2020 Álvaro "Gondolindrim" Volpato <alvaro.volpato@usp.br>
+
+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
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0x00DE
+#define DEVICE_VER 0x0002
+#define MANUFACTURER Mode
+
+/* key matrix size */
+#define MATRIX_ROWS 6
+#define MATRIX_COLS 17
+
+#define MATRIX_ROW_PINS { B12, B13, B14, B3, B4, B9 }
+#define MATRIX_COL_PINS { A1, A2, A3, A4, A5, A6, A7, B0, B1, B10, A8, A10, B15, A15, B5, B8, C13 }
+
+#define DIODE_DIRECTION COL2ROW
+
+/* define if matrix has ghost */
+//#define MATRIX_HAS_GHOST
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
+#define LOCKING_SUPPORT_ENABLE
+/* Locking resynchronize hack */
+#define LOCKING_RESYNC_ENABLE
+
+#define LED_CAPS_LOCK_PIN A0