aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/doro67/multi/config.h
diff options
context:
space:
mode:
authorGravatar Nicholas Shaff <nick@shadedream.com>2019-04-04 00:54:30 -0500
committerGravatar Drashna Jaelre <drashna@live.com>2019-04-03 22:54:30 -0700
commit4f4fad83737546db6dd04af9e26320ef7d0610dd (patch)
tree392dd8c7b9a5a6dd571f3a401c724f3d562a8e33 /keyboards/doro67/multi/config.h
parentb463415d84867b34f35de2277d419676a602ddb0 (diff)
downloadqmk_firmware-4f4fad83737546db6dd04af9e26320ef7d0610dd.tar.gz
[Keyboard] Doro67 Multi PCB port (#5539)
* Initial portover of the doro68.json with corrected column pins. * Initial setup of LAYOUT_ansi and it's use in the default keymap. * Added F keys to default kemap on layer 1. * Added split space (and everything else) layout and a base keymap to be updated. * Renamed split_space to multi. * Changed product_id for doro. * Created a basic doro LAYOUT_iso and default keymap. * Copied over basic layout and keymap. * Added readme.md for doro67 multi. * Removed basic keyboad layout and keymap because it's a separate PCB. * Added backlight controls to the various keymaps. * Added explicit backlight pin define. * Increased number of backlight levels for flexibility. * Removed unnecessary line slashes and unified keymcaps. * Corrected ISO layout and switched position with multi. * Added keymap readme.md files. * Corrected ISO keymap. * Added Layouts to info.json for toolbox. * Re-added slashes as they were necessary here... * Corrected info.json/keymap discreptancies. * Updated copyright messages (and fixed small readme error). * Added missing line break spaces in readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Keymap alignments on default_multi readme.md Co-Authored-By: ShadeDream <nick@shadedream.com> * Small alignment adjustment on the default keymap readme.md Co-Authored-By: ShadeDream <nick@shadedream.com>
Diffstat (limited to 'keyboards/doro67/multi/config.h')
-rw-r--r--keyboards/doro67/multi/config.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/keyboards/doro67/multi/config.h b/keyboards/doro67/multi/config.h
new file mode 100644
index 000000000..4a15063cc
--- /dev/null
+++ b/keyboards/doro67/multi/config.h
@@ -0,0 +1,33 @@
+#pragma once
+
+#include "config_common.h"
+
+/* USB Device descriptor parameter */
+#define VENDOR_ID 0xFEED
+#define PRODUCT_ID 0xD070
+#define DEVICE_VER 0x0001
+#define MANUFACTURER Backprop Studio
+#define PRODUCT Doro67 Multi PCB
+#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
+
+#define BACKLIGHT_PIN B7
+#define BACKLIGHT_LEVELS 7