summaryrefslogtreecommitdiff
path: root/keyboards/kikkou/config.h
diff options
context:
space:
mode:
authorMatthew Dias <matthewdias@me.com>2022-02-19 23:52:11 -0600
committerGitHub <noreply@github.com>2022-02-19 21:52:11 -0800
commit73657a7d5828b06c3a0dc9e35e126a0a26913b0b (patch)
treeecb087e63f6c4e216f7f1d71c19e6afdf88acd91 /keyboards/kikkou/config.h
parent4666d2600801ecca959cc13911e69379978a0436 (diff)
Add kikkou keyboard (#15291)
* Add kikkou keyboard * Apply suggestions from code review * Update keyboards/kikkou/rules.mk * Apply suggestions from code review1
Diffstat (limited to 'keyboards/kikkou/config.h')
-rw-r--r--keyboards/kikkou/config.h58
1 files changed, 58 insertions, 0 deletions
diff --git a/keyboards/kikkou/config.h b/keyboards/kikkou/config.h
new file mode 100644
index 0000000000..deedfd8382
--- /dev/null
+++ b/keyboards/kikkou/config.h
@@ -0,0 +1,58 @@
+/*
+Copyright 2021 Matthew Dias
+
+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 0x6D65
+#define PRODUCT_ID 0x6060
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Mechwerkes
+#define PRODUCT Kikkou
+
+/* key matrix size */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 15
+
+/* key matrix pins */
+#define MATRIX_ROW_PINS { F0, F1, F4, F5, E6 }
+#define MATRIX_COL_PINS { D0, D1, D2, D3, D5, D4, D6, D7, B4, B5, B6, C6, C7, F7, F6 }
+#define UNUSED_PINS
+
+/* COL2ROW or ROW2COL */
+#define DIODE_DIRECTION COL2ROW
+
+/* Set 0 if debouncing isn't needed */
+#define DEBOUNCE 5
+
+/*
+ * Feature disable options
+ * These options are also useful to firmware size reduction.
+ */
+
+/* disable debug print */
+//#define NO_DEBUG
+
+/* disable print */
+//#define NO_PRINT
+
+/* disable these deprecated features by default */
+#define NO_ACTION_MACRO
+#define NO_ACTION_FUNCTION