summaryrefslogtreecommitdiffstats
path: root/keyboards/doro67/regular/config.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-13 17:59:38 +0100
committerDrashna Jaelre <drashna@live.com>2019-02-13 17:59:38 +0100
commit9a05c5d7876c81ac0f074366fa1790de31fd44e0 (patch)
tree90da47d0c7f0ec8bb596a06151e536d1a37b508b /keyboards/doro67/regular/config.h
parent6b4549da8ceed736c85195f3bd16ded40131a29c (diff)
downloadqmk_firmware-9a05c5d7876c81ac0f074366fa1790de31fd44e0.tar.gz
qmk_firmware-9a05c5d7876c81ac0f074366fa1790de31fd44e0.tar.xz
[Keyboard] New Keyboard: Doro67 Regular PCB (#5115)
* initial commit with edits to vanilla code * Add QMK Configurator support * add an appropriately generated keymap * pins, matrices, and features added in * moved it all to a regular directory. It's called regular as that's what it's called in the group buy. In the future we will have other directories for the other PCBs that are delivered to customers. * forgot caps lock led support * Update keyboards/doro67/regular/keymaps/default/config.h Use the NAME Co-Authored-By: mechmerlin <30334081+mechmerlin@users.noreply.github.com> * Update keyboards/doro67/regular/readme.md Be more explicit Co-Authored-By: mechmerlin <30334081+mechmerlin@users.noreply.github.com>
Diffstat (limited to 'keyboards/doro67/regular/config.h')
-rw-r--r--keyboards/doro67/regular/config.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/keyboards/doro67/regular/config.h b/keyboards/doro67/regular/config.h
new file mode 100644
index 000000000..9ba591cdd
--- /dev/null
+++ b/keyboards/doro67/regular/config.h
@@ -0,0 +1,31 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0x0000
+#define DEVICE_VER 0x0001
+#define MANUFACTURER 80ultraman
+#define PRODUCT doro67
+#define DESCRIPTION 65% custom keyboard
+
+/* key matrix size */
+#define MATRIX_ROWS 5
+#define MATRIX_COLS 15
+
+/*
+ * Keyboard Matrix Assignments
+ *
+ * Change this to how you wired your keyboard
+ * COLS: AVR pins used for columns, left to right
+ * ROWS: AVR pins used for rows, top to bottom
+ * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
+ * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
+ *
+*/
+#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
+#define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 }
+
+#define DIODE_DIRECTION COL2ROW
+