summaryrefslogtreecommitdiff
path: root/keyboards/spaceman/yun65/config.h
diff options
context:
space:
mode:
authorSpaceman <rionlion100@gmail.com>2021-02-10 00:18:53 -0500
committerGitHub <noreply@github.com>2021-02-09 21:18:53 -0800
commit0aed8746bee2ff60727de0663dca4d82072e6632 (patch)
treeddbcc86f6042332c00e59b1dbcbb61cccac652e4 /keyboards/spaceman/yun65/config.h
parent872f656c3b3d94067315029c3996a1f268ff9cd3 (diff)
[Keyboard] Add keyboard yun65 (#11714)
Diffstat (limited to 'keyboards/spaceman/yun65/config.h')
-rw-r--r--keyboards/spaceman/yun65/config.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/keyboards/spaceman/yun65/config.h b/keyboards/spaceman/yun65/config.h
new file mode 100644
index 0000000000..def4bb9576
--- /dev/null
+++ b/keyboards/spaceman/yun65/config.h
@@ -0,0 +1,34 @@
+/* Copyright 2020 Spaceman
+ *
+ * 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 0x5342 // "SB"
+#define PRODUCT_ID 0x594E // "YN"
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Spaceman
+#define PRODUCT Yun 65
+
+/* Key Matrix perameter */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 16
+#define DIODE_DIRECTION COL2ROW
+
+#define MATRIX_ROW_PINS { E6, D3, D2, D1, D0 }
+#define MATRIX_COL_PINS { F0, F1, F4, F5, F6, F7, D4, D6, D7, B4, B5, B6, C6, C7, D5, B3 }
+
+#define UNUSED_PINS