summaryrefslogtreecommitdiffstats
path: root/keyboards/akegata_denki/device_one/config.h
diff options
context:
space:
mode:
authorKrishna Mani <34562820+kmani314@users.noreply.github.com>2020-07-27 18:40:57 -0700
committerGitHub <noreply@github.com>2020-07-27 18:40:57 -0700
commitf5fe6fe5cc352760971c374ed097f2fe4ad2427e (patch)
tree4e6d3e2c557929a3ea6831991b7eab616f8ef111 /keyboards/akegata_denki/device_one/config.h
parent84cd07b0d3409d1bbb72691fd79c8a9a885363a0 (diff)
[Keyboard] Add akegata denki device one (#9690)
* add device one * fix layouts * add other layouts * column fixes, device id changes * layouts cleanup, add readme * add info.json, fix readme * add template readme * add smaller image * fix image links, address requested changes * Apply suggestions from code review * Update keyboards/device_one/keymaps/ansi_split_backspace/keymap.c * add akegata vendor folder * Apply suggestions from code review
Diffstat (limited to 'keyboards/akegata_denki/device_one/config.h')
-rw-r--r--keyboards/akegata_denki/device_one/config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/keyboards/akegata_denki/device_one/config.h b/keyboards/akegata_denki/device_one/config.h
new file mode 100644
index 0000000000..cae2c60c04
--- /dev/null
+++ b/keyboards/akegata_denki/device_one/config.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0xADD0
+#define DEVICE_VER 0x0001
+#define MANUFACTURER akegata denki
+#define PRODUCT device one mechanical keyboard
+
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 15
+
+#define MATRIX_ROW_PINS { B1, B0, A9, A8, A0 }
+#define MATRIX_COL_PINS { A2, A3, A4, A5, A6, A7, A1, A10, A15, B3, B4, B5, B6, B7, B8}
+
+#define DIODE_DIRECTION COL2ROW