diff options
Diffstat (limited to 'keyboards/dtisaac')
27 files changed, 1107 insertions, 0 deletions
diff --git a/keyboards/dtisaac/cg108/cg108.c b/keyboards/dtisaac/cg108/cg108.c new file mode 100644 index 000000000..c2a7254aa --- /dev/null +++ b/keyboards/dtisaac/cg108/cg108.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 | #include "cg108.h" | ||
diff --git a/keyboards/dtisaac/cg108/cg108.h b/keyboards/dtisaac/cg108/cg108.h new file mode 100644 index 000000000..353219339 --- /dev/null +++ b/keyboards/dtisaac/cg108/cg108.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 | #include "quantum.h" | ||
20 | |||
21 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | // default keymap: all 117 keys with ANSI Enter | ||
30 | #define LAYOUT( \ | ||
31 | K000, K001, K002, K003, K300, K301, K302, K303, K306, K307, K308, K309, K310, K004, K005, K006, K007, K008, K009, K010, \ | ||
32 | K100, K101, K102, K103, K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410, K104, K105, K106, K107, K108, K109, K110, \ | ||
33 | K200, K201, K202, K203, K500, K501, K502, K503, K505, K506, K507, K508, K509, K510, K204, K205, K206, K207, K208, K209, K210, \ | ||
34 | K800, K801, K802, K803, K600, K601, K602, K603, K606, K607, K608, K609, K610, K807, K808, K809, K810, \ | ||
35 | K900, K901, K902, K903, K700, K701, K702, K703, K705, K706, K707, K708, K709, K710, K906, K907, K908, K909, K910, \ | ||
36 | KA00, KA01, KA02, KA03, K804, K805, K806, K604, K605, K904, K905, KA04, KA05, KA06, KA07, KA08, KA09, KA10 \ | ||
37 | ) { \ | ||
38 | { K000, K001, K002, K003, K004, K005, K006, K007, K008, K009, K010 }, \ | ||
39 | { K100, K101, K102, K103, K104, K105, K106, K107, K108, K109, K110 }, \ | ||
40 | { K200, K201, K202, K203, K204, K205, K206, K207, K208, K209, K210 }, \ | ||
41 | { K300, K301, K302, K303, KC_NO, KC_NO, K306, K307, K308, K309, K310 }, \ | ||
42 | { K400, K401, K402, K403, K404, K405, K406, K407, K408, K409, K410 }, \ | ||
43 | { K500, K501, K502, K503, KC_NO, K505, K506, K507, K508, K509, K510 }, \ | ||
44 | { K600, K601, K602, K603, K604, K605, K606, K607, K608, K609, K610 }, \ | ||
45 | { K700, K701, K702, K703, KC_NO, K705, K706, K707, K708, K709, K710 }, \ | ||
46 | { K800, K801, K802, K803, K804, K805, K806, K807, K808, K809, K810 }, \ | ||
47 | { K900, K901, K902, K903, K904, K905, K906, K907, K908, K909, K910 }, \ | ||
48 | { KA00, KA01, KA02, KA03, KA04, KA05, KA06, KA07, KA08, KA09, KA10 } \ | ||
49 | } | ||
diff --git a/keyboards/dtisaac/cg108/config.h b/keyboards/dtisaac/cg108/config.h new file mode 100644 index 000000000..7ce2de42b --- /dev/null +++ b/keyboards/dtisaac/cg108/config.h | |||
@@ -0,0 +1,62 @@ | |||
1 | /* | ||
2 | Copyright 2021 DTIsaac | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along 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 0x4454 // DT | ||
24 | #define PRODUCT_ID 0x4973 // Is | ||
25 | #define DEVICE_VER 0x0002 | ||
26 | #define MANUFACTURER DTIsaac | ||
27 | #define PRODUCT CG108 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 11 | ||
31 | #define MATRIX_COLS 11 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | /* key matrix pins */ | ||
44 | #define MATRIX_ROW_PINS { F4, F1, F0, F5, F6, F7, D4, D5, D3, D2, D0 } | ||
45 | #define MATRIX_COL_PINS { C7, C6, B4, D7, B3, B2, B0, E6, B1, D1, D6 } | ||
46 | #define UNUSED_PINS | ||
47 | |||
48 | /* COL2ROW, ROW2COL */ | ||
49 | #define DIODE_DIRECTION COL2ROW | ||
50 | |||
51 | #define LED_NUM_LOCK_PIN B5 | ||
52 | #define LED_CAPS_LOCK_PIN B6 | ||
53 | #define LED_SCROLL_LOCK_PIN B7 | ||
54 | #define LED_PIN_ON_STATE 0 | ||
55 | |||
56 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
57 | #define DEBOUNCE 5 | ||
58 | |||
59 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
60 | #define LOCKING_SUPPORT_ENABLE | ||
61 | /* Locking resynchronize hack */ | ||
62 | #define LOCKING_RESYNC_ENABLE | ||
diff --git a/keyboards/dtisaac/cg108/info.json b/keyboards/dtisaac/cg108/info.json new file mode 100644 index 000000000..0ecc1764f --- /dev/null +++ b/keyboards/dtisaac/cg108/info.json | |||
@@ -0,0 +1,130 @@ | |||
1 | { | ||
2 | "keyboard_name": "CG108", | ||
3 | "url": "", | ||
4 | "maintainer": "daotakisaac", | ||
5 | "width": 22.5, | ||
6 | "height": 6.5, | ||
7 | "layouts": { | ||
8 | "LAYOUT": { | ||
9 | "layout": [ | ||
10 | {"label":"K000", "x":0, "y":0}, | ||
11 | {"label":"K001", "x":2, "y":0}, | ||
12 | {"label":"K002", "x":3, "y":0}, | ||
13 | {"label":"K003", "x":4, "y":0}, | ||
14 | {"label":"K300", "x":5, "y":0}, | ||
15 | {"label":"K301", "x":6.5, "y":0}, | ||
16 | {"label":"K302", "x":7.5, "y":0}, | ||
17 | {"label":"K303", "x":8.5, "y":0}, | ||
18 | {"label":"K306", "x":9.5, "y":0}, | ||
19 | {"label":"K307", "x":11, "y":0}, | ||
20 | {"label":"K308", "x":12, "y":0}, | ||
21 | {"label":"K309", "x":13, "y":0}, | ||
22 | {"label":"K310", "x":14, "y":0}, | ||
23 | {"label":"K004", "x":15.25, "y":0}, | ||
24 | {"label":"K005", "x":16.25, "y":0}, | ||
25 | {"label":"K006", "x":17.25, "y":0}, | ||
26 | {"label":"K007", "x":18.5, "y":0}, | ||
27 | {"label":"K008", "x":19.5, "y":0}, | ||
28 | {"label":"K009", "x":20.5, "y":0}, | ||
29 | {"label":"K010", "x":21.5, "y":0}, | ||
30 | {"label":"K100", "x":0, "y":1.5}, | ||
31 | {"label":"K101", "x":1, "y":1.5}, | ||
32 | {"label":"K102", "x":2, "y":1.5}, | ||
33 | {"label":"K103", "x":3, "y":1.5}, | ||
34 | {"label":"K400", "x":4, "y":1.5}, | ||
35 | {"label":"K401", "x":5, "y":1.5}, | ||
36 | {"label":"K402", "x":6, "y":1.5}, | ||
37 | {"label":"K403", "x":7, "y":1.5}, | ||
38 | {"label":"K404", "x":8, "y":1.5}, | ||
39 | {"label":"K405", "x":9, "y":1.5}, | ||
40 | {"label":"K406", "x":10, "y":1.5}, | ||
41 | {"label":"K407", "x":11, "y":1.5}, | ||
42 | {"label":"K408", "x":12, "y":1.5}, | ||
43 | {"label":"K409", "x":13, "y":1.5}, | ||
44 | {"label":"K410", "x":14, "y":1.5}, | ||
45 | {"label":"K104", "x":15.25, "y":1.5}, | ||
46 | {"label":"K105", "x":16.25, "y":1.5}, | ||
47 | {"label":"K106", "x":17.25, "y":1.5}, | ||
48 | {"label":"K107", "x":18.5, "y":1.5}, | ||
49 | {"label":"K108", "x":19.5, "y":1.5}, | ||
50 | {"label":"K109", "x":20.5, "y":1.5}, | ||
51 | {"label":"K110", "x":21.5, "y":1.5}, | ||
52 | {"label":"K200", "x":0, "y":2.5, "w":1.5}, | ||
53 | {"label":"K201", "x":1.5, "y":2.5}, | ||
54 | {"label":"K202", "x":2.5, "y":2.5}, | ||
55 | {"label":"K203", "x":3.5, "y":2.5}, | ||
56 | {"label":"K500", "x":4.5, "y":2.5}, | ||
57 | {"label":"K501", "x":5.5, "y":2.5}, | ||
58 | {"label":"K502", "x":6.5, "y":2.5}, | ||
59 | {"label":"K503", "x":7.5, "y":2.5}, | ||
60 | {"label":"K505", "x":8.5, "y":2.5}, | ||
61 | {"label":"K506", "x":9.5, "y":2.5}, | ||
62 | {"label":"K507", "x":10.5, "y":2.5}, | ||
63 | {"label":"K508", "x":11.5, "y":2.5}, | ||
64 | {"label":"K509", "x":12.5, "y":2.5}, | ||
65 | {"label":"K510", "x":13.5, "y":2.5, "w":1.5}, | ||
66 | {"label":"K204", "x":15.25, "y":2.5}, | ||
67 | {"label":"K205", "x":16.25, "y":2.5}, | ||
68 | {"label":"K206", "x":17.25, "y":2.5}, | ||
69 | {"label":"K207", "x":18.5, "y":2.5}, | ||
70 | {"label":"K208", "x":19.5, "y":2.5}, | ||
71 | {"label":"K209", "x":20.5, "y":2.5}, | ||
72 | {"label":"K210", "x":21.5, "y":2.5}, | ||
73 | {"label":"K800", "x":0, "y":3.5, "w":1.75}, | ||
74 | {"label":"K801", "x":1.75, "y":3.5}, | ||
75 | {"label":"K802", "x":2.75, "y":3.5}, | ||
76 | {"label":"K803", "x":3.75, "y":3.5}, | ||
77 | {"label":"K600", "x":4.75, "y":3.5}, | ||
78 | {"label":"K601", "x":5.75, "y":3.5}, | ||
79 | {"label":"K602", "x":6.75, "y":3.5}, | ||
80 | {"label":"K603", "x":7.75, "y":3.5}, | ||
81 | {"label":"K606", "x":8.75, "y":3.5}, | ||
82 | {"label":"K607", "x":9.75, "y":3.5}, | ||
83 | {"label":"K608", "x":10.75, "y":3.5}, | ||
84 | {"label":"K609", "x":11.75, "y":3.5}, | ||
85 | {"label":"K610", "x":12.75, "y":3.5, "w":2.25}, | ||
86 | {"label":"K807", "x":18.5, "y":3.5}, | ||
87 | {"label":"K808", "x":19.5, "y":3.5}, | ||
88 | {"label":"K809", "x":20.5, "y":3.5}, | ||
89 | {"label":"K810", "x":21.5, "y":3.5}, | ||
90 | {"label":"K900", "x":0, "y":4.5, "w":1.25}, | ||
91 | {"label":"K901", "x":1.25, "y":4.5}, | ||
92 | {"label":"K902", "x":2.25, "y":4.5}, | ||
93 | {"label":"K903", "x":3.25, "y":4.5}, | ||
94 | {"label":"K700", "x":4.25, "y":4.5}, | ||
95 | {"label":"K701", "x":5.25, "y":4.5}, | ||
96 | {"label":"K702", "x":6.25, "y":4.5}, | ||
97 | {"label":"K703", "x":7.25, "y":4.5}, | ||
98 | {"label":"K705", "x":8.25, "y":4.5}, | ||
99 | {"label":"K706", "x":9.25, "y":4.5}, | ||
100 | {"label":"K707", "x":10.25, "y":4.5}, | ||
101 | {"label":"K708", "x":11.25, "y":4.5}, | ||
102 | {"label":"K709", "x":12.25, "y":4.5, "w":1.75}, | ||
103 | {"label":"K710", "x":14, "y":4.5}, | ||
104 | {"label":"K906", "x":16.25, "y":4.5}, | ||
105 | {"label":"K907", "x":18.5, "y":4.5}, | ||
106 | {"label":"K908", "x":19.5, "y":4.5}, | ||
107 | {"label":"K909", "x":20.5, "y":4.5}, | ||
108 | {"label":"K910", "x":21.5, "y":4.5}, | ||
109 | {"label":"KA00", "x":0, "y":5.5, "w":1.5}, | ||
110 | {"label":"KA01", "x":1.5, "y":5.5}, | ||
111 | {"label":"KA02", "x":2.5, "y":5.5, "w":1.5}, | ||
112 | {"label":"KA03", "x":4, "y":5.5}, | ||
113 | {"label":"K804", "x":5, "y":5.5, "w":2}, | ||
114 | {"label":"K805", "x":7, "y":5.5}, | ||
115 | {"label":"K806", "x":8, "y":5.5, "w":2}, | ||
116 | {"label":"K604", "x":10, "y":5.5}, | ||
117 | {"label":"K605", "x":11, "y":5.5, "w":1.5}, | ||
118 | {"label":"K904", "x":12.5, "y":5.5}, | ||
119 | {"label":"K905", "x":13.5, "y":5.5, "w":1.5}, | ||
120 | {"label":"KA04", "x":15.25, "y":5.5}, | ||
121 | {"label":"KA05", "x":16.25, "y":5.5}, | ||
122 | {"label":"KA06", "x":17.25, "y":5.5}, | ||
123 | {"label":"KA07", "x":18.5, "y":5.5}, | ||
124 | {"label":"KA08", "x":19.5, "y":5.5}, | ||
125 | {"label":"KA09", "x":20.5, "y":5.5}, | ||
126 | {"label":"KA10", "x":21.5, "y":5.5} | ||
127 | ] | ||
128 | } | ||
129 | } | ||
130 | } | ||
diff --git a/keyboards/dtisaac/cg108/keymaps/default/keymap.c b/keyboards/dtisaac/cg108/keymaps/default/keymap.c new file mode 100644 index 000000000..b7658315c --- /dev/null +++ b/keyboards/dtisaac/cg108/keymaps/default/keymap.c | |||
@@ -0,0 +1,27 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
19 | [0] = LAYOUT( | ||
20 | KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS, KC_MPLY, KC_MPRV, KC_MNXT, KC_MUTE, | ||
21 | KC_GRV, 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_BSPC, KC_INS, KC_HOME, KC_PGUP, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
22 | 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, KC_END, KC_PGDN, KC_P7, KC_P8, KC_P9, KC_PPLS, | ||
23 | 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_P4, KC_P5, KC_P6, KC_PPLS, | ||
24 | KC_LSFT, KC_NUBS, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_RSFT, KC_UP, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
25 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RGUI, KC_APP, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PCMM, KC_PDOT, KC_PENT | ||
26 | ) | ||
27 | }; \ No newline at end of file | ||
diff --git a/keyboards/dtisaac/cg108/keymaps/default/readme.md b/keyboards/dtisaac/cg108/keymaps/default/readme.md new file mode 100644 index 000000000..48c74775d --- /dev/null +++ b/keyboards/dtisaac/cg108/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for CG108 | |||
diff --git a/keyboards/dtisaac/cg108/readme.md b/keyboards/dtisaac/cg108/readme.md new file mode 100644 index 000000000..3bf38f768 --- /dev/null +++ b/keyboards/dtisaac/cg108/readme.md | |||
@@ -0,0 +1,26 @@ | |||
1 | # CG108 | ||
2 | |||
3 |  | ||
4 | |||
5 | A base full-size keyboard CG108 of DTIsaac | ||
6 | |||
7 | * Keyboard Maintainer: [DTIsaac](https://github.com/daotakisaac) | ||
8 | * Hardware Supported: CG108 DTIsaac | ||
9 | |||
10 | Make example for this keyboard (after setting up your build environment): | ||
11 | |||
12 | make dtisaac/cg108:default | ||
13 | |||
14 | Flashing example for this keyboard: | ||
15 | |||
16 | make dtisaac/cg108:default:flash | ||
17 | |||
18 | See 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). | ||
19 | |||
20 | ## Bootloader | ||
21 | |||
22 | Enter the bootloader in 3 ways: | ||
23 | |||
24 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
25 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
26 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
diff --git a/keyboards/dtisaac/cg108/rules.mk b/keyboards/dtisaac/cg108/rules.mk new file mode 100644 index 000000000..5786064c5 --- /dev/null +++ b/keyboards/dtisaac/cg108/rules.mk | |||
@@ -0,0 +1,19 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | NKRO_ENABLE = yes # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
19 | AUDIO_ENABLE = no # Audio output | ||
diff --git a/keyboards/dtisaac/dosa40rgb/config.h b/keyboards/dtisaac/dosa40rgb/config.h new file mode 100644 index 000000000..c5c13bd27 --- /dev/null +++ b/keyboards/dtisaac/dosa40rgb/config.h | |||
@@ -0,0 +1,113 @@ | |||
1 | /* | ||
2 | Copyright 2021 DTIsaac | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along 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 0x4454 // DT | ||
24 | #define PRODUCT_ID 0x4973 // Is | ||
25 | #define DEVICE_VER 0x0004 | ||
26 | #define MANUFACTURER DTIsaac | ||
27 | #define PRODUCT >_Dosa40 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 4 | ||
31 | #define MATRIX_COLS 11 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | #define MATRIX_ROW_PINS { B7, D7, F1, F0 } | ||
44 | #define MATRIX_COL_PINS { D1, D6, D3, D2, B6, C6, C7, F7, F6, F5, F4 } | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL */ | ||
48 | #define DIODE_DIRECTION COL2ROW | ||
49 | |||
50 | #ifdef RGB_MATRIX_ENABLE | ||
51 | #define RGB_DI_PIN D0 | ||
52 | #define DRIVER_LED_TOTAL 42 | ||
53 | #define RGB_MATRIX_KEYPRESSES // reacts to keypresses | ||
54 | #define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) | ||
55 | #define RGB_MATRIX_FRAMEBUFFER_EFFECTS | ||
56 | #define RGB_DISABLE_AFTER_TIMEOUT 0 // number of ticks to wait until disabling effects | ||
57 | // #define RGB_DISABLE_WHEN_USB_SUSPENDED // turn off effects when suspended | ||
58 | #define RGB_MATRIX_LED_FLUSH_LIMIT 16 // limits in milliseconds how frequently an animation will update the LEDs. 16 (16ms) is equivalent to limiting to 60fps (increases keyboard responsiveness) | ||
59 | #define RGB_MATRIX_MAXIMUM_BRIGHTNESS 150 // limits maximum brightness of LEDs to 200 out of 255. If not defined maximum brightness is set to 255 | ||
60 | #define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_PINWHEEL // Sets the default mode, if none has been set | ||
61 | |||
62 | #define ENABLE_RGB_MATRIX_ALPHAS_MODS | ||
63 | #define ENABLE_RGB_MATRIX_GRADIENT_UP_DOWN | ||
64 | #define ENABLE_RGB_MATRIX_GRADIENT_LEFT_RIGHT | ||
65 | #define ENABLE_RGB_MATRIX_BREATHING | ||
66 | #define ENABLE_RGB_MATRIX_BAND_SAT | ||
67 | #define ENABLE_RGB_MATRIX_BAND_VAL | ||
68 | #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_SAT | ||
69 | #define ENABLE_RGB_MATRIX_BAND_PINWHEEL_VAL | ||
70 | #define ENABLE_RGB_MATRIX_BAND_SPIRAL_SAT | ||
71 | #define ENABLE_RGB_MATRIX_BAND_SPIRAL_VAL | ||
72 | #define ENABLE_RGB_MATRIX_CYCLE_ALL | ||
73 | #define ENABLE_RGB_MATRIX_CYCLE_LEFT_RIGHT | ||
74 | #define ENABLE_RGB_MATRIX_CYCLE_UP_DOWN | ||
75 | #define ENABLE_RGB_MATRIX_RAINBOW_MOVING_CHEVRON | ||
76 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN | ||
77 | #define ENABLE_RGB_MATRIX_CYCLE_OUT_IN_DUAL | ||
78 | #define ENABLE_RGB_MATRIX_CYCLE_PINWHEEL | ||
79 | #define ENABLE_RGB_MATRIX_CYCLE_SPIRAL | ||
80 | #define ENABLE_RGB_MATRIX_DUAL_BEACON | ||
81 | #define ENABLE_RGB_MATRIX_RAINBOW_BEACON | ||
82 | #define ENABLE_RGB_MATRIX_RAINBOW_PINWHEELS | ||
83 | #define ENABLE_RGB_MATRIX_RAINDROPS | ||
84 | #define ENABLE_RGB_MATRIX_JELLYBEAN_RAINDROPS | ||
85 | #define ENABLE_RGB_MATRIX_HUE_BREATHING | ||
86 | #define ENABLE_RGB_MATRIX_HUE_PENDULUM | ||
87 | #define ENABLE_RGB_MATRIX_HUE_WAVE | ||
88 | #define ENABLE_RGB_MATRIX_PIXEL_FRACTAL | ||
89 | #define ENABLE_RGB_MATRIX_PIXEL_RAIN | ||
90 | |||
91 | #define ENABLE_RGB_MATRIX_TYPING_HEATMAP | ||
92 | #define ENABLE_RGB_MATRIX_DIGITAL_RAIN | ||
93 | |||
94 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_SIMPLE | ||
95 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE | ||
96 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_WIDE | ||
97 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTIWIDE | ||
98 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_CROSS | ||
99 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTICROSS | ||
100 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_NEXUS | ||
101 | #define ENABLE_RGB_MATRIX_SOLID_REACTIVE_MULTINEXUS | ||
102 | #define ENABLE_RGB_MATRIX_SPLASH | ||
103 | #define ENABLE_RGB_MATRIX_MULTISPLASH | ||
104 | #define ENABLE_RGB_MATRIX_SOLID_SPLASH | ||
105 | #define ENABLE_RGB_MATRIX_SOLID_MULTISPLASH | ||
106 | #endif | ||
107 | |||
108 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
109 | //#define DEBOUNCE 5 | ||
110 | |||
111 | /* disable these deprecated features by default */ | ||
112 | #define NO_ACTION_MACRO | ||
113 | #define NO_ACTION_FUNCTION | ||
diff --git a/keyboards/dtisaac/dosa40rgb/dosa40rgb.c b/keyboards/dtisaac/dosa40rgb/dosa40rgb.c new file mode 100644 index 000000000..c46bfc291 --- /dev/null +++ b/keyboards/dtisaac/dosa40rgb/dosa40rgb.c | |||
@@ -0,0 +1,39 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 | #include "dosa40rgb.h" | ||
18 | |||
19 | #ifdef RGB_MATRIX_ENABLE | ||
20 | led_config_t g_led_config = { { | ||
21 | //Key Matrix to LED Index | ||
22 | {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, | ||
23 | {22, 21, 20, 19, 18, 17, 16, 15, 14, 13, 12 }, | ||
24 | {23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33}, | ||
25 | {41, 40, 39, NO_LED, 38, NO_LED, 37, 36, 35, 34, 11} | ||
26 | }, { | ||
27 | //LED Index to Physical Positon | ||
28 | { 0, 0}, { 20, 0}, { 40, 0 }, { 61, 0 }, { 81, 0}, { 101, 0}, { 122, 0}, { 142, 0}, { 162, 0}, { 183, 0}, { 203, 0}, { 224, 0}, | ||
29 | {203, 21}, {183, 21}, {162,21 }, {142, 21}, {122,21}, { 101,21}, { 81 ,21}, { 61 ,21}, { 40 ,21}, { 20 ,21}, { 0 ,21}, | ||
30 | { 0, 42}, { 20, 42}, { 40,42 }, { 61, 42}, { 81,42}, { 101,42}, { 122,42}, { 142,42}, { 162,42}, { 183,42}, { 203,42}, | ||
31 | {203, 64}, {183, 64}, {162,64 }, {122, 64}, { 81,64}, { 40, 64}, { 20, 64}, { 0, 64}, | ||
32 | }, { | ||
33 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
34 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
35 | 1, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, | ||
36 | 1, 1, 1, 1, 1, 1, 1, 1, | ||
37 | } }; | ||
38 | |||
39 | #endif \ No newline at end of file | ||
diff --git a/keyboards/dtisaac/dosa40rgb/dosa40rgb.h b/keyboards/dtisaac/dosa40rgb/dosa40rgb.h new file mode 100644 index 000000000..659e42f8f --- /dev/null +++ b/keyboards/dtisaac/dosa40rgb/dosa40rgb.h | |||
@@ -0,0 +1,40 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 | #include "quantum.h" | ||
20 | |||
21 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | #define LAYOUT( \ | ||
30 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10, k41, \ | ||
31 | k11, k12, k13, k14, k15, k16, k17, k18, k19, k20, k21, \ | ||
32 | k22, k23, k24, k25, k26, k27, k28, k29, k30, k31, k32, \ | ||
33 | k33, k34, k35, k36, k37, k38, k39, k40 \ | ||
34 | ) \ | ||
35 | { \ | ||
36 | {k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k10}, \ | ||
37 | {k11, k12, k13, k14, k15, k16, k17, k18, k19, k20, k21}, \ | ||
38 | {k22, k23, k24, k25, k26, k27, k28, k29, k30, k31, k32}, \ | ||
39 | {k33, k34, k35, KC_NO,k36, KC_NO, k37, k38, k39, k40, k41}, \ | ||
40 | } | ||
diff --git a/keyboards/dtisaac/dosa40rgb/info.json b/keyboards/dtisaac/dosa40rgb/info.json new file mode 100644 index 000000000..2feed40d4 --- /dev/null +++ b/keyboards/dtisaac/dosa40rgb/info.json | |||
@@ -0,0 +1,53 @@ | |||
1 | { | ||
2 | "keyboard_name": ">_Dosa40rgb", | ||
3 | "url": "", | ||
4 | "maintainer": "DTIsaac", | ||
5 | "layouts": { | ||
6 | "LAYOUT": { | ||
7 | "layout": [ | ||
8 | {"label":"Esc", "x":0, "y":0}, | ||
9 | {"label":"Q", "x":1, "y":0}, | ||
10 | {"label":"W", "x":2, "y":0}, | ||
11 | {"label":"E", "x":3, "y":0}, | ||
12 | {"label":"R", "x":4, "y":0}, | ||
13 | {"label":"T", "x":5, "y":0}, | ||
14 | {"label":"Y", "x":6, "y":0}, | ||
15 | {"label":"U", "x":7, "y":0}, | ||
16 | {"label":"I", "x":8, "y":0}, | ||
17 | {"label":"O", "x":9, "y":0}, | ||
18 | {"label":"P", "x":10, "y":0}, | ||
19 | {"label":"BSPC", "x":11, "y":0}, | ||
20 | {"label":"Caps Lock", "x":0, "y":1, "w":1.5}, | ||
21 | {"label":"A", "x":1.5, "y":1}, | ||
22 | {"label":"S", "x":2.5, "y":1}, | ||
23 | {"label":"D", "x":3.5, "y":1}, | ||
24 | {"label":"F", "x":4.5, "y":1}, | ||
25 | {"label":"G", "x":5.5, "y":1}, | ||
26 | {"label":"H", "x":6.5, "y":1}, | ||
27 | {"label":"J", "x":7.5, "y":1}, | ||
28 | {"label":"K", "x":8.5, "y":1}, | ||
29 | {"label":"L", "x":9.5, "y":1}, | ||
30 | {"label":"Enter", "x":10.5, "y":1, "w":1.5}, | ||
31 | {"label":"Shift", "x":0, "y":2, "w":1.75}, | ||
32 | {"label":"Z", "x":1.75, "y":2}, | ||
33 | {"label":"X", "x":2.75, "y":2}, | ||
34 | {"label":"C", "x":3.75, "y":2}, | ||
35 | {"label":"V", "x":4.75, "y":2}, | ||
36 | {"label":"B", "x":5.75, "y":2}, | ||
37 | {"label":"N", "x":6.75, "y":2}, | ||
38 | {"label":"M", "x":7.75, "y":2}, | ||
39 | {"label":",", "x":8.75, "y":2}, | ||
40 | {"label":".", "x":9.75, "y":2}, | ||
41 | {"label":"Shift", "x":10.75, "y":2, "w":1.25}, | ||
42 | {"label":"Ctrl", "x":0, "y":3, "w":1.25}, | ||
43 | {"label":"Win", "x":1.25, "y":3, "w":1}, | ||
44 | {"label":"Alt", "x":2.25, "y":3, "w":1.25}, | ||
45 | {"label":"Space", "x":3.5, "y":3, "w":2.25}, | ||
46 | {"label":"Space", "x":5.75, "y":3, "w":2.75}, | ||
47 | {"label":"App", "x":8.5, "y":3, "w":1.25}, | ||
48 | {"label":"Fn", "x":9.75, "y":3, "w":1}, | ||
49 | {"label":"Ctrl", "x":10.75, "y":3, "w":1.25} | ||
50 | ] | ||
51 | } | ||
52 | } | ||
53 | } \ No newline at end of file | ||
diff --git a/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c b/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c new file mode 100644 index 000000000..3edc5cfab --- /dev/null +++ b/keyboards/dtisaac/dosa40rgb/keymaps/default/keymap.c | |||
@@ -0,0 +1,74 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _L1, | ||
22 | _L2 | ||
23 | }; | ||
24 | |||
25 | // Defines the keycodes used by our macros in process_record_user | ||
26 | enum custom_keycodes { | ||
27 | BASE, | ||
28 | L1, | ||
29 | }; | ||
30 | |||
31 | #define L1 MO(_L1) | ||
32 | |||
33 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
34 | /* Base */ | ||
35 | [_BASE] = LAYOUT( | ||
36 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
37 | LT(_L2,KC_CAPS), KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_ENT, | ||
38 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_RSFT, | ||
39 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPACE, KC_SPACE, KC_RALT, L1, KC_RCTL | ||
40 | ), | ||
41 | [_L1] = LAYOUT( | ||
42 | RESET, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_DEL, | ||
43 | KC_TRNS, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_SCLN, KC_QUOT, | ||
44 | KC_TRNS, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_TRNS, KC_TRNS, KC_SLSH, KC_TRNS, | ||
45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
46 | ), | ||
47 | [_L2] = LAYOUT( | ||
48 | RGB_TOG, RGB_RMOD, KC_UP, RGB_MOD, RGB_HUI, RGB_VAI, RGB_SAI, RGB_SPI, KC_TRNS, OUT_USB, OUT_BT, KC_TRNS, | ||
49 | KC_TRNS, KC_LEFT, KC_DOWN, KC_RGHT, RGB_HUD, RGB_VAD, RGB_SAD, RGB_SPD, KC_TRNS, KC_TRNS, KC_BSLS, | ||
50 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
51 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TAB, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
52 | ), | ||
53 | }; | ||
54 | |||
55 | void rgb_matrix_indicators_user(void) | ||
56 | { | ||
57 | if (host_keyboard_led_state().caps_lock) | ||
58 | { | ||
59 | rgb_matrix_set_color(22, 200, 200, 200); | ||
60 | } | ||
61 | if (IS_LAYER_ON(_L1)) | ||
62 | { | ||
63 | rgb_matrix_set_color(35, 0, 200, 200); | ||
64 | } | ||
65 | if (IS_LAYER_ON(_L2)) | ||
66 | { | ||
67 | rgb_matrix_set_color(22, 200, 0, 200); | ||
68 | } | ||
69 | } | ||
70 | |||
71 | void keyboard_pre_init_user(void) { | ||
72 | setPinOutput(B5); | ||
73 | writePinLow(B5); | ||
74 | } \ No newline at end of file | ||
diff --git a/keyboards/dtisaac/dosa40rgb/keymaps/default/readme.md b/keyboards/dtisaac/dosa40rgb/keymaps/default/readme.md new file mode 100644 index 000000000..35494635d --- /dev/null +++ b/keyboards/dtisaac/dosa40rgb/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for dosa40rgb | |||
diff --git a/keyboards/dtisaac/dosa40rgb/readme.md b/keyboards/dtisaac/dosa40rgb/readme.md new file mode 100644 index 000000000..5f288c6b7 --- /dev/null +++ b/keyboards/dtisaac/dosa40rgb/readme.md | |||
@@ -0,0 +1,26 @@ | |||
1 | # dosa40rgb | ||
2 | |||
3 |  | ||
4 | |||
5 | A 40 percent keyboard dosa40rgb Bluetooth Low Energy | ||
6 | |||
7 | * Keyboard Maintainer: [DTIsaac](https://github.com/daotakisaac) | ||
8 | * Hardware Supported: ATmega32U4 + AdafruitBLE SPI | ||
9 | |||
10 | Make example for this keyboard (after setting up your build environment): | ||
11 | |||
12 | make dtisaac/dosa40rgb:default | ||
13 | |||
14 | Flashing example for this keyboard: | ||
15 | |||
16 | make dtisaac/dosa40rgb:default:flash | ||
17 | |||
18 | See 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). | ||
19 | |||
20 | ## Bootloader | ||
21 | |||
22 | Enter the bootloader in 3 ways: | ||
23 | |||
24 | * **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard | ||
25 | * **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead | ||
26 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available | ||
diff --git a/keyboards/dtisaac/dosa40rgb/rules.mk b/keyboards/dtisaac/dosa40rgb/rules.mk new file mode 100644 index 000000000..58f478a96 --- /dev/null +++ b/keyboards/dtisaac/dosa40rgb/rules.mk | |||
@@ -0,0 +1,25 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = lufa-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
12 | EXTRAKEY_ENABLE = no # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
19 | AUDIO_ENABLE = no # Audio output | ||
20 | BLUETOOTH_ENABLE = yes # Enable Bluetooth | ||
21 | BLUETOOTH_DRIVER = AdafruitBLE | ||
22 | RGB_MATRIX_ENABLE = yes | ||
23 | RGB_MATRIX_DRIVER = WS2812 | ||
24 | |||
25 | LTO_ENABLE = yes | ||
diff --git a/keyboards/dtisaac/dtisaac01/config.h b/keyboards/dtisaac/dtisaac01/config.h new file mode 100644 index 000000000..f417d6449 --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/config.h | |||
@@ -0,0 +1,95 @@ | |||
1 | /* | ||
2 | Copyright 2021 DTIsaac | ||
3 | |||
4 | This program is free software: you can redistribute it and/or modify | ||
5 | it under the terms of the GNU General Public License as published by | ||
6 | the Free Software Foundation, either version 2 of the License, or | ||
7 | (at your option) any later version. | ||
8 | |||
9 | This program is distributed in the hope that it will be useful, | ||
10 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
12 | GNU General Public License for more details. | ||
13 | |||
14 | You should have received a copy of the GNU General Public License | ||
15 | along 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 0x4454 | ||
24 | #define PRODUCT_ID 0x4973 | ||
25 | #define DEVICE_VER 0x0001 | ||
26 | #define MANUFACTURER DTIsaac | ||
27 | #define PRODUCT dtisaac01 | ||
28 | |||
29 | /* key matrix size */ | ||
30 | #define MATRIX_ROWS 12 | ||
31 | #define MATRIX_COLS 9 | ||
32 | |||
33 | /* | ||
34 | * Keyboard Matrix Assignments | ||
35 | * | ||
36 | * Change this to how you wired your keyboard | ||
37 | * COLS: AVR pins used for columns, left to right | ||
38 | * ROWS: AVR pins used for rows, top to bottom | ||
39 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
40 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
41 | * | ||
42 | */ | ||
43 | #define MATRIX_ROW_PINS { F7, F6, F5, F4, F1, B4, D2, B2, B1, B3, D4, D6 } | ||
44 | #define MATRIX_COL_PINS { C7, C6, D0, B5, F0, D7, B0, B7, D1 } | ||
45 | #define UNUSED_PINS | ||
46 | |||
47 | /* COL2ROW, ROW2COL */ | ||
48 | #define DIODE_DIRECTION ROW2COL | ||
49 | |||
50 | #define LED_CAPS_LOCK_PIN D3 | ||
51 | #define LED_SCROLL_LOCK_PIN D5 | ||
52 | #define LED_PIN_ON_STATE 0 | ||
53 | |||
54 | |||
55 | #define BACKLIGHT_PIN B6 | ||
56 | #define BACKLIGHT_LEVELS 3 | ||
57 | #define BACKLIGHT_BREATHING | ||
58 | |||
59 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
60 | #define DEBOUNCE 5 | ||
61 | |||
62 | |||
63 | /* | ||
64 | * Force NKRO | ||
65 | * | ||
66 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
67 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
68 | * makefile for this to work.) | ||
69 | * | ||
70 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
71 | * until the next keyboard reset. | ||
72 | * | ||
73 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
74 | * fully operational during normal computer usage. | ||
75 | * | ||
76 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
77 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
78 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
79 | * power-up. | ||
80 | * | ||
81 | */ | ||
82 | //#define FORCE_NKRO | ||
83 | |||
84 | /* | ||
85 | * Feature disable options | ||
86 | * These options are also useful to firmware size reduction. | ||
87 | */ | ||
88 | |||
89 | /* disable these deprecated features by default */ | ||
90 | //#define NO_ACTION_MACRO | ||
91 | //#define NO_ACTION_FUNCTION | ||
92 | |||
93 | /* Bootmagic Lite key configuration */ | ||
94 | //#define BOOTMAGIC_LITE_ROW 0 | ||
95 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/dtisaac/dtisaac01/dtisaac01.c b/keyboards/dtisaac/dtisaac01/dtisaac01.c new file mode 100644 index 000000000..b11920280 --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/dtisaac01.c | |||
@@ -0,0 +1,17 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 | #include "dtisaac01.h" | ||
diff --git a/keyboards/dtisaac/dtisaac01/dtisaac01.h b/keyboards/dtisaac/dtisaac01/dtisaac01.h new file mode 100644 index 000000000..e017c6570 --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/dtisaac01.h | |||
@@ -0,0 +1,49 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 | #include "quantum.h" | ||
20 | |||
21 | /* This is a shortcut to help you visually see your layout. | ||
22 | * | ||
23 | * The first section contains all of the arguments representing the physical | ||
24 | * layout of the board and position of the keys. | ||
25 | * | ||
26 | * The second converts the arguments into a two-dimensional array which | ||
27 | * represents the switch matrix. | ||
28 | */ | ||
29 | #define LAYOUT( \ | ||
30 | K000, K001, K002, K003, K004, K005, K006, K007, K008, K058, K061, K062, K063, K064, K065, K066, \ | ||
31 | K010, K011, K012, K013, K014, K015, K016, K017, K018, K068, K060, K071, K072, K073, K074, K075, K076, \ | ||
32 | K020, K021, K022, K023, K024, K025, K026, K027, K028, K078, K070, K081, K082, K083, K084, K085, K086, \ | ||
33 | K030, K031, K032, K033, K034, K035, K036, K037, K038, K088, K080, K091, K093, \ | ||
34 | K040, K042, K043, K044, K045, K046, K047, K048, K098, K090, K101, K103, K105, \ | ||
35 | K050, K051, K052, K056, K100, K111, K112, K113, K114, K115, K116 \ | ||
36 | ) { \ | ||
37 | { K000, K001, K002, K003, K004, K005, K006, K007, K008 }, \ | ||
38 | { K010, K011, K012, K013, K014, K015, K016, K017, K018 }, \ | ||
39 | { K020, K021, K022, K023, K024, K025, K026, K027, K028 }, \ | ||
40 | { K030, K031, K032, K033, K034, K035, K036, K037, K038 }, \ | ||
41 | { K040, KC_NO, K042, K043, K044, K045, K046, K047, K048 }, \ | ||
42 | { K050, K051, K052, KC_NO, KC_NO, KC_NO, K056, KC_NO, K058 }, \ | ||
43 | { K060, K061, K062, K063, K064, K065, K066, KC_NO, K068 }, \ | ||
44 | { K070, K071, K072, K073, K074, K075, K076, KC_NO, K078 }, \ | ||
45 | { K080, K081, K082, K083, K084, K085, K086, KC_NO, K088 }, \ | ||
46 | { K090, K091, KC_NO, K093, KC_NO, KC_NO, KC_NO, KC_NO, K098 }, \ | ||
47 | { K100, K101, KC_NO, K103, KC_NO, K105, KC_NO, KC_NO, KC_NO }, \ | ||
48 | { KC_NO, K111, K112, K113, K114, K115, K116, KC_NO, KC_NO } \ | ||
49 | } | ||
diff --git a/keyboards/dtisaac/dtisaac01/info.json b/keyboards/dtisaac/dtisaac01/info.json new file mode 100644 index 000000000..bf3582d2a --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/info.json | |||
@@ -0,0 +1,98 @@ | |||
1 | { | ||
2 | "keyboard_name": "dtisaac01", | ||
3 | "url": "", | ||
4 | "maintainer": "DTIsaac", | ||
5 | "layouts": { | ||
6 | "LAYOUT": { | ||
7 | "layout": [ | ||
8 | {"label":"K000", "x":0, "y":0}, | ||
9 | {"label":"K001", "x":2, "y":0}, | ||
10 | {"label":"K002", "x":3, "y":0}, | ||
11 | {"label":"K003", "x":4, "y":0}, | ||
12 | {"label":"K004", "x":5, "y":0}, | ||
13 | {"label":"K005", "x":6.5, "y":0}, | ||
14 | {"label":"K006", "x":7.5, "y":0}, | ||
15 | {"label":"K007", "x":8.5, "y":0}, | ||
16 | {"label":"K008", "x":9.5, "y":0}, | ||
17 | {"label":"K058", "x":11, "y":0}, | ||
18 | {"label":"K061", "x":12, "y":0}, | ||
19 | {"label":"K062", "x":13, "y":0}, | ||
20 | {"label":"K063", "x":14, "y":0}, | ||
21 | {"label":"K064", "x":15.25, "y":0}, | ||
22 | {"label":"K065", "x":16.25, "y":0}, | ||
23 | {"label":"K066", "x":17.25, "y":0}, | ||
24 | {"label":"K010", "x":0, "y":1.5}, | ||
25 | {"label":"K011", "x":1, "y":1.5}, | ||
26 | {"label":"K012", "x":2, "y":1.5}, | ||
27 | {"label":"K013", "x":3, "y":1.5}, | ||
28 | {"label":"K014", "x":4, "y":1.5}, | ||
29 | {"label":"K015", "x":5, "y":1.5}, | ||
30 | {"label":"K016", "x":6, "y":1.5}, | ||
31 | {"label":"K017", "x":7, "y":1.5}, | ||
32 | {"label":"K018", "x":8, "y":1.5}, | ||
33 | {"label":"K068", "x":9, "y":1.5}, | ||
34 | {"label":"K060", "x":10, "y":1.5}, | ||
35 | {"label":"K071", "x":11, "y":1.5}, | ||
36 | {"label":"K072", "x":12, "y":1.5}, | ||
37 | {"label":"K073", "x":13, "y":1.5, "w":2}, | ||
38 | {"label":"K074", "x":15.25, "y":1.5}, | ||
39 | {"label":"K075", "x":16.25, "y":1.5}, | ||
40 | {"label":"K076", "x":17.25, "y":1.5}, | ||
41 | {"label":"K020", "x":0, "y":2.5, "w":1.5}, | ||
42 | {"label":"K021", "x":1.5, "y":2.5}, | ||
43 | {"label":"K022", "x":2.5, "y":2.5}, | ||
44 | {"label":"K023", "x":3.5, "y":2.5}, | ||
45 | {"label":"K024", "x":4.5, "y":2.5}, | ||
46 | {"label":"K025", "x":5.5, "y":2.5}, | ||
47 | {"label":"K026", "x":6.5, "y":2.5}, | ||
48 | {"label":"K027", "x":7.5, "y":2.5}, | ||
49 | {"label":"K028", "x":8.5, "y":2.5}, | ||
50 | {"label":"K078", "x":9.5, "y":2.5}, | ||
51 | {"label":"K070", "x":10.5, "y":2.5}, | ||
52 | {"label":"K081", "x":11.5, "y":2.5}, | ||
53 | {"label":"K082", "x":12.5, "y":2.5}, | ||
54 | {"label":"K083", "x":13.5, "y":2.5, "w":1.5}, | ||
55 | {"label":"K084", "x":15.25, "y":2.5}, | ||
56 | {"label":"K085", "x":16.25, "y":2.5}, | ||
57 | {"label":"K086", "x":17.25, "y":2.5}, | ||
58 | {"label":"K030", "x":0, "y":3.5, "w":1.75}, | ||
59 | {"label":"K031", "x":1.75, "y":3.5}, | ||
60 | {"label":"K032", "x":2.75, "y":3.5}, | ||
61 | {"label":"K033", "x":3.75, "y":3.5}, | ||
62 | {"label":"K034", "x":4.75, "y":3.5}, | ||
63 | {"label":"K035", "x":5.75, "y":3.5}, | ||
64 | {"label":"K036", "x":6.75, "y":3.5}, | ||
65 | {"label":"K037", "x":7.75, "y":3.5}, | ||
66 | {"label":"K038", "x":8.75, "y":3.5}, | ||
67 | {"label":"K088", "x":9.75, "y":3.5}, | ||
68 | {"label":"K080", "x":10.75, "y":3.5}, | ||
69 | {"label":"K091", "x":11.75, "y":3.5}, | ||
70 | {"label":"K093", "x":12.75, "y":3.5, "w":2.25}, | ||
71 | {"label":"K040", "x":0, "y":4.5, "w":2.25}, | ||
72 | {"label":"K042", "x":2.25, "y":4.5}, | ||
73 | {"label":"K043", "x":3.25, "y":4.5}, | ||
74 | {"label":"K044", "x":4.25, "y":4.5}, | ||
75 | {"label":"K045", "x":5.25, "y":4.5}, | ||
76 | {"label":"K046", "x":6.25, "y":4.5}, | ||
77 | {"label":"K047", "x":7.25, "y":4.5}, | ||
78 | {"label":"K048", "x":8.25, "y":4.5}, | ||
79 | {"label":"K098", "x":9.25, "y":4.5}, | ||
80 | {"label":"K090", "x":10.25, "y":4.5}, | ||
81 | {"label":"K101", "x":11.25, "y":4.5}, | ||
82 | {"label":"K103", "x":12.25, "y":4.5, "w":2.75}, | ||
83 | {"label":"K105", "x":16.25, "y":4.5}, | ||
84 | {"label":"K050", "x":0, "y":5.5, "w":1.25}, | ||
85 | {"label":"K051", "x":1.25, "y":5.5, "w":1.25}, | ||
86 | {"label":"K052", "x":2.5, "y":5.5, "w":1.25}, | ||
87 | {"label":"K056", "x":3.75, "y":5.5, "w":6.25}, | ||
88 | {"label":"K100", "x":10, "y":5.5, "w":1.25}, | ||
89 | {"label":"K111", "x":11.25, "y":5.5, "w":1.25}, | ||
90 | {"label":"K112", "x":12.5, "y":5.5, "w":1.25}, | ||
91 | {"label":"K113", "x":13.75, "y":5.5, "w":1.25} | ||
92 | {"label":"K114", "x":15.25, "y":5.5}, | ||
93 | {"label":"K115", "x":16.25, "y":5.5}, | ||
94 | {"label":"K116", "x":17.25, "y":5.5}, | ||
95 | ] | ||
96 | } | ||
97 | } | ||
98 | } | ||
diff --git a/keyboards/dtisaac/dtisaac01/keymaps/default/keymap.c b/keyboards/dtisaac/dtisaac01/keymaps/default/keymap.c new file mode 100644 index 000000000..15d0f2374 --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/keymaps/default/keymap.c | |||
@@ -0,0 +1,47 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 names for use in layer keycodes and the keymap | ||
19 | enum layer_names { | ||
20 | _BASE, | ||
21 | _FN | ||
22 | }; | ||
23 | |||
24 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
25 | [_BASE] = LAYOUT( | ||
26 | KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS, | ||
27 | KC_GRV, 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, KC_HOME, KC_PGUP, | ||
28 | 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, KC_END, KC_PGDN, | ||
29 | 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, | ||
30 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
31 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, LT(1, KC_NO), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
32 | ), | ||
33 | [_FN] = LAYOUT( | ||
34 | RESET, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
35 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
36 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
37 | 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, | ||
39 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
40 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
41 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
42 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
43 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
44 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, | ||
45 | KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS, KC_TRNS | ||
46 | ) | ||
47 | }; \ No newline at end of file | ||
diff --git a/keyboards/dtisaac/dtisaac01/keymaps/default/readme.md b/keyboards/dtisaac/dtisaac01/keymaps/default/readme.md new file mode 100644 index 000000000..0407ae233 --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/keymaps/default/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for dtisaac01 | |||
diff --git a/keyboards/dtisaac/dtisaac01/keymaps/via/keymap.c b/keyboards/dtisaac/dtisaac01/keymaps/via/keymap.c new file mode 100644 index 000000000..2f61c803f --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/keymaps/via/keymap.c | |||
@@ -0,0 +1,59 @@ | |||
1 | /* Copyright 2021 DTIsaac | ||
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 names for use in layer keycodes and the keymap | ||
19 | enum layers { | ||
20 | _LAYER0, | ||
21 | _LAYER1, | ||
22 | _LAYER2, | ||
23 | _LAYER3, | ||
24 | }; | ||
25 | |||
26 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
27 | [_LAYER0] = LAYOUT( | ||
28 | KC_ESC, 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_PSCR, KC_SLCK, KC_PAUS, | ||
29 | KC_GRV, 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, KC_HOME, KC_PGUP, | ||
30 | 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, KC_END, KC_PGDN, | ||
31 | 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, | ||
32 | KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_RSFT, KC_UP, | ||
33 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RGUI, LT(1, KC_NO), KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT | ||
34 | ), | ||
35 | [_LAYER1] = LAYOUT( | ||
36 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_SLEP, KC_WAKE, KC_PWR, | ||
37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_STEP, BL_ON, BL_INC, | ||
38 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, BL_BRTG, BL_OFF, BL_DEC, | ||
39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
40 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_VOLU, | ||
41 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT | ||
42 | ), | ||
43 | [_LAYER2] = LAYOUT( | ||
44 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
47 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
48 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
49 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
50 | ), | ||
51 | [_LAYER3] = LAYOUT( | ||
52 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
53 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
54 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
55 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
56 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
57 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
58 | ), | ||
59 | }; \ No newline at end of file | ||
diff --git a/keyboards/dtisaac/dtisaac01/keymaps/via/readme.md b/keyboards/dtisaac/dtisaac01/keymaps/via/readme.md new file mode 100644 index 000000000..0407ae233 --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/keymaps/via/readme.md | |||
@@ -0,0 +1 @@ | |||
# The default keymap for dtisaac01 | |||
diff --git a/keyboards/dtisaac/dtisaac01/keymaps/via/rules.mk b/keyboards/dtisaac/dtisaac01/keymaps/via/rules.mk new file mode 100644 index 000000000..036bd6d1c --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/keymaps/via/rules.mk | |||
@@ -0,0 +1 @@ | |||
VIA_ENABLE = yes \ No newline at end of file | |||
diff --git a/keyboards/dtisaac/dtisaac01/readme.md b/keyboards/dtisaac/dtisaac01/readme.md new file mode 100644 index 000000000..bf37c4dd2 --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/readme.md | |||
@@ -0,0 +1,19 @@ | |||
1 | # dtisaac01 | ||
2 | |||
3 |  | ||
4 | |||
5 | A 87 percent keyboard DTIsaac01 version | ||
6 | |||
7 | * Keyboard Maintainer: [DTIsaac](https://github.com/daotakisaac) | ||
8 | * Hardware Supported: dtisaac01-atmega32U4 | ||
9 | * Hardware Availability: dtisaac01-atmega32U4 | ||
10 | |||
11 | Make example for this keyboard (after setting up your build environment): | ||
12 | |||
13 | make dtisaac01:default | ||
14 | |||
15 | Flashing example for this keyboard: | ||
16 | |||
17 | make dtisaac01:default:flash | ||
18 | |||
19 | See 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/dtisaac/dtisaac01/rules.mk b/keyboards/dtisaac/dtisaac01/rules.mk new file mode 100644 index 000000000..dfb44b1bf --- /dev/null +++ b/keyboards/dtisaac/dtisaac01/rules.mk | |||
@@ -0,0 +1,18 @@ | |||
1 | # MCU name | ||
2 | MCU = atmega32u4 | ||
3 | |||
4 | # Bootloader selection | ||
5 | BOOTLOADER = atmel-dfu | ||
6 | |||
7 | # Build Options | ||
8 | # change yes to no to disable | ||
9 | # | ||
10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
11 | MOUSEKEY_ENABLE = yes # Mouse keys | ||
12 | EXTRAKEY_ENABLE = yes # Audio control and System control | ||
13 | CONSOLE_ENABLE = no # Console for debug | ||
14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
16 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
18 | AUDIO_ENABLE = no # Audio output | ||