[Draw] add mouse keys

This commit is contained in:
Ajetski 2025-11-16 16:20:06 +00:00 committed by github-actions[bot]
parent 2e7b1deb35
commit 2b227ec9c5
2 changed files with 47 additions and 40 deletions

View File

@ -81,6 +81,9 @@
<svg id="mdi:mouse-left-click-outline">
<svg xmlns="http://www.w3.org/2000/svg" id="mdi-mouse-left-click-outline" viewBox="0 0 24 24"><path d="M13 9V1.07C13.7 1.16 14.37 1.33 15 1.59C17.33 2.53 19.11 4.53 19.75 7C19.91 7.64 20 8.31 20 9H13M17.66 7C17.18 5.65 16.23 4.5 15 3.81V7H17.66M6 15V13H18V15C18 16.59 17.37 18.12 16.24 19.24C15.12 20.37 13.59 21 12 21C10.41 21 8.88 20.37 7.76 19.24C6.63 18.12 6 16.59 6 15M4 15C4 17.12 4.84 19.16 6.34 20.66C7.84 22.16 9.88 23 12 23C14.12 23 16.16 22.16 17.66 20.66C19.16 19.16 20 17.12 20 15V11H4V15M11 9V1.07C7.06 1.56 4 4.92 4 9H11Z" /></svg>
</svg>
<svg id="mdi:mouse-right-click-outline">
<svg xmlns="http://www.w3.org/2000/svg" id="mdi-mouse-right-click-outline" viewBox="0 0 24 24"><path d="M13 9V1.07C16.94 1.56 20 4.92 20 9H13M11 9V1.07C10.3 1.16 9.63 1.33 9 1.59C6.67 2.53 4.89 4.53 4.25 7C4.09 7.64 4 8.31 4 9H11M6.34 7C6.82 5.65 7.78 4.5 9 3.81V7H6.34M6 15V13H18V15C18 16.59 17.37 18.12 16.24 19.24C15.12 20.37 13.59 21 12 21C10.41 21 8.88 20.37 7.76 19.24C6.63 18.12 6 16.59 6 15M4 15C4 17.12 4.84 19.16 6.34 20.66C7.84 22.16 9.88 23 12 23C14.12 23 16.16 22.16 17.66 20.66C19.16 19.16 20 17.12 20 15V11H4V15Z" /></svg>
</svg>
<svg id="mdi:play-pause">
<svg xmlns="http://www.w3.org/2000/svg" id="mdi-play-pause" viewBox="0 0 24 24"><path d="M3,5V19L11,12M13,19H16V5H13M18,5V19H21V5" /></svg>
</svg>
@ -921,20 +924,21 @@ rect.held, rect.combo.held {
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key none"/>
<use href="#mdi:minus-circle-outline" xlink:href="#mdi:minus-circle-outline" x="-9" y="-13" height="18" width="18.0" class="key none tap glyph mdi:minus-circle-outline"/>
</g>
<g transform="translate(140, 91)" class="key none keypos-15">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key none side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key none"/>
<use href="#mdi:minus-circle-outline" xlink:href="#mdi:minus-circle-outline" x="-9" y="-13" height="18" width="18.0" class="key none tap glyph mdi:minus-circle-outline"/>
<g transform="translate(140, 91)" class="key keypos-15">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key"/>
<use href="#mdi:mouse-right-click-outline" xlink:href="#mdi:mouse-right-click-outline" x="-9" y="-13" height="18" width="18.0" class="key tap glyph mdi:mouse-right-click-outline"/>
</g>
<g transform="translate(196, 84)" class="key none keypos-16">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key none side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key none"/>
<use href="#mdi:minus-circle-outline" xlink:href="#mdi:minus-circle-outline" x="-9" y="-13" height="18" width="18.0" class="key none tap glyph mdi:minus-circle-outline"/>
<g transform="translate(196, 84)" class="key keypos-16">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key"/>
<use href="#mdi:menu-up" xlink:href="#mdi:menu-up" x="-9" y="-13" height="18" width="18.0" class="key tap glyph mdi:menu-up"/>
<use href="#mdi:mouse" xlink:href="#mdi:mouse" x="-8" y="-24" height="15" width="15.0" class="key shifted glyph mdi:mouse"/>
</g>
<g transform="translate(252, 91)" class="key none keypos-17">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key none side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key none"/>
<use href="#mdi:minus-circle-outline" xlink:href="#mdi:minus-circle-outline" x="-9" y="-13" height="18" width="18.0" class="key none tap glyph mdi:minus-circle-outline"/>
<g transform="translate(252, 91)" class="key keypos-17">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key"/>
<use href="#mdi:mouse-left-click-outline" xlink:href="#mdi:mouse-left-click-outline" x="-9" y="-13" height="18" width="18.0" class="key tap glyph mdi:mouse-left-click-outline"/>
</g>
<g transform="translate(308, 97)" class="key keypos-18">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
@ -996,20 +1000,23 @@ rect.held, rect.combo.held {
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key none"/>
<use href="#mdi:minus-circle-outline" xlink:href="#mdi:minus-circle-outline" x="-9" y="-13" height="18" width="18.0" class="key none tap glyph mdi:minus-circle-outline"/>
</g>
<g transform="translate(140, 147)" class="key none keypos-30">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key none side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key none"/>
<use href="#mdi:minus-circle-outline" xlink:href="#mdi:minus-circle-outline" x="-9" y="-13" height="18" width="18.0" class="key none tap glyph mdi:minus-circle-outline"/>
<g transform="translate(140, 147)" class="key keypos-30">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key"/>
<use href="#mdi:menu-left" xlink:href="#mdi:menu-left" x="-9" y="-13" height="18" width="18.0" class="key tap glyph mdi:menu-left"/>
<use href="#mdi:mouse" xlink:href="#mdi:mouse" x="-8" y="-24" height="15" width="15.0" class="key shifted glyph mdi:mouse"/>
</g>
<g transform="translate(196, 140)" class="key none keypos-31">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key none side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key none"/>
<use href="#mdi:minus-circle-outline" xlink:href="#mdi:minus-circle-outline" x="-9" y="-13" height="18" width="18.0" class="key none tap glyph mdi:minus-circle-outline"/>
<g transform="translate(196, 140)" class="key keypos-31">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key"/>
<use href="#mdi:menu-down" xlink:href="#mdi:menu-down" x="-9" y="-13" height="18" width="18.0" class="key tap glyph mdi:menu-down"/>
<use href="#mdi:mouse" xlink:href="#mdi:mouse" x="-8" y="-24" height="15" width="15.0" class="key shifted glyph mdi:mouse"/>
</g>
<g transform="translate(252, 147)" class="key none keypos-32">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key none side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key none"/>
<use href="#mdi:minus-circle-outline" xlink:href="#mdi:minus-circle-outline" x="-9" y="-13" height="18" width="18.0" class="key none tap glyph mdi:minus-circle-outline"/>
<g transform="translate(252, 147)" class="key keypos-32">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key"/>
<use href="#mdi:menu-right" xlink:href="#mdi:menu-right" x="-9" y="-13" height="18" width="18.0" class="key tap glyph mdi:menu-right"/>
<use href="#mdi:mouse" xlink:href="#mdi:mouse" x="-8" y="-24" height="15" width="15.0" class="key shifted glyph mdi:mouse"/>
</g>
<g transform="translate(308, 153)" class="key keypos-33">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
@ -1074,15 +1081,15 @@ rect.held, rect.combo.held {
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key trans"/>
<use href="#mdi:transfer" xlink:href="#mdi:transfer" x="-9" y="-13" height="18" width="18.0" class="key trans tap glyph mdi:transfer"/>
</g>
<g transform="translate(632, 224) rotate(-24.0)" class="key trans keypos-45">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key trans side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key trans"/>
<use href="#mdi:transfer" xlink:href="#mdi:transfer" x="-9" y="-13" height="18" width="18.0" class="key trans tap glyph mdi:transfer"/>
<g transform="translate(632, 224) rotate(-24.0)" class="key keypos-45">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key"/>
<text x="0" y="-4" class="key tap">&amp;LCLK</text>
</g>
<g transform="translate(695, 209) rotate(-12.0)" class="key trans keypos-46">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key trans side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key trans"/>
<use href="#mdi:transfer" xlink:href="#mdi:transfer" x="-9" y="-13" height="18" width="18.0" class="key trans tap glyph mdi:transfer"/>
<g transform="translate(695, 209) rotate(-12.0)" class="key keypos-46">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key side"/>
<rect rx="4" ry="4" x="-20" y="-24" width="40" height="40" class="key"/>
<text x="0" y="-4" class="key tap">&amp;RCLK</text>
</g>
<g transform="translate(756, 203)" class="key trans keypos-47">
<rect rx="6" ry="6" x="-26" y="-26" width="52" height="52" class="key trans side"/>

Before

Width:  |  Height:  |  Size: 96 KiB

After

Width:  |  Height:  |  Size: 96 KiB

View File

@ -114,9 +114,9 @@ layers:
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- $$mdi:mouse-right-click-outline$$
- {t: '$$mdi:menu-up$$', s: '$$mdi:mouse$$'}
- $$mdi:mouse-left-click-outline$$
- F10
- {t: '$$mdi:transfer$$', type: trans}
- {t: '$$mdi:transfer$$', type: trans}
@ -129,9 +129,9 @@ layers:
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:menu-left$$', s: '$$mdi:mouse$$'}
- {t: '$$mdi:menu-down$$', s: '$$mdi:mouse$$'}
- {t: '$$mdi:menu-right$$', s: '$$mdi:mouse$$'}
- F11
- {t: '$$mdi:minus-circle-outline$$', type: none}
- {t: '$$mdi:transfer$$', type: trans}
@ -144,8 +144,8 @@ layers:
- {t: '$$mdi:transfer$$', type: trans}
- {type: held}
- {t: '$$mdi:transfer$$', type: trans}
- {t: '$$mdi:transfer$$', type: trans}
- {t: '$$mdi:transfer$$', type: trans}
- '&LCLK'
- '&RCLK'
- {t: '$$mdi:transfer$$', type: trans}
Nums:
- {t: '$$mdi:minus-circle-outline$$', type: none}