Fix bscp and layout.svg

This commit is contained in:
2024-04-12 00:08:07 +02:00
parent 89ee7f6522
commit 092c27354f
4 changed files with 119 additions and 6 deletions
+1
View File
@@ -10,3 +10,4 @@ zephyr
zmk
.west
build
.venv
+2 -2
View File
@@ -66,7 +66,7 @@
mods = <(MOD_LSFT|MOD_RSFT)>;
};
lt_spc: layer_tap_bspc {
lt_spc: layer_tap_spc {
compatible = "zmk,behavior-hold-tap";
label = "LAYER_TAP_SPACE";
#binding-cells = <2>;
@@ -77,7 +77,7 @@
compatible = "zmk,behavior-hold-tap";
label = "LAYER_TAP_BACKSPACE";
#binding-cells = <2>;
bindings = <&mo>, <&up_dspc>;
bindings = <&mo>, <&up_bspc>;
tapping-term-ms = <150>;
};
};
+112 -4
View File
@@ -1,4 +1,4 @@
<svg width="765" height="842" viewBox="0 0 765 842" class="keymap" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<svg width="765" height="1040" viewBox="0 0 765 1040" 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;
@@ -221,11 +221,13 @@ path.combo {
<g transform="translate(180, 196)" class="key keypos-26">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">TAB</text>
<text x="0" y="-24" class="key shifted">LEFT</text>
</g>
<g transform="translate(240, 196)" class="key keypos-27">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">SPACE</text>
<text x="0" y="24" class="key hold">symbols</text>
<text x="0" y="-24" class="key shifted">RIGHT</text>
</g>
<g transform="translate(300, 196)" class="key keypos-28">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
@@ -239,10 +241,12 @@ path.combo {
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">BSPC</text>
<text x="0" y="24" class="key hold">symbols</text>
<text x="0" y="-24" class="key shifted">UP</text>
</g>
<g transform="translate(510, 196)" class="key keypos-31">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">DEL</text>
<text x="0" y="0" class="key tap">RET</text>
<text x="0" y="-24" class="key shifted">DOWN</text>
</g>
<g class="combo combopos-0">
<rect rx="6" ry="6" x="106" y="15" width="28" height="26" class="combo"/>
@@ -355,7 +359,7 @@ path.combo {
</g>
<g transform="translate(420, 112)" class="key keypos-13">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">+</text>
<text x="0" y="0" class="key tap">=</text>
</g>
<g transform="translate(480, 84)" class="key keypos-14">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
@@ -374,7 +378,7 @@ path.combo {
</g>
<g transform="translate(660, 112)" class="key keypos-17">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
<text x="0" y="0" class="key tap">=</text>
<text x="0" y="0" class="key tap">+</text>
<text x="0" y="24" class="key hold">LALT</text>
</g>
<g transform="translate(30, 168)" class="key keypos-18">
@@ -643,4 +647,108 @@ path.combo {
</g>
</g>
</g>
<g transform="translate(30, 786)" class="layer-combopos-2">
<g transform="translate(0, 28)">
<g transform="translate(30, 28)" class="key combo-separate keypos-0">
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key combo-separate"/>
<text x="0" y="0" class="key combo-separate tap">ESC</text>
</g>
<g transform="translate(45, 72)" class="key keypos-1">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(75, 72)" class="key keypos-2">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(105, 72)" class="key keypos-3">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(135, 86)" class="key keypos-4">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(210, 86)" class="key keypos-5">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(240, 72)" class="key keypos-6">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(270, 72)" class="key keypos-7">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(300, 72)" class="key keypos-8">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(15, 114)" class="key keypos-9">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(45, 100)" class="key keypos-10">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(75, 100)" class="key keypos-11">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(105, 100)" class="key held keypos-12">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key held"/>
</g>
<g transform="translate(135, 114)" class="key keypos-13">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(210, 114)" class="key keypos-14">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(240, 100)" class="key held keypos-15">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key held"/>
</g>
<g transform="translate(270, 100)" class="key keypos-16">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(300, 100)" class="key keypos-17">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(330, 114)" class="key keypos-18">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(15, 142)" class="key keypos-19">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(45, 128)" class="key keypos-20">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(75, 128)" class="key keypos-21">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(105, 128)" class="key keypos-22">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(240, 128)" class="key keypos-23">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(270, 128)" class="key keypos-24">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(300, 128)" class="key keypos-25">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(330, 142)" class="key keypos-26">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(90, 156)" class="key keypos-27">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(120, 156)" class="key keypos-28">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(150, 156)" class="key keypos-29">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(195, 156)" class="key keypos-30">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(225, 156)" class="key keypos-31">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
<g transform="translate(255, 156)" class="key keypos-32">
<rect rx="6" ry="6" x="-13" y="-12" width="26" height="24" class="key"/>
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 30 KiB

+4
View File
@@ -9,3 +9,7 @@ combos:
k: END
draw_separate: true
l: [default]
- p: [11, 14]
k: ESC
draw_separate: true
l: [default]