diff options
| author | kb-elmo <lorwel@mailbox.org> | 2021-01-05 23:51:10 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-05 14:51:10 -0800 |
| commit | 6009e7d8b5e1c6c81381bcefcb7d4630cb5b43a1 (patch) | |
| tree | 7e873d5803d93525f5a824801b70427014b0456b /keyboards/dztech | |
| parent | 3edfb93d5de5ce1a783cecb2d97b0ca0ff1e0aff (diff) | |
| download | qmk_firmware-6009e7d8b5e1c6c81381bcefcb7d4630cb5b43a1.tar.gz qmk_firmware-6009e7d8b5e1c6c81381bcefcb7d4630cb5b43a1.zip | |
[Keyboard] add dz96 (#11252)
* add dz96
* Apply suggestions from code review
* Update keyboards/dztech/dz96/keymaps/iso/keymap.c
* add image to readme
Diffstat (limited to 'keyboards/dztech')
| -rw-r--r-- | keyboards/dztech/dz96/config.h | 50 | ||||
| -rw-r--r-- | keyboards/dztech/dz96/dz96.c | 17 | ||||
| -rw-r--r-- | keyboards/dztech/dz96/dz96.h | 97 | ||||
| -rw-r--r-- | keyboards/dztech/dz96/info.json | 454 | ||||
| -rw-r--r-- | keyboards/dztech/dz96/keymaps/default/keymap.c | 39 | ||||
| -rw-r--r-- | keyboards/dztech/dz96/keymaps/iso/keymap.c | 39 | ||||
| -rw-r--r-- | keyboards/dztech/dz96/keymaps/via/keymap.c | 57 | ||||
| -rw-r--r-- | keyboards/dztech/dz96/keymaps/via/rules.mk | 1 | ||||
| -rw-r--r-- | keyboards/dztech/dz96/readme.md | 15 | ||||
| -rw-r--r-- | keyboards/dztech/dz96/rules.mk | 22 |
10 files changed, 791 insertions, 0 deletions
diff --git a/keyboards/dztech/dz96/config.h b/keyboards/dztech/dz96/config.h new file mode 100644 index 000000000..351b39426 --- /dev/null +++ b/keyboards/dztech/dz96/config.h | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | /* Copyright 2020 kb-elmo<mail@elmo.space> | ||
| 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 "config_common.h" | ||
| 20 | |||
| 21 | /* USB Device descriptor parameter */ | ||
| 22 | #define VENDOR_ID 0x445A | ||
| 23 | #define PRODUCT_ID 0xDB96 | ||
| 24 | #define DEVICE_VER 0x0001 | ||
| 25 | #define MANUFACTURER DZTECH | ||
| 26 | #define PRODUCT DZ96 | ||
| 27 | |||
| 28 | /* key matrix size */ | ||
| 29 | #define MATRIX_ROWS 8 | ||
| 30 | #define MATRIX_COLS 13 | ||
| 31 | |||
| 32 | /* key matrix pins */ | ||
| 33 | #define MATRIX_ROW_PINS { B7, B3, E6, F0, D5, D4, D6, C7 } | ||
| 34 | #define MATRIX_COL_PINS { C6, F1, F4, F5, F6, F7, D7, B4, B5, D0, D1, D2, D3} | ||
| 35 | #define UNUSED_PINS | ||
| 36 | |||
| 37 | /* COL2ROW or ROW2COL */ | ||
| 38 | #define DIODE_DIRECTION COL2ROW | ||
| 39 | |||
| 40 | #define LED_NUM_LOCK_PIN B0 | ||
| 41 | #define LED_CAPS_LOCK_PIN B2 | ||
| 42 | #define LED_SCROLL_LOCK_PIN B1 | ||
| 43 | #define LED_PIN_ON_STATE 0 | ||
| 44 | |||
| 45 | /* number of backlight levels */ | ||
| 46 | #define BACKLIGHT_PIN B6 | ||
| 47 | #define BACKLIGHT_LEVELS 5 | ||
| 48 | |||
| 49 | /* Set 0 if debouncing isn't needed */ | ||
| 50 | #define DEBOUNCE 5 | ||
diff --git a/keyboards/dztech/dz96/dz96.c b/keyboards/dztech/dz96/dz96.c new file mode 100644 index 000000000..c83c0a2c4 --- /dev/null +++ b/keyboards/dztech/dz96/dz96.c | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | /* Copyright 2020 kb-elmo<mail@elmo.space> | ||
| 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 "dz96.h" | ||
diff --git a/keyboards/dztech/dz96/dz96.h b/keyboards/dztech/dz96/dz96.h new file mode 100644 index 000000000..bf84dfc3a --- /dev/null +++ b/keyboards/dztech/dz96/dz96.h | |||
| @@ -0,0 +1,97 @@ | |||
| 1 | /* Copyright 2020 kb-elmo<mail@elmo.space> | ||
| 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 | |||
| 18 | #pragma once | ||
| 19 | |||
| 20 | #include "quantum.h" | ||
| 21 | |||
| 22 | //Arrow keys and 1.75u right shift | ||
| 23 | #define LAYOUT_default( \ | ||
| 24 | K00, K01, K02, K03, K04, K60, K61, K62, K63, K05, K06, K07, K08, K72, K09, K0A, K0B, K0C, K7C, \ | ||
| 25 | K10, K11, K12, K13, K14, K64, K65, K66, K67, K15, K16, K17, K18, K71, K19, K1A, K1B, K1C, \ | ||
| 26 | K20, K21, K22, K23, K24, K68, K69, K6A, K6B, K25, K26, K27, K28, K73, K29, K2A, K2B, K2C, \ | ||
| 27 | K30, K31, K32, K33, K34, K6C, K75, K76, K77, K35, K36, K37, K38, K39, K3A, K3B, \ | ||
| 28 | K40, K42, K43, K44, K78, K79, K7A, K7B, K45, K46, K47, K48, K74, K49, K4A, K4B, K4C, \ | ||
| 29 | K50, K51, K52, K59, K55, K56, K57, K58, K53, K54, K5A, K5B \ | ||
| 30 | ) { \ | ||
| 31 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \ | ||
| 32 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C }, \ | ||
| 33 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C }, \ | ||
| 34 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO }, \ | ||
| 35 | { K40, KC_NO, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C }, \ | ||
| 36 | { K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, K5A, K5B, KC_NO }, \ | ||
| 37 | { K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, K6A, K6B, K6C }, \ | ||
| 38 | { KC_NO, K71, K72, K73, K74, K75, K76, K77, K78, K79, K7A, K7B, K7C } \ | ||
| 39 | } | ||
| 40 | |||
| 41 | // Split backspace 1.5u right mods | ||
| 42 | #define LAYOUT_split_bs_joined_right( \ | ||
| 43 | K00, K01, K02, K03, K04, K60, K61, K62, K63, K05, K06, K07, K08, K72, K09, K0A, K0B, K0C, K7C, \ | ||
| 44 | K10, K11, K12, K13, K14, K64, K65, K66, K67, K15, K16, K17, K18, K70, K71, K19, K1A, K1B, K1C, \ | ||
| 45 | K20, K21, K22, K23, K24, K68, K69, K6A, K6B, K25, K26, K27, K28, K73, K29, K2A, K2B, K2C, \ | ||
| 46 | K30, K31, K32, K33, K34, K6C, K75, K76, K77, K35, K36, K37, K38, K39, K3A, K3B, \ | ||
| 47 | K40, K42, K43, K44, K78, K79, K7A, K7B, K45, K46, K47, K48, K74, K49, K4A, K4B, K4C, \ | ||
| 48 | K50, K51, K52, K59, K55, K57, K58, K53, K54, K5A, K5B \ | ||
| 49 | ) { \ | ||
| 50 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \ | ||
| 51 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C }, \ | ||
| 52 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C }, \ | ||
| 53 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO }, \ | ||
| 54 | { K40, KC_NO, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C }, \ | ||
| 55 | { K50, K51, K52, K53, K54, K55, KC_NO, K57, K58, K59, K5A, K5B, KC_NO }, \ | ||
| 56 | { K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, K6A, K6B, K6C }, \ | ||
| 57 | { K70, K71, K72, K73, K74, K75, K76, K77, K78, K79, K7A, K7B, K7C }, \ | ||
| 58 | } | ||
| 59 | |||
| 60 | // Split numpad (enter, 0), split shifts (right, left), split backspace | ||
| 61 | // This layout contains every possible keycode placement | ||
| 62 | #define LAYOUT_split_shift_and_bs( \ | ||
| 63 | K00, K01, K02, K03, K04, K60, K61, K62, K63, K05, K06, K07, K08, K72, K09, K0A, K0B, K0C, K7C, \ | ||
| 64 | K10, K11, K12, K13, K14, K64, K65, K66, K67, K15, K16, K17, K18, K70, K71, K19, K1A, K1B, K1C, \ | ||
| 65 | K20, K21, K22, K23, K24, K68, K69, K6A, K6B, K25, K26, K27, K28, K73, K29, K2A, K2B, K2C, \ | ||
| 66 | K30, K31, K32, K33, K34, K6C, K75, K76, K77, K35, K36, K37, K38, K39, K3A, K3B, K3C, \ | ||
| 67 | K40, K41, K42, K43, K44, K78, K79, K7A, K7B, K45, K46, K47, K48, K74, K49, K4A, K4B, K4C, \ | ||
| 68 | K50, K51, K52, K59, K55, K56, K57, K58, K53, K54, K5A, K5B, K5C \ | ||
| 69 | ) { \ | ||
| 70 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \ | ||
| 71 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C }, \ | ||
| 72 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C }, \ | ||
| 73 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, K3C }, \ | ||
| 74 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C }, \ | ||
| 75 | { K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, K5A, K5B, K5C }, \ | ||
| 76 | { K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, K6A, K6B, K6C }, \ | ||
| 77 | { K70, K71, K72, K73, K74, K75, K76, K77, K78, K79, K7A, K7B, K7C }, \ | ||
| 78 | } | ||
| 79 | |||
| 80 | // ISO Layout | ||
| 81 | #define LAYOUT_iso( \ | ||
| 82 | K00, K01, K02, K03, K04, K60, K61, K62, K63, K05, K06, K07, K08, K72, K09, K0A, K0B, K0C, K7C, \ | ||
| 83 | K10, K11, K12, K13, K14, K64, K65, K66, K67, K15, K16, K17, K18, K71, K19, K1A, K1B, K1C, \ | ||
| 84 | K20, K21, K22, K23, K24, K68, K69, K6A, K6B, K25, K26, K27, K28, K29, K2A, K2B, K2C, \ | ||
| 85 | K30, K31, K32, K33, K34, K6C, K75, K76, K77, K35, K36, K37, K73, K38, K39, K3A, K3B, \ | ||
| 86 | K40, K41, K42, K43, K44, K78, K79, K7A, K7B, K45, K46, K47, K48, K74, K49, K4A, K4B, K4C, \ | ||
| 87 | K50, K51, K52, K59, K55, K56, K57, K58, K53, K54, K5A, K5B \ | ||
| 88 | ) { \ | ||
| 89 | { K00, K01, K02, K03, K04, K05, K06, K07, K08, K09, K0A, K0B, K0C }, \ | ||
| 90 | { K10, K11, K12, K13, K14, K15, K16, K17, K18, K19, K1A, K1B, K1C }, \ | ||
| 91 | { K20, K21, K22, K23, K24, K25, K26, K27, K28, K29, K2A, K2B, K2C }, \ | ||
| 92 | { K30, K31, K32, K33, K34, K35, K36, K37, K38, K39, K3A, K3B, KC_NO }, \ | ||
| 93 | { K40, K41, K42, K43, K44, K45, K46, K47, K48, K49, K4A, K4B, K4C }, \ | ||
| 94 | { K50, K51, K52, K53, K54, K55, K56, K57, K58, K59, K5A, K5B, KC_NO }, \ | ||
| 95 | { K60, K61, K62, K63, K64, K65, K66, K67, K68, K69, K6A, K6B, K6C }, \ | ||
| 96 | { KC_NO, K71, K72, K73, K74, K75, K76, K77, K78, K79, K7A, K7B, K7C } \ | ||
| 97 | } | ||
diff --git a/keyboards/dztech/dz96/info.json b/keyboards/dztech/dz96/info.json new file mode 100644 index 000000000..950d179d9 --- /dev/null +++ b/keyboards/dztech/dz96/info.json | |||
| @@ -0,0 +1,454 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "DZ96", | ||
| 3 | "keyboard_folder": "dztech/dz96", | ||
| 4 | "url": "", | ||
| 5 | "maintainer": "kb-elmo", | ||
| 6 | "width": 19, | ||
| 7 | "height": 6, | ||
| 8 | "layouts": { | ||
| 9 | "LAYOUT_default": { | ||
| 10 | "layout": [ | ||
| 11 | {"label":"ESC", "x":0, "y":0}, | ||
| 12 | {"label":"F1", "x":1, "y":0}, | ||
| 13 | {"label":"F2", "x":2, "y":0}, | ||
| 14 | {"label":"F3", "x":3, "y":0}, | ||
| 15 | {"label":"F4", "x":4, "y":0}, | ||
| 16 | {"label":"F5", "x":5, "y":0}, | ||
| 17 | {"label":"F6", "x":6, "y":0}, | ||
| 18 | {"label":"F7", "x":7, "y":0}, | ||
| 19 | {"label":"F8", "x":8, "y":0}, | ||
| 20 | {"label":"F9", "x":9, "y":0}, | ||
| 21 | {"label":"F10", "x":10, "y":0}, | ||
| 22 | {"label":"F11", "x":11, "y":0}, | ||
| 23 | {"label":"F12", "x":12, "y":0}, | ||
| 24 | {"label":"PRINT SCREEN", "x":13, "y":0}, | ||
| 25 | {"label":"HOME", "x":14, "y":0}, | ||
| 26 | {"label":"END", "x":15, "y":0}, | ||
| 27 | {"label":"PAGE UP", "x":16, "y":0}, | ||
| 28 | {"label":"PAGE DOWN", "x":17, "y":0}, | ||
| 29 | {"label":"DELETE", "x":18, "y":0}, | ||
| 30 | |||
| 31 | {"label":"GRAVE", "x":0, "y":1}, | ||
| 32 | {"label":"1", "x":1, "y":1}, | ||
| 33 | {"label":"2", "x":2, "y":1}, | ||
| 34 | {"label":"3", "x":3, "y":1}, | ||
| 35 | {"label":"4", "x":4, "y":1}, | ||
| 36 | {"label":"5", "x":5, "y":1}, | ||
| 37 | {"label":"6", "x":6, "y":1}, | ||
| 38 | {"label":"7", "x":7, "y":1}, | ||
| 39 | {"label":"8", "x":8, "y":1}, | ||
| 40 | {"label":"9", "x":9, "y":1}, | ||
| 41 | {"label":"0", "x":10, "y":1}, | ||
| 42 | {"label":"MINUS", "x":11, "y":1}, | ||
| 43 | {"label":"EQUAL", "x":12, "y":1}, | ||
| 44 | {"label":"BACKSPACE", "x":13, "y":1, "w":2}, | ||
| 45 | {"label":"NUM LOCK", "x":15, "y":1}, | ||
| 46 | {"label":"KEYPAD /", "x":16, "y":1}, | ||
| 47 | {"label":"KEYPAD *", "x":17, "y":1}, | ||
| 48 | {"label":"KEYPAD -", "x":18, "y":1}, | ||
| 49 | |||
| 50 | {"label":"TAB", "x":0, "y":2, "w":1.5}, | ||
| 51 | {"label":"Q", "x":1.5, "y":2}, | ||
| 52 | {"label":"W", "x":2.5, "y":2}, | ||
| 53 | {"label":"E", "x":3.5, "y":2}, | ||
| 54 | {"label":"R", "x":4.5, "y":2}, | ||
| 55 | {"label":"T", "x":5.5, "y":2}, | ||
| 56 | {"label":"Y", "x":6.5, "y":2}, | ||
| 57 | {"label":"U", "x":7.5, "y":2}, | ||
| 58 | {"label":"I", "x":8.5, "y":2}, | ||
| 59 | {"label":"O", "x":9.5, "y":2}, | ||
| 60 | {"label":"P", "x":10.5, "y":2}, | ||
| 61 | {"label":"LBRACKET", "x":11.5, "y":2}, | ||
| 62 | {"label":"RBRACKET", "x":12.5, "y":2}, | ||
| 63 | {"label":"BACKSLASH", "x":13.5, "y":2, "w":1.5}, | ||
| 64 | {"label":"KEYPAD 7", "x":15, "y":2}, | ||
| 65 | {"label":"KEYPAD 8", "x":16, "y":2}, | ||
| 66 | {"label":"KEYPAD 9", "x":17, "y":2}, | ||
| 67 | {"label":"KEYPAD +", "x":18, "y":2, "h":2}, | ||
| 68 | |||
| 69 | {"label":"CAPS LOCK", "x":0, "y":3, "w":1.75}, | ||
| 70 | {"label":"A", "x":1.75, "y":3}, | ||
| 71 | {"label":"S", "x":2.75, "y":3}, | ||
| 72 | {"label":"D", "x":3.75, "y":3}, | ||
| 73 | {"label":"F", "x":4.75, "y":3}, | ||
| 74 | {"label":"G", "x":5.75, "y":3}, | ||
| 75 | {"label":"H", "x":6.75, "y":3}, | ||
| 76 | {"label":"J", "x":7.75, "y":3}, | ||
| 77 | {"label":"K", "x":8.75, "y":3}, | ||
| 78 | {"label":"L", "x":9.75, "y":3}, | ||
| 79 | {"label":"SEMICOLON", "x":10.75, "y":3}, | ||
| 80 | {"label":"QUOTE", "x":11.75, "y":3}, | ||
| 81 | {"label":"ENTER", "x":12.75, "y":3, "w":2.25}, | ||
| 82 | {"label":"KEYPAD 4", "x":15, "y":3}, | ||
| 83 | {"label":"KEYPAD 5", "x":16, "y":3}, | ||
| 84 | {"label":"KEYPAD 6", "x":17, "y":3}, | ||
| 85 | |||
| 86 | {"label":"LSHIFT", "x":0, "y":4, "w":2.25}, | ||
| 87 | {"label":"Z", "x":2.25, "y":4}, | ||
| 88 | {"label":"X", "x":3.25, "y":4}, | ||
| 89 | {"label":"C", "x":4.25, "y":4}, | ||
| 90 | {"label":"V", "x":5.25, "y":4}, | ||
| 91 | {"label":"B", "x":6.25, "y":4}, | ||
| 92 | {"label":"N", "x":7.25, "y":4}, | ||
| 93 | {"label":"M", "x":8.25, "y":4}, | ||
| 94 | {"label":"COMMA", "x":9.25, "y":4}, | ||
| 95 | {"label":"PERIOD", "x":10.25, "y":4}, | ||
| 96 | {"label":"SLASH", "x":11.25, "y":4}, | ||
| 97 | {"label":"RSHIFT", "x":12.25, "y":4, "w":1.75}, | ||
| 98 | {"label":"UP", "x":14, "y":4}, | ||
| 99 | {"label":"KEYPAD 1", "x":15, "y":4}, | ||
| 100 | {"label":"KEYPAD 2", "x":16, "y":4}, | ||
| 101 | {"label":"KEYPAD 3", "x":17, "y":4}, | ||
| 102 | {"label":"KEYPAD ENTER", "x":18, "y":4, "h":2}, | ||
| 103 | |||
| 104 | {"label":"LCTRL", "x":0, "y":5, "w":1.25}, | ||
| 105 | {"label":"LGUI", "x":1.25, "y":5, "w":1.25}, | ||
| 106 | {"label":"LALT", "x":2.5, "y":5, "w":1.25}, | ||
| 107 | {"label":"SPACE", "x":3.75, "y":5, "w":6.25}, | ||
| 108 | {"label":"RALT", "x":10, "y":5}, | ||
| 109 | {"label":"RCTRL", "x":11, "y":5}, | ||
| 110 | {"label":"FN", "x":12, "y":5}, | ||
| 111 | {"label":"LEFT", "x":13, "y":5}, | ||
| 112 | {"label":"DOWN", "x":14, "y":5}, | ||
| 113 | {"label":"RIGHT", "x":15, "y":5}, | ||
| 114 | {"label":"KEYPAD 0", "x":16, "y":5}, | ||
| 115 | {"label":"KEYPAD .", "x":17, "y":5} | ||
| 116 | ] | ||
| 117 | }, | ||
| 118 | |||
| 119 | "LAYOUT_split_bs_joined_right": { | ||
| 120 | "layout": [ | ||
| 121 | {"label": "K00", "x": 0, "y": 0}, | ||
| 122 | {"label": "K01", "x": 1, "y": 0}, | ||
| 123 | {"label": "K02", "x": 2, "y": 0}, | ||
| 124 | {"label": "K03", "x": 3, "y": 0}, | ||
| 125 | {"label": "K04", "x": 4, "y": 0}, | ||
| 126 | {"label": "K60", "x": 5, "y": 0}, | ||
| 127 | {"label": "K61", "x": 6, "y": 0}, | ||
| 128 | {"label": "K62", "x": 7, "y": 0}, | ||
| 129 | {"label": "K63", "x": 8, "y": 0}, | ||
| 130 | {"label": "K05", "x": 9, "y": 0}, | ||
| 131 | {"label": "K06", "x": 10, "y": 0}, | ||
| 132 | {"label": "K07", "x": 11, "y": 0}, | ||
| 133 | {"label": "K08", "x": 12, "y": 0}, | ||
| 134 | {"label": "K72", "x": 13, "y": 0}, | ||
| 135 | {"label": "K09", "x": 14, "y": 0}, | ||
| 136 | {"label": "K0A", "x": 15, "y": 0}, | ||
| 137 | {"label": "K0B", "x": 16, "y": 0}, | ||
| 138 | {"label": "K0C", "x": 17, "y": 0}, | ||
| 139 | {"label": "K7C", "x": 18, "y": 0}, | ||
| 140 | |||
| 141 | {"label": "K10", "x": 0, "y": 1}, | ||
| 142 | {"label": "K11", "x": 1, "y": 1}, | ||
| 143 | {"label": "K12", "x": 2, "y": 1}, | ||
| 144 | {"label": "K13", "x": 3, "y": 1}, | ||
| 145 | {"label": "K14", "x": 4, "y": 1}, | ||
| 146 | {"label": "K64", "x": 5, "y": 1}, | ||
| 147 | {"label": "K65", "x": 6, "y": 1}, | ||
| 148 | {"label": "K66", "x": 7, "y": 1}, | ||
| 149 | {"label": "K67", "x": 8, "y": 1}, | ||
| 150 | {"label": "K15", "x": 9, "y": 1}, | ||
| 151 | {"label": "K16", "x": 10, "y": 1}, | ||
| 152 | {"label": "K17", "x": 11, "y": 1}, | ||
| 153 | {"label": "K18", "x": 12, "y": 1}, | ||
| 154 | {"label": "K70", "x": 13, "y": 1}, | ||
| 155 | {"label": "K71", "x": 14, "y": 1}, | ||
| 156 | {"label": "K19", "x": 15, "y": 1}, | ||
| 157 | {"label": "K1A", "x": 16, "y": 1}, | ||
| 158 | {"label": "K1B", "x": 17, "y": 1}, | ||
| 159 | {"label": "K1C", "x": 18, "y": 1}, | ||
| 160 | |||
| 161 | {"label": "K20", "x": 0, "y": 2, "w": 1.5}, | ||
| 162 | {"label": "K21", "x": 1.5, "y": 2}, | ||
| 163 | {"label": "K22", "x": 2.5, "y": 2}, | ||
| 164 | {"label": "K23", "x": 3.5, "y": 2}, | ||
| 165 | {"label": "K24", "x": 4.5, "y": 2}, | ||
| 166 | {"label": "K68", "x": 5.5, "y": 2}, | ||
| 167 | {"label": "K69", "x": 6.5, "y": 2}, | ||
| 168 | {"label": "K6A", "x": 7.5, "y": 2}, | ||
| 169 | {"label": "K6B", "x": 8.5, "y": 2}, | ||
| 170 | {"label": "K25", "x": 9.5, "y": 2}, | ||
| 171 | {"label": "K26", "x": 10.5, "y": 2}, | ||
| 172 | {"label": "K27", "x": 11.5, "y": 2}, | ||
| 173 | {"label": "K28", "x": 12.5, "y": 2}, | ||
| 174 | {"label": "K73", "x": 13.5, "y": 2, "w": 1.5}, | ||
| 175 | {"label": "K29", "x": 15, "y": 2}, | ||
| 176 | {"label": "K2A", "x": 16, "y": 2}, | ||
| 177 | {"label": "K2B", "x": 17, "y": 2}, | ||
| 178 | {"label": "K2C", "x": 18, "y": 2, "h": 2}, | ||
| 179 | |||
| 180 | {"label": "K30", "x": 0, "y": 3, "w": 1.75}, | ||
| 181 | {"label": "K31", "x": 1.75, "y": 3}, | ||
| 182 | {"label": "K32", "x": 2.75, "y": 3}, | ||
| 183 | {"label": "K33", "x": 3.75, "y": 3}, | ||
| 184 | {"label": "K34", "x": 4.75, "y": 3}, | ||
| 185 | {"label": "K6C", "x": 5.75, "y": 3}, | ||
| 186 | {"label": "K75", "x": 6.75, "y": 3}, | ||
| 187 | {"label": "K76", "x": 7.75, "y": 3}, | ||
| 188 | {"label": "K77", "x": 8.75, "y": 3}, | ||
| 189 | {"label": "K35", "x": 9.75, "y": 3}, | ||
| 190 | {"label": "K36", "x": 10.75, "y": 3}, | ||
| 191 | {"label": "K37", "x": 11.75, "y": 3}, | ||
| 192 | {"label": "K38", "x": 12.75, "y": 3, "w": 2.25}, | ||
| 193 | {"label": "K39", "x": 15, "y": 3}, | ||
| 194 | {"label": "K3A", "x": 16, "y": 3}, | ||
| 195 | {"label": "K3B", "x": 17, "y": 3}, | ||
| 196 | |||
| 197 | {"label": "K40", "x": 0, "y": 4, "w": 2.25}, | ||
| 198 | {"label": "K42", "x": 2.25, "y": 4}, | ||
| 199 | {"label": "K43", "x": 3.25, "y": 4}, | ||
| 200 | {"label": "K44", "x": 4.25, "y": 4}, | ||
| 201 | {"label": "K78", "x": 5.25, "y": 4}, | ||
| 202 | {"label": "K79", "x": 6.25, "y": 4}, | ||
| 203 | {"label": "K7A", "x": 7.25, "y": 4}, | ||
| 204 | {"label": "K7B", "x": 8.25, "y": 4}, | ||
| 205 | {"label": "K45", "x": 9.25, "y": 4}, | ||
| 206 | {"label": "K46", "x": 10.25, "y": 4}, | ||
| 207 | {"label": "K47", "x": 11.25, "y": 4}, | ||
| 208 | {"label": "K48", "x": 12.25, "y": 4, "w": 1.75}, | ||
| 209 | {"label": "K74", "x": 14, "y": 4}, | ||
| 210 | {"label": "K49", "x": 15, "y": 4}, | ||
| 211 | {"label": "K4A", "x": 16, "y": 4}, | ||
| 212 | {"label": "K4B", "x": 17, "y": 4}, | ||
| 213 | {"label": "K4C", "x": 18, "y": 4, "h": 2}, | ||
| 214 | |||
| 215 | {"label": "K50", "x": 0, "y": 5, "w": 1.25}, | ||
| 216 | {"label": "K51", "x": 1.25, "y": 5, "w": 1.25}, | ||
| 217 | {"label": "K52", "x": 2.5, "y": 5, "w": 1.25}, | ||
| 218 | {"label": "K59", "x": 3.75, "y": 5, "w": 6.25}, | ||
| 219 | {"label": "K55", "x": 10, "y": 5, "w": 1.5}, | ||
| 220 | {"label": "K57", "x": 11.5, "y": 5, "w": 1.5}, | ||
| 221 | {"label": "K58", "x": 13, "y": 5}, | ||
| 222 | {"label": "K53", "x": 14, "y": 5}, | ||
| 223 | {"label": "K54", "x": 15, "y": 5}, | ||
| 224 | {"label": "K5A", "x": 16, "y": 5}, | ||
| 225 | {"label": "K5B", "x": 17, "y": 5} | ||
| 226 | ] | ||
| 227 | }, | ||
| 228 | |||
| 229 | "LAYOUT_split_shift_and_bs": { | ||
| 230 | "layout": [ | ||
| 231 | {"label":"ESC", "x":0, "y":0}, | ||
| 232 | {"label":"F1", "x":1, "y":0}, | ||
| 233 | {"label":"F2", "x":2, "y":0}, | ||
| 234 | {"label":"F3", "x":3, "y":0}, | ||
| 235 | {"label":"F4", "x":4, "y":0}, | ||
| 236 | {"label":"F5", "x":5, "y":0}, | ||
| 237 | {"label":"F6", "x":6, "y":0}, | ||
| 238 | {"label":"F7", "x":7, "y":0}, | ||
| 239 | {"label":"F8", "x":8, "y":0}, | ||
| 240 | {"label":"F9", "x":9, "y":0}, | ||
| 241 | {"label":"F10", "x":10, "y":0}, | ||
| 242 | {"label":"F11", "x":11, "y":0}, | ||
| 243 | {"label":"F12", "x":12, "y":0}, | ||
| 244 | {"label":"PRINT SCREEN", "x":13, "y":0}, | ||
| 245 | {"label":"HOME", "x":14, "y":0}, | ||
| 246 | {"label":"END", "x":15, "y":0}, | ||
| 247 | {"label":"PAGE UP", "x":16, "y":0}, | ||
| 248 | {"label":"PAGE DOWN", "x":17, "y":0}, | ||
| 249 | {"label":"DELETE", "x":18, "y":0}, | ||
| 250 | |||
| 251 | {"label":"GRAVE", "x":0, "y":1}, | ||
| 252 | {"label":"1", "x":1, "y":1}, | ||
| 253 | {"label":"2", "x":2, "y":1}, | ||
| 254 | {"label":"3", "x":3, "y":1}, | ||
| 255 | {"label":"4", "x":4, "y":1}, | ||
| 256 | {"label":"5", "x":5, "y":1}, | ||
| 257 | {"label":"6", "x":6, "y":1}, | ||
| 258 | {"label":"7", "x":7, "y":1}, | ||
| 259 | {"label":"8", "x":8, "y":1}, | ||
| 260 | {"label":"9", "x":9, "y":1}, | ||
| 261 | {"label":"0", "x":10, "y":1}, | ||
| 262 | {"label":"MINUS", "x":11, "y":1}, | ||
| 263 | {"label":"EQUAL", "x":12, "y":1}, | ||
| 264 | {"label":"BACKSPACE", "x":13, "y":1}, | ||
| 265 | {"label":"BACKSPACE", "x":14, "y":1}, | ||
| 266 | {"label":"NUM LOCK", "x":15, "y":1}, | ||
| 267 | {"label":"KEYPAD /", "x":16, "y":1}, | ||
| 268 | {"label":"KEYPAD *", "x":17, "y":1}, | ||
| 269 | {"label":"KEYPAD -", "x":18, "y":1}, | ||
| 270 | |||
| 271 | {"label":"TAB", "x":0, "y":2, "w":1.5}, | ||
| 272 | {"label":"Q", "x":1.5, "y":2}, | ||
| 273 | {"label":"W", "x":2.5, "y":2}, | ||
| 274 | {"label":"E", "x":3.5, "y":2}, | ||
| 275 | {"label":"R", "x":4.5, "y":2}, | ||
| 276 | {"label":"T", "x":5.5, "y":2}, | ||
| 277 | {"label":"Y", "x":6.5, "y":2}, | ||
| 278 | {"label":"U", "x":7.5, "y":2}, | ||
| 279 | {"label":"I", "x":8.5, "y":2}, | ||
| 280 | {"label":"O", "x":9.5, "y":2}, | ||
| 281 | {"label":"P", "x":10.5, "y":2}, | ||
| 282 | {"label":"LBRACKET", "x":11.5, "y":2}, | ||
| 283 | {"label":"RBRACKET", "x":12.5, "y":2}, | ||
| 284 | {"label":"BACKSLASH", "x":13.5, "y":2, "w":1.5}, | ||
| 285 | {"label":"KEYPAD 7", "x":15, "y":2}, | ||
| 286 | {"label":"KEYPAD 8", "x":16, "y":2}, | ||
| 287 | {"label":"KEYPAD 9", "x":17, "y":2}, | ||
| 288 | {"label":"KEYPAD +", "x":18, "y":2}, | ||
| 289 | |||
| 290 | {"label":"CAPS LOCK", "x":0, "y":3, "w":1.75}, | ||
| 291 | {"label":"A", "x":1.75, "y":3}, | ||
| 292 | {"label":"S", "x":2.75, "y":3}, | ||
| 293 | {"label":"D", "x":3.75, "y":3}, | ||
| 294 | {"label":"F", "x":4.75, "y":3}, | ||
| 295 | {"label":"G", "x":5.75, "y":3}, | ||
| 296 | {"label":"H", "x":6.75, "y":3}, | ||
| 297 | {"label":"J", "x":7.75, "y":3}, | ||
| 298 | {"label":"K", "x":8.75, "y":3}, | ||
| 299 | {"label":"L", "x":9.75, "y":3}, | ||
| 300 | {"label":"SEMICOLON", "x":10.75, "y":3}, | ||
| 301 | {"label":"QUOTE", "x":11.75, "y":3}, | ||
| 302 | {"label":"ENTER", "x":12.75, "y":3, "w":2.25}, | ||
| 303 | {"label":"KEYPAD 4", "x":15, "y":3}, | ||
| 304 | {"label":"KEYPAD 5", "x":16, "y":3}, | ||
| 305 | {"label":"KEYPAD 6", "x":17, "y":3}, | ||
| 306 | {"label":"KEYPAD +", "x":18, "y":3}, | ||
| 307 | |||
| 308 | {"label":"LSHIFT", "x":0, "y":4, "w":1.25}, | ||
| 309 | {"label":"ISO BACKSLASH", "x":1.25, "y":4}, | ||
| 310 | {"label":"Z", "x":2.25, "y":4}, | ||
| 311 | {"label":"X", "x":3.25, "y":4}, | ||
| 312 | {"label":"C", "x":4.25, "y":4}, | ||
| 313 | {"label":"V", "x":5.25, "y":4}, | ||
| 314 | {"label":"B", "x":6.25, "y":4}, | ||
| 315 | {"label":"N", "x":7.25, "y":4}, | ||
| 316 | {"label":"M", "x":8.25, "y":4}, | ||
| 317 | {"label":"COMMA", "x":9.25, "y":4}, | ||
| 318 | {"label":"PERIOD", "x":10.25, "y":4}, | ||
| 319 | {"label":"SLASH", "x":11.25, "y":4}, | ||
| 320 | {"label":"RSHIFT", "x":12.25, "y":4, "w":1.75}, | ||
| 321 | {"label":"UP", "x":14, "y":4}, | ||
| 322 | {"label":"KEYPAD 1", "x":15, "y":4}, | ||
| 323 | {"label":"KEYPAD 2", "x":16, "y":4}, | ||
| 324 | {"label":"KEYPAD 3", "x":17, "y":4}, | ||
| 325 | {"label":"KEYPAD ENTER", "x":18, "y":4}, | ||
| 326 | |||
| 327 | {"label":"LCTRL", "x":0, "y":5, "w":1.25}, | ||
| 328 | {"label":"LGUI", "x":1.25, "y":5, "w":1.25}, | ||
| 329 | {"label":"LALT", "x":2.5, "y":5, "w":1.25}, | ||
| 330 | {"label":"SPACE", "x":3.75, "y":5, "w":6.25}, | ||
| 331 | {"label":"RALT", "x":10, "y":5}, | ||
| 332 | {"label":"MENU", "x":11, "y":5}, | ||
| 333 | {"label":"RCTRL", "x":12, "y":5}, | ||
| 334 | {"label":"LEFT", "x":13, "y":5}, | ||
| 335 | {"label":"DOWN", "x":14, "y":5}, | ||
| 336 | {"label":"RIGHT", "x":15, "y":5}, | ||
| 337 | {"label":"KEYPAD 0", "x":16, "y":5}, | ||
| 338 | {"label":"KEYPAD .", "x":17, "y":5}, | ||
| 339 | {"label":"KEYPAD ENTER", "x":18, "y":5} | ||
| 340 | ] | ||
| 341 | }, | ||
| 342 | |||
| 343 | "LAYOUT_iso": { | ||
| 344 | "layout": [ | ||
| 345 | {"label":"ESC", "x":0, "y":0}, | ||
| 346 | {"label":"F1", "x":1, "y":0}, | ||
| 347 | {"label":"F2", "x":2, "y":0}, | ||
| 348 | {"label":"F3", "x":3, "y":0}, | ||
| 349 | {"label":"F4", "x":4, "y":0}, | ||
| 350 | {"label":"F5", "x":5, "y":0}, | ||
| 351 | {"label":"F6", "x":6, "y":0}, | ||
| 352 | {"label":"F7", "x":7, "y":0}, | ||
| 353 | {"label":"F8", "x":8, "y":0}, | ||
| 354 | {"label":"F9", "x":9, "y":0}, | ||
| 355 | {"label":"F10", "x":10, "y":0}, | ||
| 356 | {"label":"F11", "x":11, "y":0}, | ||
| 357 | {"label":"F12", "x":12, "y":0}, | ||
| 358 | {"label":"PRINT SCREEN", "x":13, "y":0}, | ||
| 359 | {"label":"HOME", "x":14, "y":0}, | ||
| 360 | {"label":"END", "x":15, "y":0}, | ||
| 361 | {"label":"PAGE UP", "x":16, "y":0}, | ||
| 362 | {"label":"PAGE DOWN", "x":17, "y":0}, | ||
| 363 | {"label":"DELETE", "x":18, "y":0}, | ||
| 364 | |||
| 365 | {"label":"GRAVE", "x":0, "y":1}, | ||
| 366 | {"label":"1", "x":1, "y":1}, | ||
| 367 | {"label":"2", "x":2, "y":1}, | ||
| 368 | {"label":"3", "x":3, "y":1}, | ||
| 369 | {"label":"4", "x":4, "y":1}, | ||
| 370 | {"label":"5", "x":5, "y":1}, | ||
| 371 | {"label":"6", "x":6, "y":1}, | ||
| 372 | {"label":"7", "x":7, "y":1}, | ||
| 373 | {"label":"8", "x":8, "y":1}, | ||
| 374 | {"label":"9", "x":9, "y":1}, | ||
| 375 | {"label":"0", "x":10, "y":1}, | ||
| 376 | {"label":"MINUS", "x":11, "y":1}, | ||
| 377 | {"label":"EQUAL", "x":12, "y":1}, | ||
| 378 | {"label":"BACKSPACE", "x":13, "y":1, "w":2}, | ||
| 379 | {"label":"NUM LOCK", "x":15, "y":1}, | ||
| 380 | {"label":"KEYPAD /", "x":16, "y":1}, | ||
| 381 | {"label":"KEYPAD *", "x":17, "y":1}, | ||
| 382 | {"label":"KEYPAD -", "x":18, "y":1}, | ||
| 383 | |||
| 384 | {"label":"TAB", "x":0, "y":2, "w":1.5}, | ||
| 385 | {"label":"Q", "x":1.5, "y":2}, | ||
| 386 | {"label":"W", "x":2.5, "y":2}, | ||
| 387 | {"label":"E", "x":3.5, "y":2}, | ||
| 388 | {"label":"R", "x":4.5, "y":2}, | ||
| 389 | {"label":"T", "x":5.5, "y":2}, | ||
| 390 | {"label":"Y", "x":6.5, "y":2}, | ||
| 391 | {"label":"U", "x":7.5, "y":2}, | ||
| 392 | {"label":"I", "x":8.5, "y":2}, | ||
| 393 | {"label":"O", "x":9.5, "y":2}, | ||
| 394 | {"label":"P", "x":10.5, "y":2}, | ||
| 395 | {"label":"LBRACKET", "x":11.5, "y":2}, | ||
| 396 | {"label":"RBRACKET", "x":12.5, "y":2}, | ||
| 397 | {"label":"KEYPAD 7", "x":15, "y":2}, | ||
| 398 | {"label":"KEYPAD 8", "x":16, "y":2}, | ||
| 399 | {"label":"KEYPAD 9", "x":17, "y":2}, | ||
| 400 | {"label":"KEYPAD +", "x":18, "y":2, "h":2}, | ||
| 401 | |||
| 402 | {"label":"CAPS LOCK", "x":0, "y":3, "w":1.75}, | ||
| 403 | {"label":"A", "x":1.75, "y":3}, | ||
| 404 | {"label":"S", "x":2.75, "y":3}, | ||
| 405 | {"label":"D", "x":3.75, "y":3}, | ||
| 406 | {"label":"F", "x":4.75, "y":3}, | ||
| 407 | {"label":"G", "x":5.75, "y":3}, | ||
| 408 | {"label":"H", "x":6.75, "y":3}, | ||
| 409 | {"label":"J", "x":7.75, "y":3}, | ||
| 410 | {"label":"K", "x":8.75, "y":3}, | ||
| 411 | {"label":"L", "x":9.75, "y":3}, | ||
| 412 | {"label":"SEMICOLON", "x":10.75, "y":3}, | ||
| 413 | {"label":"QUOTE", "x":11.75, "y":3}, | ||
| 414 | {"label":"ISO HASH", "x":12.75, "y":3}, | ||
| 415 | {"label":"ENTER", "x":13.75, "y":2, "w":1.25, "h":2}, | ||
| 416 | {"label":"KEYPAD 4", "x":15, "y":3}, | ||
| 417 | {"label":"KEYPAD 5", "x":16, "y":3}, | ||
| 418 | {"label":"KEYPAD 6", "x":17, "y":3}, | ||
| 419 | |||
| 420 | {"label":"LSHIFT", "x":0, "y":4, "w":1.25}, | ||
| 421 | {"label":"ISO BACKSLASH", "x":1.25, "y":4}, | ||
| 422 | {"label":"Z", "x":2.25, "y":4}, | ||
| 423 | {"label":"X", "x":3.25, "y":4}, | ||
| 424 | {"label":"C", "x":4.25, "y":4}, | ||
| 425 | {"label":"V", "x":5.25, "y":4}, | ||
| 426 | {"label":"B", "x":6.25, "y":4}, | ||
| 427 | {"label":"N", "x":7.25, "y":4}, | ||
| 428 | {"label":"M", "x":8.25, "y":4}, | ||
| 429 | {"label":"COMMA", "x":9.25, "y":4}, | ||
| 430 | {"label":"PERIOD", "x":10.25, "y":4}, | ||
| 431 | {"label":"SLASH", "x":11.25, "y":4}, | ||
| 432 | {"label":"RSHIFT", "x":12.25, "y":4, "w":1.75}, | ||
| 433 | {"label":"UP", "x":14, "y":4}, | ||
| 434 | {"label":"KEYPAD 1", "x":15, "y":4}, | ||
| 435 | {"label":"KEYPAD 2", "x":16, "y":4}, | ||
| 436 | {"label":"KEYPAD 3", "x":17, "y":4}, | ||
| 437 | {"label":"KEYPAD ENTER", "x":18, "y":4, "h":2}, | ||
| 438 | |||
| 439 | {"label":"LCTRL", "x":0, "y":5, "w":1.25}, | ||
| 440 | {"label":"LGUI", "x":1.25, "y":5, "w":1.25}, | ||
| 441 | {"label":"LALT", "x":2.5, "y":5, "w":1.25}, | ||
| 442 | {"label":"SPACE", "x":3.75, "y":5, "w":6.25}, | ||
| 443 | {"label":"RALT", "x":10, "y":5}, | ||
| 444 | {"label":"MENU", "x":11, "y":5}, | ||
| 445 | {"label":"RCTRL", "x":12, "y":5}, | ||
| 446 | {"label":"LEFT", "x":13, "y":5}, | ||
| 447 | {"label":"DOWN", "x":14, "y":5}, | ||
| 448 | {"label":"RIGHT", "x":15, "y":5}, | ||
| 449 | {"label":"KEYPAD 0", "x":16, "y":5}, | ||
| 450 | {"label":"KEYPAD .", "x":17, "y":5} | ||
| 451 | ] | ||
| 452 | } | ||
| 453 | } | ||
| 454 | } | ||
diff --git a/keyboards/dztech/dz96/keymaps/default/keymap.c b/keyboards/dztech/dz96/keymaps/default/keymap.c new file mode 100644 index 000000000..17d0c8a36 --- /dev/null +++ b/keyboards/dztech/dz96/keymaps/default/keymap.c | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* Copyright 2020 kb-elmo<mail@elmo.space> | ||
| 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 | |||
| 18 | #include QMK_KEYBOARD_H | ||
| 19 | |||
| 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 21 | |||
| 22 | [0] = LAYOUT_default( | ||
| 23 | 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_DEL, KC_PSCR, KC_SLCK, KC_PAUS, KC_PGUP, KC_PGDN, | ||
| 24 | 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_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 25 | 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_P7, KC_P8, KC_P9, KC_PPLS, | ||
| 26 | 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, | ||
| 27 | 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, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
| 28 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, MO(1), KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT | ||
| 29 | ), | ||
| 30 | |||
| 31 | [1] = LAYOUT_default( | ||
| 32 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_MNXT, KC_HOME, KC_END, | ||
| 33 | _______, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, _______, _______, _______, _______, KC_DEL, _______, _______, _______, _______, | ||
| 34 | _______, BL_TOGG, BL_INC, BL_DEC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 38 | ), | ||
| 39 | }; | ||
diff --git a/keyboards/dztech/dz96/keymaps/iso/keymap.c b/keyboards/dztech/dz96/keymaps/iso/keymap.c new file mode 100644 index 000000000..00c04a6a2 --- /dev/null +++ b/keyboards/dztech/dz96/keymaps/iso/keymap.c | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | /* Copyright 2020 kb-elmo<mail@elmo.space> | ||
| 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 QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | |||
| 21 | [0] = LAYOUT_iso( | ||
| 22 | 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_DEL, KC_PSCR, KC_HOME, KC_END, KC_PGUP, KC_PGDN, | ||
| 23 | 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_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 24 | 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_P7, KC_P8, KC_P9, KC_PPLS, | ||
| 25 | 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_NUHS, KC_ENT, KC_P4, KC_P5, KC_P6, | ||
| 26 | 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_UP, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
| 27 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, MO(1), KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT | ||
| 28 | ), | ||
| 29 | |||
| 30 | [1] = LAYOUT_iso( | ||
| 31 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_MNXT, KC_HOME, KC_END, | ||
| 32 | _______, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, _______, _______, _______, _______, KC_DEL, _______, _______, _______, _______, | ||
| 33 | _______, BL_TOGG, BL_INC, BL_DEC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 34 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 37 | ), | ||
| 38 | |||
| 39 | }; | ||
diff --git a/keyboards/dztech/dz96/keymaps/via/keymap.c b/keyboards/dztech/dz96/keymaps/via/keymap.c new file mode 100644 index 000000000..698838a53 --- /dev/null +++ b/keyboards/dztech/dz96/keymaps/via/keymap.c | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | /* Copyright 2020 kb-elmo<mail@elmo.space> | ||
| 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 | |||
| 18 | #include QMK_KEYBOARD_H | ||
| 19 | |||
| 20 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 21 | |||
| 22 | [0] = LAYOUT_default( | ||
| 23 | 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_DEL, KC_PSCR, KC_SLCK, KC_PAUS, KC_PGUP, KC_PGDN, | ||
| 24 | 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_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 25 | 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_P7, KC_P8, KC_P9, KC_PPLS, | ||
| 26 | 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, | ||
| 27 | 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, KC_P1, KC_P2, KC_P3, KC_PENT, | ||
| 28 | KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_RALT, KC_RCTL, MO(1), KC_LEFT, KC_DOWN, KC_RGHT, KC_P0, KC_PDOT | ||
| 29 | ), | ||
| 30 | |||
| 31 | [1] = LAYOUT_default( | ||
| 32 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MUTE, KC_VOLD, KC_VOLU, KC_MNXT, KC_HOME, KC_END, | ||
| 33 | _______, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, _______, _______, _______, _______, KC_DEL, _______, _______, _______, _______, | ||
| 34 | _______, BL_TOGG, BL_INC, BL_DEC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 35 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 36 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 37 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 38 | ), | ||
| 39 | |||
| 40 | [2] = LAYOUT_default( | ||
| 41 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 43 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 44 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 45 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 47 | ), | ||
| 48 | |||
| 49 | [3] = LAYOUT_default( | ||
| 50 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 51 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 52 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 53 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 54 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 55 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 56 | ), | ||
| 57 | }; | ||
diff --git a/keyboards/dztech/dz96/keymaps/via/rules.mk b/keyboards/dztech/dz96/keymaps/via/rules.mk new file mode 100644 index 000000000..1e5b99807 --- /dev/null +++ b/keyboards/dztech/dz96/keymaps/via/rules.mk | |||
| @@ -0,0 +1 @@ | |||
| VIA_ENABLE = yes | |||
diff --git a/keyboards/dztech/dz96/readme.md b/keyboards/dztech/dz96/readme.md new file mode 100644 index 000000000..8a52752b0 --- /dev/null +++ b/keyboards/dztech/dz96/readme.md | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | # DZ96 | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A 96% PCB made by KBDFans. Sold together with the Tofu96 DIY kit. | ||
| 6 | |||
| 7 | * Keyboard Maintainer: [kb-elmo](https://github.com/kb-elmo) | ||
| 8 | * Hardware Supported: DZ96 | ||
| 9 | * Hardware Availability: [KBDFans](https://kbdfans.com/products/tofu96-mechanical-keyboard-diy-kit) | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make dztech/dz96:default | ||
| 14 | |||
| 15 | 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/dztech/dz96/rules.mk b/keyboards/dztech/dz96/rules.mk new file mode 100644 index 000000000..6e53d4cab --- /dev/null +++ b/keyboards/dztech/dz96/rules.mk | |||
| @@ -0,0 +1,22 @@ | |||
| 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 = lite # Virtual DIP switch configuration | ||
| 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 | # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE | ||
| 16 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | ||
| 17 | # if this doesn't work, see here: https://github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | ||
| 18 | NKRO_ENABLE = no # USB Nkey Rollover | ||
| 19 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 20 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 21 | BLUETOOTH_ENABLE = no # Enable Bluetooth | ||
| 22 | AUDIO_ENABLE = no # Audio output | ||
