aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/doro67/multi/readme.md7
-rw-r--r--keyboards/doro67/readme.md12
-rw-r--r--keyboards/doro67/regular/config.h4
-rw-r--r--keyboards/doro67/regular/readme.md6
-rw-r--r--keyboards/doro67/rgb/config.h71
-rw-r--r--keyboards/doro67/rgb/info.json82
-rw-r--r--keyboards/doro67/rgb/keymaps/default/config.h19
-rw-r--r--keyboards/doro67/rgb/keymaps/default/keymap.c62
-rw-r--r--keyboards/doro67/rgb/keymaps/default/readme.md1
-rw-r--r--keyboards/doro67/rgb/readme.md17
-rw-r--r--keyboards/doro67/rgb/rgb.c127
-rw-r--r--keyboards/doro67/rgb/rgb.h41
-rw-r--r--keyboards/doro67/rgb/rules.mk83
13 files changed, 522 insertions, 10 deletions
diff --git a/keyboards/doro67/multi/readme.md b/keyboards/doro67/multi/readme.md
index ac1484cd7..40fd53ee1 100644
--- a/keyboards/doro67/multi/readme.md
+++ b/keyboards/doro67/multi/readme.md
@@ -1,9 +1,6 @@
1Doro67 Multi PCB 1# Doro67 Multi PCB
2===
3 2
4A custom 65% keyboard with multiple layout support. 365% custom keyboard made by 80ultraman/Alf/Backprop Studios with multiple layout support. Despite the layout options available, layout is dictated by the selected integrated plate.
5
6Do not flash RGB firmware for this board.
7 4
8Keyboard Maintainer: [ShadeDream](https://github.com/shadedream) 5Keyboard Maintainer: [ShadeDream](https://github.com/shadedream)
9Hardware Supported: Doro67 Multi PCB 6Hardware Supported: Doro67 Multi PCB
diff --git a/keyboards/doro67/readme.md b/keyboards/doro67/readme.md
index e69de29bb..1648fbde5 100644
--- a/keyboards/doro67/readme.md
+++ b/keyboards/doro67/readme.md
@@ -0,0 +1,12 @@
1# Doro67
2
3The Doro67 is a 65% USB C, integrated plate keyboard with blocker based on the M65-a by Keyclack/Rama.
4
5The [Group Buy](https://geekhack.org/index.php?topic=97265.0) was run by 80ultraman in coordination with Alf for machining and Backprop Studios for PCB design.
6
7There were 3 different PCBs available for this group buy.
8## **Please be aware of which PCB you own and flash the correct firmware on it.**
9
10**Regular:** PCB made for the China GB which only had 1 layout.
11**Multi:** PCB made for the international GB comprising of multiple layouts. While several layouts were possible, layout was determined by the integrated plate layout chosen by the customer.
12**RGB:** PCB made for the international GB which had an identical switch matrix and layout to the regular PCB, with the addition of per key RGB LEDs. \ No newline at end of file
diff --git a/keyboards/doro67/regular/config.h b/keyboards/doro67/regular/config.h
index 9ba591cdd..8c5c670da 100644
--- a/keyboards/doro67/regular/config.h
+++ b/keyboards/doro67/regular/config.h
@@ -6,8 +6,8 @@
6#define VENDOR_ID 0xFEED 6#define VENDOR_ID 0xFEED
7#define PRODUCT_ID 0x0000 7#define PRODUCT_ID 0x0000
8#define DEVICE_VER 0x0001 8#define DEVICE_VER 0x0001
9#define MANUFACTURER 80ultraman 9#define MANUFACTURER Backprop Studio
10#define PRODUCT doro67 10#define PRODUCT Doro67 Regular PCB
11#define DESCRIPTION 65% custom keyboard 11#define DESCRIPTION 65% custom keyboard
12 12
13/* key matrix size */ 13/* key matrix size */
diff --git a/keyboards/doro67/regular/readme.md b/keyboards/doro67/regular/readme.md
index 71d27ceb5..7635a40f9 100644
--- a/keyboards/doro67/regular/readme.md
+++ b/keyboards/doro67/regular/readme.md
@@ -1,8 +1,8 @@
1# Regular PCB for the Doro67 1# Doro67 Regular PCB
2 2
3Regular PCB for the Doro67 having ONLY one layout. This is not the PCB with RGB support. 365% custom keyboard made by 80ultraman/Alf/Backprop Studios available during the China Group Buy.
4 4
5Do not flash RGB firmware for this board. 5This is not the PCB with RGB support. Do not flash RGB firmware for this board.
6 6
7Keyboard Maintainer: [MechMerlin](https://github.com/mechmerlin) 7Keyboard Maintainer: [MechMerlin](https://github.com/mechmerlin)
8Hardware Supported: Doro67 Regular PCB 8Hardware Supported: Doro67 Regular PCB
diff --git a/keyboards/doro67/rgb/config.h b/keyboards/doro67/rgb/config.h
new file mode 100644
index 000000000..87a30e084
--- /dev/null
+++ b/keyboards/doro67/rgb/config.h
@@ -0,0 +1,71 @@
1/*
2Copyright 2019 MechMerlin
3
4This program is free software: you can redistribute it and/or modify
5it under the terms of the GNU General Public License as published by
6the Free Software Foundation, either version 2 of the License, or
7(at your option) any later version.
8
9This program is distributed in the hope that it will be useful,
10but WITHOUT ANY WARRANTY; without even the implied warranty of
11MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12GNU General Public License for more details.
13
14You should have received a copy of the GNU General Public License
15along with this program. If not, see <http://www.gnu.org/licenses/>.
16*/
17
18#pragma once
19
20#include "config_common.h"
21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0xFEED
24#define PRODUCT_ID 0x0000
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Backprop Studio
27#define PRODUCT Doro67 RGB PCB
28#define DESCRIPTION 65% custom keyboard
29
30/* key matrix size */
31#define MATRIX_ROWS 5
32#define MATRIX_COLS 15
33
34/*
35 * Keyboard Matrix Assignments
36 *
37 * Change this to how you wired your keyboard
38 * COLS: AVR pins used for columns, left to right
39 * ROWS: AVR pins used for rows, top to bottom
40 * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode)
41 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
42 *
43*/
44#define MATRIX_ROW_PINS { D0, D1, D2, D3, D5 }
45#define MATRIX_COL_PINS { B0, B1, B2, B3, D4, D6, D7, B4, B5, B6, C6, C7, F5, F6, F7 }
46#define UNUSED_PINS
47
48/* COL2ROW, ROW2COL*/
49#define DIODE_DIRECTION COL2ROW
50
51// The pin connected to the data pin of the LEDs
52#define RGB_DI_PIN B7
53// The number of LEDs connected
54#define DRIVER_LED_TOTAL 67
55
56#define RGB_MATRIX_KEYPRESSES
57
58/*
59 * Split Keyboard specific options, make sure you have 'SPLIT_KEYBOARD = yes' in your rules.mk, and define SOFT_SERIAL_PIN.
60 */
61#define SOFT_SERIAL_PIN D0 // or D1, D2, D3, E6
62
63#define RGBLED_NUM 67
64
65/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */
66#define DEBOUNCING_DELAY 5
67
68/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
69#define LOCKING_SUPPORT_ENABLE
70/* Locking resynchronize hack */
71#define LOCKING_RESYNC_ENABLE
diff --git a/keyboards/doro67/rgb/info.json b/keyboards/doro67/rgb/info.json
new file mode 100644
index 000000000..2d9b79a23
--- /dev/null
+++ b/keyboards/doro67/rgb/info.json
@@ -0,0 +1,82 @@
1{
2 "keyboard_name": "Doro 67 RGB",
3 "url": "",
4 "maintainer": "qmk",
5 "width": 16,
6 "height": 5,
7 "layouts": {
8 "LAYOUT": {
9 "key_count": 67,
10 "layout": [
11 {"label":"K00", "x":0, "y":0},
12 {"label":"K01", "x":1, "y":0},
13 {"label":"K02", "x":2, "y":0},
14 {"label":"K03", "x":3, "y":0},
15 {"label":"K04", "x":4, "y":0},
16 {"label":"K05", "x":5, "y":0},
17 {"label":"K06", "x":6, "y":0},
18 {"label":"K07", "x":7, "y":0},
19 {"label":"K08", "x":8, "y":0},
20 {"label":"K09", "x":9, "y":0},
21 {"label":"K0A", "x":10, "y":0},
22 {"label":"K0B", "x":11, "y":0},
23 {"label":"K0C", "x":12, "y":0},
24 {"label":"K0D", "x":13, "y":0, "w":2},
25 {"label":"K0E", "x":15, "y":0},
26 {"label":"K10", "x":0, "y":1, "w":1.5},
27 {"label":"K11", "x":1.5, "y":1},
28 {"label":"K12", "x":2.5, "y":1},
29 {"label":"K13", "x":3.5, "y":1},
30 {"label":"K14", "x":4.5, "y":1},
31 {"label":"K15", "x":5.5, "y":1},
32 {"label":"K16", "x":6.5, "y":1},
33 {"label":"K17", "x":7.5, "y":1},
34 {"label":"K18", "x":8.5, "y":1},
35 {"label":"K19", "x":9.5, "y":1},
36 {"label":"K1A", "x":10.5, "y":1},
37 {"label":"K1B", "x":11.5, "y":1},
38 {"label":"K1C", "x":12.5, "y":1},
39 {"label":"K1D", "x":13.5, "y":1, "w":1.5},
40 {"label":"K1E", "x":15, "y":1},
41 {"label":"K20", "x":0, "y":2, "w":1.75},
42 {"label":"K21", "x":1.75, "y":2},
43 {"label":"K22", "x":2.75, "y":2},
44 {"label":"K23", "x":3.75, "y":2},
45 {"label":"K24", "x":4.75, "y":2},
46 {"label":"K25", "x":5.75, "y":2},
47 {"label":"K26", "x":6.75, "y":2},
48 {"label":"K27", "x":7.75, "y":2},
49 {"label":"K28", "x":8.75, "y":2},
50 {"label":"K29", "x":9.75, "y":2},
51 {"label":"K2A", "x":10.75, "y":2},
52 {"label":"K2B", "x":11.75, "y":2},
53 {"label":"K2D", "x":12.75, "y":2, "w":2.25},
54 {"label":"K2E", "x":15, "y":2},
55 {"label":"K30", "x":0, "y":3, "w":2.25},
56 {"label":"K32", "x":2.25, "y":3},
57 {"label":"K33", "x":3.25, "y":3},
58 {"label":"K34", "x":4.25, "y":3},
59 {"label":"K35", "x":5.25, "y":3},
60 {"label":"K36", "x":6.25, "y":3},
61 {"label":"K37", "x":7.25, "y":3},
62 {"label":"K38", "x":8.25, "y":3},
63 {"label":"K39", "x":9.25, "y":3},
64 {"label":"K3A", "x":10.25, "y":3},
65 {"label":"K3B", "x":11.25, "y":3},
66 {"label":"K3C", "x":12.25, "y":3, "w":1.75},
67 {"label":"K3D", "x":14, "y":3},
68 {"label":"K3E", "x":15, "y":3},
69 {"label":"K40", "x":0, "y":4, "w":1.25},
70 {"label":"K41", "x":1.25, "y":4, "w":1.25},
71 {"label":"K42", "x":2.5, "y":4, "w":1.25},
72 {"label":"K43", "x":3.75, "y":4, "w":6.25},
73 {"label":"K49", "x":10, "y":4, "w":1.25},
74 {"label":"K4A", "x":11.25, "y":4, "w":1.25},
75 {"label":"K4C", "x":13, "y":4},
76 {"label":"K4D", "x":14, "y":4},
77 {"label":"K4E", "x":15, "y":4}
78 ]
79 }
80 }
81 }
82 \ No newline at end of file
diff --git a/keyboards/doro67/rgb/keymaps/default/config.h b/keyboards/doro67/rgb/keymaps/default/config.h
new file mode 100644
index 000000000..26c6d6ade
--- /dev/null
+++ b/keyboards/doro67/rgb/keymaps/default/config.h
@@ -0,0 +1,19 @@
1/* Copyright 2019 MechMerlin
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16
17#pragma once
18
19// place overrides here
diff --git a/keyboards/doro67/rgb/keymaps/default/keymap.c b/keyboards/doro67/rgb/keymaps/default/keymap.c
new file mode 100644
index 000000000..d02665ae7
--- /dev/null
+++ b/keyboards/doro67/rgb/keymaps/default/keymap.c
@@ -0,0 +1,62 @@
1/* Copyright 2019 MechMerlin
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include QMK_KEYBOARD_H
17
18// Defines the keycodes used by our macros in process_record_user
19enum custom_keycodes {
20 QMKBEST = SAFE_RANGE,
21 QMKURL
22};
23
24const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
25 [0] = LAYOUT( \
26 KC_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_INS, \
27 KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRC, KC_RBRC, KC_BSLS, KC_DEL, \
28 KC_CAPS, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, KC_QUOT, KC_ENT, KC_PGUP, \
29 KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_LSFT, KC_UP, KC_PGDN, \
30 KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_LALT, MO(1), KC_LEFT, KC_DOWN, KC_RGHT \
31 ),
32
33 [1] = LAYOUT( \
34 KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, \
35 QMKBEST, QMKURL, KC_TRNS, KC_TRNS, RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
36 RGB_TOG, RGB_MOD, RGB_HUI, RGB_SAI, RGB_SPI, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
37 KC_TRNS, RGB_RMOD, RGB_HUD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, \
38 KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS \
39 ),
40};
41
42bool process_record_user(uint16_t keycode, keyrecord_t *record) {
43 switch (keycode) {
44 case QMKBEST:
45 if (record->event.pressed) {
46 // when keycode QMKBEST is pressed
47 SEND_STRING("QMK is the best thing ever!");
48 } else {
49 // when keycode QMKBEST is released
50 }
51 break;
52 case QMKURL:
53 if (record->event.pressed) {
54 // when keycode QMKURL is pressed
55 SEND_STRING("https://qmk.fm/" SS_TAP(X_ENTER));
56 } else {
57 // when keycode QMKURL is released
58 }
59 break;
60 }
61 return true;
62}
diff --git a/keyboards/doro67/rgb/keymaps/default/readme.md b/keyboards/doro67/rgb/keymaps/default/readme.md
new file mode 100644
index 000000000..4ba5eb30f
--- /dev/null
+++ b/keyboards/doro67/rgb/keymaps/default/readme.md
@@ -0,0 +1 @@
# The default keymap for rgb
diff --git a/keyboards/doro67/rgb/readme.md b/keyboards/doro67/rgb/readme.md
new file mode 100644
index 000000000..3a527c933
--- /dev/null
+++ b/keyboards/doro67/rgb/readme.md
@@ -0,0 +1,17 @@
1# Doro67 RGB PCB
2
365% custom keyboard made by 80ultraman/Alf/Backprop Studios with in switch RGB featuring the same switch matrix and layout as the regular PCB.
4
5Flashing the regular PCB firmware on this board will work, but will disable RGB lighting.
6
7Keyboard Maintainer: [MechMerlin](https://github.com/mechmerlin)
8Hardware Supported: Doro 67 RGB PCB
9Hardware Availability: [Geekhack GB](https://geekhack.org/index.php?topic=97265.0)
10
11Make example for this keyboard (after setting up your build environment):
12
13 make doro67/rgb:default
14
15**RGB Note:** The WS2812 string of LEDs starts from the `K00` key connected to pin `B7` and is connected from left to right, top to bottom, following the physical layout of the board.
16
17See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs).
diff --git a/keyboards/doro67/rgb/rgb.c b/keyboards/doro67/rgb/rgb.c
new file mode 100644
index 000000000..6f39e00c6
--- /dev/null
+++ b/keyboards/doro67/rgb/rgb.c
@@ -0,0 +1,127 @@
1/* Copyright 2019 MechMerlin
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#include "rgb.h"
17
18// Optional override functions below.
19// You can leave any or all of these undefined.
20// These are only required if you want to perform custom actions.
21
22
23
24void matrix_init_kb(void) {
25 // put your keyboard start-up code here
26 // runs once when the firmware starts up
27 setPinOutput(E6);
28 matrix_init_user();
29}
30
31void matrix_scan_kb(void) {
32 // put your looping keyboard code here
33 // runs every cycle (a lot)
34
35 matrix_scan_user();
36}
37
38bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
39 // put your per-action keyboard code here
40 // runs for every action, just before processing by the firmware
41
42 return process_record_user(keycode, record);
43}
44
45void led_set_kb(uint8_t usb_led) {
46 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
47 if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
48 writePinLow(E6);
49 } else {
50 writePinHigh(E6);
51 }
52 led_set_user(usb_led);
53}
54
55const rgb_led g_rgb_leds[DRIVER_LED_TOTAL] = {
56 {{0|(0<<4)}, {15*0, 0}, 0}, // Esc
57 {{0|(1<<4)}, {15*1, 0}, 0}, // 1
58 {{0|(2<<4)}, {15*2, 0}, 0}, // 2
59 {{0|(3<<4)}, {15*3, 0}, 0}, // 3
60 {{0|(4<<4)}, {15*4, 0}, 0}, // 4
61 {{0|(5<<4)}, {15*5, 0}, 0}, // 5
62 {{0|(6<<4)}, {15*6, 0}, 0}, // 6
63 {{0|(7<<4)}, {15*7, 0}, 0}, // 7
64 {{0|(8<<4)}, {15*8, 0}, 0}, // 8
65 {{0|(9<<4)}, {15*9, 0}, 0}, // 9
66 {{0|(10<<4)}, {15*10, 0}, 0}, // 0
67 {{0|(11<<4)}, {15*11, 0}, 0}, // -
68 {{0|(12<<4)}, {15*12, 0}, 0}, // =
69 {{0|(13<<4)}, {15*13.5, 0}, 1}, // Backspace
70 {{0|(14<<4)}, {15*15, 0}, 1}, // Ins
71
72 {{1|(0<<4)}, {15*0.5, 16}, 1}, // Tab
73 {{1|(1<<4)}, {15*1.5, 16}, 0}, // Q
74 {{1|(2<<4)}, {15*2.5, 16}, 0}, // W
75 {{1|(3<<4)}, {15*3.5, 16}, 0}, // E
76 {{1|(4<<4)}, {15*4.5, 16}, 0}, // R
77 {{1|(5<<4)}, {15*5.5, 16}, 0}, // T
78 {{1|(6<<4)}, {15*6.5, 16}, 0}, // Y
79 {{1|(7<<4)}, {15*7.5, 16}, 0}, // U
80 {{1|(8<<4)}, {15*8.5, 16}, 0}, // I
81 {{1|(9<<4)}, {15*9.5, 16}, 0}, // O
82 {{1|(10<<4)}, {15*10.5, 16}, 0}, // P
83 {{1|(11<<4)}, {15*11.5, 16}, 0}, // [
84 {{1|(12<<4)}, {15*12.5, 16}, 0}, // ]
85 {{1|(13<<4)}, {15*13.75, 16}, 1}, //
86 {{1|(14<<4)}, {15*15, 16}, 1}, // Del
87
88 {{2|(0<<4)}, {15*0.75, 32}, 1}, // Capslock
89 {{2|(1<<4)}, {15*1.75, 32}, 0}, // A
90 {{2|(2<<4)}, {15*2.75, 32}, 0}, // S
91 {{2|(3<<4)}, {15*3.75, 32}, 0}, // D
92 {{2|(4<<4)}, {15*4.75, 32}, 0}, // F
93 {{2|(5<<4)}, {15*5.75, 32}, 0}, // G
94 {{2|(6<<4)}, {15*6.75, 32}, 0}, // H
95 {{2|(7<<4)}, {15*7.75, 32}, 0}, // J
96 {{2|(8<<4)}, {15*8.75, 32}, 0}, // K
97 {{2|(9<<4)}, {15*9.75, 32}, 0}, // L
98 {{2|(10<<4)}, {15*10.75, 32}, 0}, // ;
99 {{2|(11<<4)}, {15*11.75, 32}, 0}, // '
100 {{2|(13<<4)}, {15*13.25, 32}, 1}, // Enter
101 {{2|(14<<4)}, {15*15, 32}, 1}, // Pgup
102
103 {{3|(0<<4)}, {15*1.25, 48}, 1}, // LShift
104 {{3|(2<<4)}, {15*2, 48}, 0}, // Z
105 {{3|(3<<4)}, {15*3, 48}, 0}, // X
106 {{3|(4<<4)}, {15*4, 48}, 0}, // C
107 {{3|(5<<4)}, {15*5, 48}, 0}, // V
108 {{3|(6<<4)}, {15*6, 48}, 0}, // B
109 {{3|(7<<4)}, {15*7, 48}, 0}, // N
110 {{3|(8<<4)}, {15*8, 48}, 0}, // M
111 {{3|(9<<4)}, {15*9, 48}, 0}, // ,
112 {{3|(10<<4)}, {15*10, 48}, 0}, // .
113 {{3|(11<<4)}, {15*11, 48}, 0}, // /
114 {{3|(12<<4)}, {15*12.75, 48}, 1}, // Shift
115 {{3|(13<<4)}, {15*14, 48}, 1}, // Up
116 {{3|(14<<4)}, {15*15, 48}, 1}, // Pgdn
117
118 {{4|(0<<4)}, {15*0.25, 64}, 1}, // Ctrl
119 {{4|(1<<4)}, {15*1.5, 64}, 1}, // GUI
120 {{4|(2<<4)}, {15*2.25, 64}, 1}, // Alt
121 {{4|(3<<4)}, {15*6.75, 64}, 0}, // Space
122 {{4|(9<<4)}, {15*9, 64}, 1}, // RAlt
123 {{4|(10<<4)}, {15*10.25, 64}, 1}, // FN
124 {{4|(12<<4)}, {15*13, 64}, 1}, // Left
125 {{4|(13<<4)}, {15*14, 64}, 1}, // Down
126 {{4|(14<<4)}, {15*15, 64}, 1}, // Right
127};
diff --git a/keyboards/doro67/rgb/rgb.h b/keyboards/doro67/rgb/rgb.h
new file mode 100644
index 000000000..aafba11d0
--- /dev/null
+++ b/keyboards/doro67/rgb/rgb.h
@@ -0,0 +1,41 @@
1/* Copyright 2019 MechMerlin
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18#include "quantum.h"
19
20/* This a shortcut to help you visually see your layout.
21 *
22 * The first section contains all of the arguments representing the physical
23 * layout of the board and position of the keys.
24 *
25 * The second converts the arguments into a two-dimensional array which
26 * represents the switch matrix.
27 */
28#define LAYOUT( \
29 k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E, \
30 k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E, \
31 k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, k2D, k2E, \
32 k30, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E, \
33 k40, k41, k42, k43, k49, k4A, k4C, k4D, k4E \
34) \
35{ \
36 { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A, k0B, k0C, k0D, k0E }, \
37 { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1A, k1B, k1C, k1D, k1E }, \
38 { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A, k2B, KC_NO, k2D, k2E }, \
39 { k30, KC_NO, k32, k33, k34, k35, k36, k37, k38, k39, k3A, k3B, k3C, k3D, k3E }, \
40 { k40, k41, k42, k43, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, k49, k4A, KC_NO, k4C, k4D, k4E }, \
41}
diff --git a/keyboards/doro67/rgb/rules.mk b/keyboards/doro67/rgb/rules.mk
new file mode 100644
index 000000000..6438868dc
--- /dev/null
+++ b/keyboards/doro67/rgb/rules.mk
@@ -0,0 +1,83 @@
1# MCU name
2#MCU = at90usb1286
3MCU = atmega32u4
4
5# Processor frequency.
6# This will define a symbol, F_CPU, in all source code files equal to the
7# processor frequency in Hz. You can then use this symbol in your source code to
8# calculate timings. Do NOT tack on a 'UL' at the end, this will be done
9# automatically to create a 32-bit value in your source code.
10#
11# This will be an integer division of F_USB below, as it is sourced by
12# F_USB after it has run through any CPU prescalers. Note that this value
13# does not *change* the processor frequency - it should merely be updated to
14# reflect the processor speed set externally so that the code can use accurate
15# software delays.
16F_CPU = 16000000
17
18
19#
20# LUFA specific
21#
22# Target architecture (see library "Board Types" documentation).
23ARCH = AVR8
24
25# Input clock frequency.
26# This will define a symbol, F_USB, in all source code files equal to the
27# input clock frequency (before any prescaling is performed) in Hz. This value may
28# differ from F_CPU if prescaling is used on the latter, and is required as the
29# raw input clock is fed directly to the PLL sections of the AVR for high speed
30# clock generation for the USB and other AVR subsections. Do NOT tack on a 'UL'
31# at the end, this will be done automatically to create a 32-bit value in your
32# source code.
33#
34# If no clock division is performed on the input clock inside the AVR (via the
35# CPU clock adjust registers or the clock division fuses), this will be equal to F_CPU.
36F_USB = $(F_CPU)
37
38# Interrupt driven control endpoint task(+60)
39OPT_DEFS += -DINTERRUPT_CONTROL_ENDPOINT
40
41
42# Bootloader selection
43# Teensy halfkay
44# Pro Micro caterina
45# Atmel DFU atmel-dfu
46# LUFA DFU lufa-dfu
47# QMK DFU qmk-dfu
48# atmega32a bootloadHID
49BOOTLOADER = atmel-dfu
50
51
52# If you don't know the bootloader type, then you can specify the
53# Boot Section Size in *bytes* by uncommenting out the OPT_DEFS line
54# Teensy halfKay 512
55# Teensy++ halfKay 1024
56# Atmel DFU loader 4096
57# LUFA bootloader 4096
58# USBaspLoader 2048
59# OPT_DEFS += -DBOOTLOADER_SIZE=4096
60
61RGB_MATRIX_ENABLE = WS2812
62
63
64# Build Options
65# change yes to no to disable
66#
67BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000)
68MOUSEKEY_ENABLE = yes # Mouse keys(+4700)
69EXTRAKEY_ENABLE = yes # Audio control and System control(+450)
70CONSOLE_ENABLE = no # Console for debug(+400)
71COMMAND_ENABLE = no # Commands for debug and configuration
72# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
73SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
74# if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work
75NKRO_ENABLE = no # USB Nkey Rollover
76BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality on B7 by default
77RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
78MIDI_ENABLE = no # MIDI support (+2400 to 4200, depending on config)
79UNICODE_ENABLE = no # Unicode
80BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID
81AUDIO_ENABLE = no # Audio output on port C6
82FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches
83HD44780_ENABLE = no # Enable support for HD44780 based LCDs (+400)