summaryrefslogtreecommitdiffstats
path: root/keyboards/mlego/m65/config.h
diff options
context:
space:
mode:
authorAlin Marin Elena <alin@elena.space>2022-01-11 03:14:54 +0000
committerGitHub <noreply@github.com>2022-01-10 19:14:54 -0800
commit01e4d07de0786035979d0f311ef31f87555737d7 (patch)
tree8c310839ec0b7385521488aacfbba09a5f7d2451 /keyboards/mlego/m65/config.h
parente2aee8f9bbb0885ede2c2918244902bad9136659 (diff)
[m65] add via, new mcu gd32f303, stm32f401 weact support for encoder and led strip (#14381)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/mlego/m65/config.h')
-rw-r--r--keyboards/mlego/m65/config.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/mlego/m65/config.h b/keyboards/mlego/m65/config.h
new file mode 100644
index 0000000000..25d69d8b7a
--- /dev/null
+++ b/keyboards/mlego/m65/config.h
@@ -0,0 +1,33 @@
+/*
+Copyright 2021-2022 Alin M Elena <alinm.elena@gmail.com>
+
+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"
+
+#define VENDOR_ID 0xBABA
+#define MANUFACTURER Alin Elena
+#define PRODUCT m65
+
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 13
+
+#define DIODE_DIRECTION COL2ROW
+#define DEBOUNCE 5
+
+#define LOCKING_SUPPORT_ENABLE
+#define LOCKING_RESYNC_ENABLE