[Draw] add combos

This commit is contained in:
Ajetski 2025-10-22 18:51:40 +00:00 committed by github-actions[bot]
parent 4d3f522141
commit ecb4e212db
2 changed files with 25 additions and 4 deletions

View File

@ -551,10 +551,22 @@ rect.held, rect.combo.held {
<use href="#mdi:apple-keyboard-option" xlink:href="#mdi:apple-keyboard-option" x="-9" y="-13" height="18" width="18.0" class="key tap glyph mdi:apple-keyboard-option"/> <use href="#mdi:apple-keyboard-option" xlink:href="#mdi:apple-keyboard-option" x="-9" y="-13" height="18" width="18.0" class="key tap glyph mdi:apple-keyboard-option"/>
</g> </g>
<g class="combo combopos-0"> <g class="combo combopos-0">
<rect rx="6" ry="6" x="742" y="74" width="28" height="26" class="combo"/> <rect rx="6" ry="6" x="798" y="74" width="28" height="26" class="combo"/>
<use href="#mdi:backspace-reverse-outline" xlink:href="#mdi:backspace-reverse-outline" x="747" y="78" height="18" width="18.0" class="combo tap glyph mdi:backspace-reverse-outline"/> <use href="#mdi:backspace-reverse-outline" xlink:href="#mdi:backspace-reverse-outline" x="803" y="78" height="18" width="18.0" class="combo tap glyph mdi:backspace-reverse-outline"/>
</g> </g>
<g class="combo combopos-1"> <g class="combo backspace combopos-1">
<rect rx="6" ry="6" x="742" y="74" width="28" height="26" class="combo backspace"/>
<use href="#mdi:backspace" xlink:href="#mdi:backspace" x="747" y="78" height="18" width="18.0" class="combo backspace tap glyph mdi:backspace"/>
</g>
<g class="combo combopos-2">
<rect rx="6" ry="6" x="210" y="130" width="28" height="26" class="combo"/>
<use href="#mdi:keyboard-tab" xlink:href="#mdi:keyboard-tab" x="215" y="134" height="18" width="18.0" class="combo tap glyph mdi:keyboard-tab"/>
</g>
<g class="combo enter combopos-3">
<rect rx="6" ry="6" x="742" y="130" width="28" height="26" class="combo enter"/>
<use href="#mdi:keyboard-return" xlink:href="#mdi:keyboard-return" x="747" y="134" height="18" width="18.0" class="combo enter tap glyph mdi:keyboard-return"/>
</g>
<g class="combo combopos-4">
<path d="M140,37 l-38,8" class="combo"/> <path d="M140,37 l-38,8" class="combo"/>
<path d="M140,37 l38,-6" class="combo"/> <path d="M140,37 l38,-6" class="combo"/>
<rect rx="6" ry="6" x="126" y="24" width="28" height="26" class="combo"/> <rect rx="6" ry="6" x="126" y="24" width="28" height="26" class="combo"/>

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 95 KiB

View File

@ -246,8 +246,17 @@ layers:
- {t: '$$mdi:transfer$$', type: trans} - {t: '$$mdi:transfer$$', type: trans}
- {t: '$$mdi:transfer$$', type: trans} - {t: '$$mdi:transfer$$', type: trans}
combos: combos:
- p: [23, 24] - p: [24, 25]
k: $$mdi:backspace-reverse-outline$$ k: $$mdi:backspace-reverse-outline$$
l: [Base] l: [Base]
- p: [23, 24]
k: {t: '$$mdi:backspace$$', type: backspace}
l: [Base]
- p: [31, 32]
k: $$mdi:keyboard-tab$$
l: [Base]
- p: [37, 38]
k: {t: '$$mdi:keyboard-return$$', type: enter}
l: [Base]
- p: [1, 2, 3] - p: [1, 2, 3]
k: '&soft_off' k: '&soft_off'