feat: remove usb delay config (wip)

main
sudo pacman -Syu 2023-07-23 01:02:56 +07:00
parent 3d1d4c5bf4
commit 8875ffb082
7 changed files with 681 additions and 7 deletions

View File

@ -1,4 +1,4 @@
.PHONY: all format clean dztech_dz60rgb_wkl
.PHONY: all format clean draw dztech_dz60rgb_wkl
all:
$(MAKE) format
@ -12,6 +12,11 @@ clean:
rm -rf ~/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps/haunt98
rm -rf dztech_dz60rgb_wkl_v2_1_haunt98.bin
draw:
pipx install keymap-drawer
# keymap -c keymap-drawer-custom.yaml parse -q dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json > dztech_dz60rgb_wkl/keymap-drawer/haunt98/keymap.yaml
keymap -c keymap-drawer-custom.yaml draw dztech_dz60rgb_wkl/keymap-drawer/haunt98/keymap.yaml > dztech_dz60rgb_wkl/keymap-drawer/haunt98/keymap.svg
dztech_dz60rgb_wkl:
# Copy
rm -rf ~/qmk_firmware/keyboards/dztech/dz60rgb_wkl/keymaps/haunt98
@ -20,7 +25,7 @@ dztech_dz60rgb_wkl:
qmk lint -kb dztech/dz60rgb_wkl/v2_1 -km haunt98
# Compile
qmk compile -j 8 -kb dztech/dz60rgb_wkl/v2_1 -km haunt98
# JSON
mv ~/qmk_firmware/dztech_dz60rgb_wkl_v2_1_haunt98.bin .
# JSON
rm -rf dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json
qmk c2json -kb dztech/dz60rgb_wkl/v2_1 -km haunt98 -o dztech_dz60rgb_wkl/keymaps_json/haunt98/keymap.json dztech_dz60rgb_wkl/keymaps/haunt98/keymap.c

View File

@ -0,0 +1,479 @@
<svg width="900.0" height="1064.0" viewBox="0 0 900.0 1064.0" class="keymap" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<style>/* inherit to force styles through use tags*/
svg path {
fill: inherit;
}
/* font and background color specifications */
svg.keymap {
font-family: SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;
font-size: 14px;
font-kerning: normal;
text-rendering: optimizeLegibility;
fill: #24292e;
}
/* default key styling */
rect.key {
fill: #f6f8fa;
stroke: #c9cccf;
stroke-width: 1;
}
/* color accent for combo boxes */
rect.combo {
fill: #cdf;
}
/* color accent for held keys */
rect.held, rect.combo.held {
fill: #fdd;
}
/* color accent for ghost (optional) keys */
rect.ghost, rect.combo.ghost {
stroke-dasharray: 4, 4;
stroke-width: 2;
}
text {
text-anchor: middle;
dominant-baseline: middle;
}
/* styling for layer labels */
text.label {
font-weight: bold;
text-anchor: start;
stroke: white;
stroke-width: 2;
paint-order: stroke;
}
/* styling for combo tap, and key hold/shifted label text */
text.combo, text.hold, text.shifted {
font-size: 11px;
}
text.hold {
text-anchor: middle;
dominant-baseline: auto;
}
text.shifted {
text-anchor: middle;
dominant-baseline: hanging;
}
/* styling for hold/shifted label text in combo box */
text.combo.hold, text.combo.shifted {
font-size: 8px;
}
/* lighter symbol for transparent keys */
text.trans {
fill: #7b7e81;
}
/* styling for combo dendrons */
path.combo {
stroke-width: 1;
stroke: gray;
fill: none;
}
/* Start Tabler Icons Cleanup */
/* cannot use height/width with glyphs */
.icon-tabler > path {
fill: inherit;
stroke: inherit;
}
/* hide tabler's default box */
.icon-tabler > path[stroke="none"][fill="none"] {
visibility: collapse;
}
/* End Tabler Icons Cleanup */
</style>
<g class="layer-L0">
<text x="30.0" y="28.0" class="label">L0</text>
<rect rx="6.0" ry="6.0" x="32.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="58.0" y="84.0" class="tap">
<tspan x="58.0" dy="-0.6em">QK</tspan><tspan x="58.0" dy="1.2em">GESC</tspan></text>
<rect rx="6.0" ry="6.0" x="88.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="114.0" y="84.0" class="tap">1</text>
<rect rx="6.0" ry="6.0" x="144.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="170.0" y="84.0" class="tap">2</text>
<rect rx="6.0" ry="6.0" x="200.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="226.0" y="84.0" class="tap">3</text>
<rect rx="6.0" ry="6.0" x="256.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="282.0" y="84.0" class="tap">4</text>
<rect rx="6.0" ry="6.0" x="312.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="338.0" y="84.0" class="tap">5</text>
<rect rx="6.0" ry="6.0" x="368.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="394.0" y="84.0" class="tap">6</text>
<rect rx="6.0" ry="6.0" x="424.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="450.0" y="84.0" class="tap">7</text>
<rect rx="6.0" ry="6.0" x="480.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="506.0" y="84.0" class="tap">8</text>
<rect rx="6.0" ry="6.0" x="536.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="562.0" y="84.0" class="tap">9</text>
<rect rx="6.0" ry="6.0" x="592.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="618.0" y="84.0" class="tap">0</text>
<rect rx="6.0" ry="6.0" x="648.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="674.0" y="84.0" class="tap">-</text>
<rect rx="6.0" ry="6.0" x="704.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="730.0" y="84.0" class="tap">=</text>
<rect rx="6.0" ry="6.0" x="760.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="786.0" y="84.0" class="tap">\</text>
<rect rx="6.0" ry="6.0" x="816.0" y="58.0" width="52.0" height="52.0" class="key"/>
<text x="842.0" y="84.0" class="tap">`</text>
<rect rx="6.0" ry="6.0" x="32.0" y="114.0" width="80.0" height="52.0" class="key"/>
<text x="72.0" y="140.0" class="tap">TAB</text>
<rect rx="6.0" ry="6.0" x="116.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="142.0" y="140.0" class="tap">Q</text>
<rect rx="6.0" ry="6.0" x="172.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="198.0" y="140.0" class="tap">W</text>
<rect rx="6.0" ry="6.0" x="228.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="254.0" y="140.0" class="tap">E</text>
<rect rx="6.0" ry="6.0" x="284.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="310.0" y="140.0" class="tap">R</text>
<rect rx="6.0" ry="6.0" x="340.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="366.0" y="140.0" class="tap">T</text>
<rect rx="6.0" ry="6.0" x="396.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="422.0" y="140.0" class="tap">Y</text>
<rect rx="6.0" ry="6.0" x="452.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="478.0" y="140.0" class="tap">U</text>
<rect rx="6.0" ry="6.0" x="508.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="534.0" y="140.0" class="tap">I</text>
<rect rx="6.0" ry="6.0" x="564.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="590.0" y="140.0" class="tap">O</text>
<rect rx="6.0" ry="6.0" x="620.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="646.0" y="140.0" class="tap">P</text>
<rect rx="6.0" ry="6.0" x="676.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="702.0" y="140.0" class="tap">[</text>
<rect rx="6.0" ry="6.0" x="732.0" y="114.0" width="52.0" height="52.0" class="key"/>
<text x="758.0" y="140.0" class="tap">]</text>
<rect rx="6.0" ry="6.0" x="788.0" y="114.0" width="80.0" height="52.0" class="key"/>
<text x="828.0" y="140.0" class="tap">BSPC</text>
<rect rx="6.0" ry="6.0" x="32.0" y="170.0" width="94.0" height="52.0" class="key"/>
<text x="79.0" y="196.0" class="tap">ESC</text>
<text x="79.0" y="220.0" class="hold">CTL</text>
<rect rx="6.0" ry="6.0" x="130.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="156.0" y="196.0" class="tap">A</text>
<rect rx="6.0" ry="6.0" x="186.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="212.0" y="196.0" class="tap">S</text>
<rect rx="6.0" ry="6.0" x="242.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="268.0" y="196.0" class="tap">D</text>
<rect rx="6.0" ry="6.0" x="298.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="324.0" y="196.0" class="tap">F</text>
<rect rx="6.0" ry="6.0" x="354.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="380.0" y="196.0" class="tap">G</text>
<rect rx="6.0" ry="6.0" x="410.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="436.0" y="196.0" class="tap">H</text>
<rect rx="6.0" ry="6.0" x="466.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="492.0" y="196.0" class="tap">J</text>
<rect rx="6.0" ry="6.0" x="522.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="548.0" y="196.0" class="tap">K</text>
<rect rx="6.0" ry="6.0" x="578.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="604.0" y="196.0" class="tap">L</text>
<rect rx="6.0" ry="6.0" x="634.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="660.0" y="196.0" class="tap">;</text>
<rect rx="6.0" ry="6.0" x="690.0" y="170.0" width="52.0" height="52.0" class="key"/>
<text x="716.0" y="196.0" class="tap">&#x27;</text>
<rect rx="6.0" ry="6.0" x="746.0" y="170.0" width="122.0" height="52.0" class="key"/>
<text x="807.0" y="196.0" class="tap">ENT</text>
<rect rx="6.0" ry="6.0" x="32.0" y="226.0" width="122.0" height="52.0" class="key"/>
<text x="93.0" y="252.0" class="tap">LSFT</text>
<rect rx="6.0" ry="6.0" x="158.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="184.0" y="252.0" class="tap">Z</text>
<rect rx="6.0" ry="6.0" x="214.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="240.0" y="252.0" class="tap">X</text>
<rect rx="6.0" ry="6.0" x="270.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="296.0" y="252.0" class="tap">C</text>
<rect rx="6.0" ry="6.0" x="326.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="352.0" y="252.0" class="tap">V</text>
<rect rx="6.0" ry="6.0" x="382.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="408.0" y="252.0" class="tap">B</text>
<rect rx="6.0" ry="6.0" x="438.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="464.0" y="252.0" class="tap">N</text>
<rect rx="6.0" ry="6.0" x="494.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="520.0" y="252.0" class="tap">M</text>
<rect rx="6.0" ry="6.0" x="550.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="576.0" y="252.0" class="tap">,</text>
<rect rx="6.0" ry="6.0" x="606.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="632.0" y="252.0" class="tap">.</text>
<rect rx="6.0" ry="6.0" x="662.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="688.0" y="252.0" class="tap">/</text>
<rect rx="6.0" ry="6.0" x="718.0" y="226.0" width="94.0" height="52.0" class="key"/>
<text x="765.0" y="252.0" class="tap">RSFT</text>
<rect rx="6.0" ry="6.0" x="816.0" y="226.0" width="52.0" height="52.0" class="key"/>
<text x="842.0" y="252.0" class="tap">L1</text>
<rect rx="6.0" ry="6.0" x="32.0" y="282.0" width="80.0" height="52.0" class="key"/>
<rect rx="6.0" ry="6.0" x="116.0" y="282.0" width="52.0" height="52.0" class="key"/>
<text x="142.0" y="308.0" class="tap">LALT</text>
<rect rx="6.0" ry="6.0" x="172.0" y="282.0" width="80.0" height="52.0" class="key"/>
<text x="212.0" y="308.0" class="tap">LGUI</text>
<rect rx="6.0" ry="6.0" x="256.0" y="282.0" width="388.0" height="52.0" class="key"/>
<text x="450.0" y="308.0" class="tap">SPC</text>
<rect rx="6.0" ry="6.0" x="648.0" y="282.0" width="80.0" height="52.0" class="key"/>
<text x="688.0" y="308.0" class="tap">RGUI</text>
<rect rx="6.0" ry="6.0" x="732.0" y="282.0" width="52.0" height="52.0" class="key"/>
<text x="758.0" y="308.0" class="tap">RALT</text>
<rect rx="6.0" ry="6.0" x="788.0" y="282.0" width="80.0" height="52.0" class="key"/>
</g>
<g class="layer-L1">
<text x="30.0" y="364.0" class="label">L1</text>
<rect rx="6.0" ry="6.0" x="32.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="58.0" y="420.0" class="tap">`</text>
<rect rx="6.0" ry="6.0" x="88.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="114.0" y="420.0" class="tap">F1</text>
<rect rx="6.0" ry="6.0" x="144.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="170.0" y="420.0" class="tap">F2</text>
<rect rx="6.0" ry="6.0" x="200.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="226.0" y="420.0" class="tap">F3</text>
<rect rx="6.0" ry="6.0" x="256.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="282.0" y="420.0" class="tap">F4</text>
<rect rx="6.0" ry="6.0" x="312.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="338.0" y="420.0" class="tap">F5</text>
<rect rx="6.0" ry="6.0" x="368.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="394.0" y="420.0" class="tap">F6</text>
<rect rx="6.0" ry="6.0" x="424.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="450.0" y="420.0" class="tap">F7</text>
<rect rx="6.0" ry="6.0" x="480.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="506.0" y="420.0" class="tap">F8</text>
<rect rx="6.0" ry="6.0" x="536.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="562.0" y="420.0" class="tap">F9</text>
<rect rx="6.0" ry="6.0" x="592.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="618.0" y="420.0" class="tap">F10</text>
<rect rx="6.0" ry="6.0" x="648.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="674.0" y="420.0" class="tap">F11</text>
<rect rx="6.0" ry="6.0" x="704.0" y="394.0" width="52.0" height="52.0" class="key"/>
<text x="730.0" y="420.0" class="tap">F12</text>
<rect rx="6.0" ry="6.0" x="760.0" y="394.0" width="52.0" height="52.0" class="trans key"/>
<text x="786.0" y="420.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="816.0" y="394.0" width="52.0" height="52.0" class="trans key"/>
<text x="842.0" y="420.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="32.0" y="450.0" width="80.0" height="52.0" class="trans key"/>
<text x="72.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="116.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="142.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="172.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="198.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="228.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="254.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="284.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="310.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="340.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="366.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="396.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="422.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="452.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="478.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="508.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="534.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="564.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="590.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="620.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="646.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="676.0" y="450.0" width="52.0" height="52.0" class="key"/>
<text x="702.0" y="476.0" class="tap">UP</text>
<rect rx="6.0" ry="6.0" x="732.0" y="450.0" width="52.0" height="52.0" class="trans key"/>
<text x="758.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="788.0" y="450.0" width="80.0" height="52.0" class="trans key"/>
<text x="828.0" y="476.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="32.0" y="506.0" width="94.0" height="52.0" class="trans key"/>
<text x="79.0" y="532.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="130.0" y="506.0" width="52.0" height="52.0" class="key"/>
<text x="156.0" y="532.0" class="tap">VOLD</text>
<rect rx="6.0" ry="6.0" x="186.0" y="506.0" width="52.0" height="52.0" class="key"/>
<text x="212.0" y="532.0" class="tap">VOLU</text>
<rect rx="6.0" ry="6.0" x="242.0" y="506.0" width="52.0" height="52.0" class="key"/>
<text x="268.0" y="532.0" class="tap">MUTE</text>
<rect rx="6.0" ry="6.0" x="298.0" y="506.0" width="52.0" height="52.0" class="trans key"/>
<text x="324.0" y="532.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="354.0" y="506.0" width="52.0" height="52.0" class="trans key"/>
<text x="380.0" y="532.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="410.0" y="506.0" width="52.0" height="52.0" class="trans key"/>
<text x="436.0" y="532.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="466.0" y="506.0" width="52.0" height="52.0" class="trans key"/>
<text x="492.0" y="532.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="522.0" y="506.0" width="52.0" height="52.0" class="trans key"/>
<text x="548.0" y="532.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="578.0" y="506.0" width="52.0" height="52.0" class="trans key"/>
<text x="604.0" y="532.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="634.0" y="506.0" width="52.0" height="52.0" class="key"/>
<text x="660.0" y="532.0" class="tap">LEFT</text>
<rect rx="6.0" ry="6.0" x="690.0" y="506.0" width="52.0" height="52.0" class="key"/>
<text x="716.0" y="532.0" class="tap">RGHT</text>
<rect rx="6.0" ry="6.0" x="746.0" y="506.0" width="122.0" height="52.0" class="trans key"/>
<text x="807.0" y="532.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="32.0" y="562.0" width="122.0" height="52.0" class="trans key"/>
<text x="93.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="158.0" y="562.0" width="52.0" height="52.0" class="trans key"/>
<text x="184.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="214.0" y="562.0" width="52.0" height="52.0" class="trans key"/>
<text x="240.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="270.0" y="562.0" width="52.0" height="52.0" class="trans key"/>
<text x="296.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="326.0" y="562.0" width="52.0" height="52.0" class="trans key"/>
<text x="352.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="382.0" y="562.0" width="52.0" height="52.0" class="trans key"/>
<text x="408.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="438.0" y="562.0" width="52.0" height="52.0" class="trans key"/>
<text x="464.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="494.0" y="562.0" width="52.0" height="52.0" class="trans key"/>
<text x="520.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="550.0" y="562.0" width="52.0" height="52.0" class="trans key"/>
<text x="576.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="606.0" y="562.0" width="52.0" height="52.0" class="trans key"/>
<text x="632.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="662.0" y="562.0" width="52.0" height="52.0" class="key"/>
<text x="688.0" y="588.0" class="tap">DOWN</text>
<rect rx="6.0" ry="6.0" x="718.0" y="562.0" width="94.0" height="52.0" class="trans key"/>
<text x="765.0" y="588.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="816.0" y="562.0" width="52.0" height="52.0" class="held key"/>
<rect rx="6.0" ry="6.0" x="32.0" y="618.0" width="80.0" height="52.0" class="key"/>
<rect rx="6.0" ry="6.0" x="116.0" y="618.0" width="52.0" height="52.0" class="key"/>
<text x="142.0" y="644.0" class="tap">TG(2)</text>
<rect rx="6.0" ry="6.0" x="172.0" y="618.0" width="80.0" height="52.0" class="trans key"/>
<text x="212.0" y="644.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="256.0" y="618.0" width="388.0" height="52.0" class="trans key"/>
<text x="450.0" y="644.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="648.0" y="618.0" width="80.0" height="52.0" class="trans key"/>
<text x="688.0" y="644.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="732.0" y="618.0" width="52.0" height="52.0" class="trans key"/>
<text x="758.0" y="644.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="788.0" y="618.0" width="80.0" height="52.0" class="key"/>
</g>
<g class="layer-L2">
<text x="30.0" y="700.0" class="label">L2</text>
<rect rx="6.0" ry="6.0" x="32.0" y="730.0" width="52.0" height="52.0" class="key"/>
<text x="58.0" y="756.0" class="tap">
<tspan x="58.0" dy="-0.6em">QK</tspan><tspan x="58.0" dy="1.2em">BOOT</tspan></text>
<rect rx="6.0" ry="6.0" x="88.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="114.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="144.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="170.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="200.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="226.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="256.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="282.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="312.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="338.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="368.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="394.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="424.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="450.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="480.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="506.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="536.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="562.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="592.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="618.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="648.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="674.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="704.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="730.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="760.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="786.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="816.0" y="730.0" width="52.0" height="52.0" class="trans key"/>
<text x="842.0" y="756.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="32.0" y="786.0" width="80.0" height="52.0" class="trans key"/>
<text x="72.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="116.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="142.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="172.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="198.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="228.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="254.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="284.0" y="786.0" width="52.0" height="52.0" class="key"/>
<text x="310.0" y="812.0" class="tap">
<tspan x="310.0" dy="-0.6em">QK</tspan><tspan x="310.0" dy="1.2em">RBT</tspan></text>
<rect rx="6.0" ry="6.0" x="340.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="366.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="396.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="422.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="452.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="478.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="508.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="534.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="564.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="590.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="620.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="646.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="676.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="702.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="732.0" y="786.0" width="52.0" height="52.0" class="trans key"/>
<text x="758.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="788.0" y="786.0" width="80.0" height="52.0" class="trans key"/>
<text x="828.0" y="812.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="32.0" y="842.0" width="94.0" height="52.0" class="key"/>
<text x="79.0" y="868.0" class="tap">CAPS</text>
<rect rx="6.0" ry="6.0" x="130.0" y="842.0" width="52.0" height="52.0" class="key"/>
<text x="156.0" y="868.0" class="tap">
<tspan x="156.0" dy="-0.6em">RGB</tspan><tspan x="156.0" dy="1.2em">HUD</tspan></text>
<rect rx="6.0" ry="6.0" x="186.0" y="842.0" width="52.0" height="52.0" class="key"/>
<text x="212.0" y="868.0" class="tap">
<tspan x="212.0" dy="-0.6em">RGB</tspan><tspan x="212.0" dy="1.2em">SAI</tspan></text>
<rect rx="6.0" ry="6.0" x="242.0" y="842.0" width="52.0" height="52.0" class="key"/>
<text x="268.0" y="868.0" class="tap">
<tspan x="268.0" dy="-0.6em">RGB</tspan><tspan x="268.0" dy="1.2em">VAI</tspan></text>
<rect rx="6.0" ry="6.0" x="298.0" y="842.0" width="52.0" height="52.0" class="trans key"/>
<text x="324.0" y="868.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="354.0" y="842.0" width="52.0" height="52.0" class="trans key"/>
<text x="380.0" y="868.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="410.0" y="842.0" width="52.0" height="52.0" class="trans key"/>
<text x="436.0" y="868.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="466.0" y="842.0" width="52.0" height="52.0" class="trans key"/>
<text x="492.0" y="868.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="522.0" y="842.0" width="52.0" height="52.0" class="key"/>
<text x="548.0" y="868.0" class="tap">HOME</text>
<rect rx="6.0" ry="6.0" x="578.0" y="842.0" width="52.0" height="52.0" class="key"/>
<text x="604.0" y="868.0" class="tap">PGUP</text>
<rect rx="6.0" ry="6.0" x="634.0" y="842.0" width="52.0" height="52.0" class="trans key"/>
<text x="660.0" y="868.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="690.0" y="842.0" width="52.0" height="52.0" class="trans key"/>
<text x="716.0" y="868.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="746.0" y="842.0" width="122.0" height="52.0" class="trans key"/>
<text x="807.0" y="868.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="32.0" y="898.0" width="122.0" height="52.0" class="trans key"/>
<text x="93.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="158.0" y="898.0" width="52.0" height="52.0" class="trans key"/>
<text x="184.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="214.0" y="898.0" width="52.0" height="52.0" class="trans key"/>
<text x="240.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="270.0" y="898.0" width="52.0" height="52.0" class="trans key"/>
<text x="296.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="326.0" y="898.0" width="52.0" height="52.0" class="trans key"/>
<text x="352.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="382.0" y="898.0" width="52.0" height="52.0" class="trans key"/>
<text x="408.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="438.0" y="898.0" width="52.0" height="52.0" class="trans key"/>
<text x="464.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="494.0" y="898.0" width="52.0" height="52.0" class="trans key"/>
<text x="520.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="550.0" y="898.0" width="52.0" height="52.0" class="key"/>
<text x="576.0" y="924.0" class="tap">END</text>
<rect rx="6.0" ry="6.0" x="606.0" y="898.0" width="52.0" height="52.0" class="key"/>
<text x="632.0" y="924.0" class="tap">PGDN</text>
<rect rx="6.0" ry="6.0" x="662.0" y="898.0" width="52.0" height="52.0" class="trans key"/>
<text x="688.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="718.0" y="898.0" width="94.0" height="52.0" class="trans key"/>
<text x="765.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="816.0" y="898.0" width="52.0" height="52.0" class="trans key"/>
<text x="842.0" y="924.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="32.0" y="954.0" width="80.0" height="52.0" class="key"/>
<rect rx="6.0" ry="6.0" x="116.0" y="954.0" width="52.0" height="52.0" class="trans key"/>
<text x="142.0" y="980.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="172.0" y="954.0" width="80.0" height="52.0" class="trans key"/>
<text x="212.0" y="980.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="256.0" y="954.0" width="388.0" height="52.0" class="trans key"/>
<text x="450.0" y="980.0" class="trans tap"></text>
<rect rx="6.0" ry="6.0" x="648.0" y="954.0" width="80.0" height="52.0" class="key"/>
<text x="688.0" y="980.0" class="tap">
<tspan x="688.0" dy="-0.6em">RGB</tspan><tspan x="688.0" dy="1.2em">TOG</tspan></text>
<rect rx="6.0" ry="6.0" x="732.0" y="954.0" width="52.0" height="52.0" class="key"/>
<text x="758.0" y="980.0" class="tap">
<tspan x="758.0" dy="-0.6em">RGB</tspan><tspan x="758.0" dy="1.2em">MOD</tspan></text>
<rect rx="6.0" ry="6.0" x="788.0" y="954.0" width="80.0" height="52.0" class="key"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -0,0 +1,191 @@
layout: {qmk_keyboard: dztech/dz60rgb_wkl/v2_1, qmk_layout: LAYOUT_60_tsangan_hhkb}
layers:
L0:
- QK GESC
- '1'
- '2'
- '3'
- '4'
- '5'
- '6'
- '7'
- '8'
- '9'
- '0'
- {t: '-', s:'_'}
- '='
- \
- '`'
- TAB
- Q
- W
- E
- R
- T
- Y
- U
- I
- O
- P
- '['
- ']'
- BSPC
- {t: ESC, h: CTL}
- A
- S
- D
- F
- G
- H
- J
- K
- L
- ;
- ''''
- ENT
- LSFT
- Z
- X
- C
- V
- B
- N
- M
- ','
- .
- /
- RSFT
- L1
- ''
- LALT
- LGUI
- SPC
- RGUI
- RALT
- ''
L1:
- '`'
- F1
- F2
- F3
- F4
- F5
- F6
- F7
- F8
- F9
- F10
- F11
- F12
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- UP
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- VOLD
- VOLU
- MUTE
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- LEFT
- RGHT
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- DOWN
- {t: ▽, type: trans}
- {type: held}
- ''
- TG(2)
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- ''
L2:
- QK BOOT
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- QK RBT
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- CAPS
- RGB HUD
- RGB SAI
- RGB VAI
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- HOME
- PGUP
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- END
- PGDN
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- ''
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- {t: ▽, type: trans}
- RGB TOG
- RGB MOD
- ''

View File

@ -61,6 +61,3 @@
// https://github.com/qmk/qmk_firmware/blob/master/docs/feature_debounce_type.md
#undef DEBOUNCE
#define DEBOUNCE 5
// https://github.com/qmk/qmk_firmware/blob/master/docs/config_options.md
#define USB_SUSPEND_WAKEUP_DELAY 200

View File

@ -32,7 +32,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
XXXXXXX, TG(2), _______, _______, _______, _______, XXXXXXX),
[2] = LAYOUT_60_tsangan_hhkb(
QK_BOOT, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, QK_RBT, _______, _______, _______, _______, _______, _______, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______,
KC_CAPS, RGB_HUD, RGB_SAI, RGB_VAI, _______, _______, _______, _______, KC_HOME, KC_PGUP, _______, _______, _______,
_______, _______, _______, _______, _______, _______, _______, _______, KC_END, KC_PGDN, _______, _______, _______,
XXXXXXX, _______, _______, _______, RGB_TOG, RGB_MOD, XXXXXXX)};

View File

@ -4,7 +4,7 @@
"layers": [
["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_BSLS", "KC_GRV", "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_BSPC", "CTL_T(KC_ESC)", "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_Z", "KC_X", "KC_C", "KC_V", "KC_B", "KC_N", "KC_M", "KC_COMM", "KC_DOT", "KC_SLSH", "KC_RSFT", "MO(1)", "KC_NO", "KC_LALT", "KC_LGUI", "KC_SPC", "KC_RGUI", "KC_RALT", "KC_NO"],
["KC_GRV", "KC_F1", "KC_F2", "KC_F3", "KC_F4", "KC_F5", "KC_F6", "KC_F7", "KC_F8", "KC_F9", "KC_F10", "KC_F11", "KC_F12", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_UP", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_VOLD", "KC_VOLU", "KC_MUTE", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_LEFT", "KC_RGHT", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_DOWN", "KC_TRNS", "KC_TRNS", "KC_NO", "TG(2)", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_NO"],
["QK_BOOT", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "QK_RBT", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_CAPS", "RGB_HUD", "RGB_SAI", "RGB_VAI", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_HOME", "KC_PGUP", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_END", "KC_PGDN", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_NO", "KC_TRNS", "KC_TRNS", "KC_TRNS", "RGB_TOG", "RGB_MOD", "KC_NO"]
["QK_BOOT", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_CAPS", "RGB_HUD", "RGB_SAI", "RGB_VAI", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_HOME", "KC_PGUP", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_END", "KC_PGDN", "KC_TRNS", "KC_TRNS", "KC_TRNS", "KC_NO", "KC_TRNS", "KC_TRNS", "KC_TRNS", "RGB_TOG", "RGB_MOD", "KC_NO"]
],
"layout": "LAYOUT_60_tsangan_hhkb"
}

View File

@ -0,0 +1,2 @@
draw_config:
append_colon_to_layer_header: false