Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dz60v2 keyboard #21862

Merged
merged 24 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d3406f1
add dz60v2 keyboard
moyi4681 Aug 29, 2023
892acf6
Update info.json
moyi4681 Aug 29, 2023
af3e1d0
Update info.json
moyi4681 Aug 29, 2023
b020782
add license header
moyi4681 Aug 29, 2023
0064906
Update keyboards/dztech/dz60v2/info.json
moyi4681 Aug 31, 2023
7d3aa09
Update keyboards/dztech/dz60v2/info.json
moyi4681 Aug 31, 2023
b23fd37
Update keyboards/dztech/dz60v2/keymaps/via/keymap.c
moyi4681 Aug 31, 2023
8944b94
Update keyboards/dztech/dz60v2/info.json
moyi4681 Aug 31, 2023
4ffc40f
Update readme.md
moyi4681 Aug 31, 2023
bb1c293
Update keyboards/dztech/dz60v2/info.json
moyi4681 Sep 5, 2023
36efe43
Update keyboards/dztech/dz60v2/keymaps/via/keymap.c
moyi4681 Sep 5, 2023
2d1a64c
Update keyboards/dztech/dz60v2/keymaps/default/keymap.c
moyi4681 Sep 5, 2023
0b96cb4
Update keyboards/dztech/dz60v2/keymaps/via/keymap.c
moyi4681 Sep 5, 2023
367f9a8
Update keymap.c
moyi4681 Sep 5, 2023
19565d9
Update keymap.c
moyi4681 Sep 5, 2023
50049b0
Update keymap.c
moyi4681 Sep 5, 2023
3b2434b
Update keyboards/dztech/dz60v2/readme.md
moyi4681 Sep 6, 2023
7857877
Update keyboards/dztech/dz60v2/info.json
moyi4681 Sep 6, 2023
cee5543
Update keyboards/dztech/dz60v2/info.json
moyi4681 Sep 6, 2023
51ff761
Update keyboards/dztech/dz60v2/keymaps/default/keymap.c
moyi4681 Sep 6, 2023
c55dc22
Update keyboards/dztech/dz60v2/keymaps/via/keymap.c
moyi4681 Sep 6, 2023
faf8130
Update keyboards/dztech/dz60v2/info.json
moyi4681 Sep 6, 2023
dccb751
Update keyboards/dztech/dz60v2/info.json
moyi4681 Sep 6, 2023
df404ba
Update keymap.c
moyi4681 Sep 6, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,441 changes: 2,441 additions & 0 deletions keyboards/dztech/dz60v2/info.json
moyi4681 marked this conversation as resolved.
Show resolved Hide resolved

Large diffs are not rendered by default.

34 changes: 34 additions & 0 deletions keyboards/dztech/dz60v2/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/* Copyright 2023 dztech
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_all(
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
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_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_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, MO(1),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),

LAYOUT_all(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
_______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, QK_BOOT,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, BL_STEP, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
};
34 changes: 34 additions & 0 deletions keyboards/dztech/dz60v2/keymaps/via/keymap.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
/* Copyright 2023 dztech
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include QMK_KEYBOARD_H

const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
LAYOUT_all(
QK_GESC, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINS, KC_EQL, KC_BSPC, KC_DEL,
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_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_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, MO(1),
KC_LCTL, KC_LGUI, KC_LALT, KC_SPC, KC_SPC, KC_SPC, KC_RALT, KC_RCTL, KC_LEFT, KC_DOWN, KC_RGHT
),

LAYOUT_all(
KC_GRV, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, _______, _______,
_______, RGB_TOG, RGB_MOD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, RGB_VAI, RGB_VAD, _______, _______, _______, _______, QK_BOOT,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, BL_DOWN, BL_TOGG, BL_UP, BL_STEP, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______
)
};
2 changes: 2 additions & 0 deletions keyboards/dztech/dz60v2/keymaps/via/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
LTO_ENABLE = yes
VIA_ENABLE = yes
26 changes: 26 additions & 0 deletions keyboards/dztech/dz60v2/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# DZ60 60% Mechanical Keyboard PCB

## A Customizable 60% Mechanical Keyboard PCB

* Keyboard Maintainer: QMK Community
* Hardware Supported: DZ60 60% Mechanical Keyboard PCB
* Hardware Availability: [KBDfans](https://kbdfans.com/collections/60/products/dz60-60-pcb)

There are two versions of the DZ60 PCB. Please use the appropriate firmware for your board.

* V1: 1.6mm thickness PCB;
* V2: 1.2mm thickness PCB

## Bootloader

Enter the bootloader in 3 ways:

* **Bootmagic reset**: Hold down the key at (0,0) in the matrix
* **Physical reset button**: Briefly press the button on the back of the PCB
* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available

Make example for this keyboard (after setting up your build environment):

make dztech/dz60v2:default

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).
1 change: 1 addition & 0 deletions keyboards/dztech/dz60v2/rules.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# This file intentionally left blank