mirror of
https://github.com/zoriya/abyss.git
synced 2025-12-06 06:36:16 +00:00
Add media keys
This commit is contained in:
@@ -5,6 +5,9 @@
|
||||
#define SY 1
|
||||
#define OT 2
|
||||
|
||||
#define VOLDWN C_VOLUME_DOWN
|
||||
#define VOLUP C_VOLUME_UP
|
||||
|
||||
/ {
|
||||
behaviors {
|
||||
hml: homerow_mods_left {
|
||||
@@ -115,7 +118,7 @@
|
||||
//├─────────────┼─────────────┼─────────────┼─────────────┼─────────────╯ ╰─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤
|
||||
&kp SQT &kp Q &kp J &kp K &kp M &kp W &kp V &kp L
|
||||
//╰───────────────────────────┼─────────────┼─────────────┼─────────────╮ ╭─────────────┼─────────────┼─────────────┼───────────────────────────╯
|
||||
&left_tab <_spc SY 0 < OT ESC &kp RET <_bspc SY 0 &up_ret
|
||||
&left_tab <_spc SY 0 < OT ESC &kp RET <_bspc SY 0 &up_ret
|
||||
// ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
|
||||
>;
|
||||
};
|
||||
@@ -137,13 +140,13 @@
|
||||
others {
|
||||
bindings = <
|
||||
// ╭───────────────┬────────────────┬────────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────╮
|
||||
&none &none &none &none &none &bt BT_CLR &none &none
|
||||
&none &none &none &none &none &kp C_MUTE &kp VOLDWN &kp VOLUP
|
||||
//╭─────────────────┼───────────────┼────────────────┼────────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼────────────────╮
|
||||
&none &none &none &none &none &bt BT_SEL 4 &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &bt BT_SEL 3
|
||||
//├─────────────────┼───────────────┼────────────────┼────────────────┼─────────────╯ ╰─────────────┼─────────────┼─────────────┼─────────────┼────────────────┤
|
||||
&none &none &none &none &none &none &none &none
|
||||
&none &none &none &none &none &none &none &bt BT_CLR
|
||||
//╰─────────────────────────────────┼────────────────┼────────────────┼─────────────╮ ╭─────────────┼─────────────┼─────────────┼──────────────────────────────╯
|
||||
&trans &trans &trans &trans &trans &trans
|
||||
&trans &trans &trans &trans &kp C_PP &trans
|
||||
// ╰────────────────┴────────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯
|
||||
>;
|
||||
};
|
||||
|
||||
@@ -467,15 +467,19 @@ path.combo {
|
||||
</g>
|
||||
<g transform="translate(480, 28)" class="key keypos-5">
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
|
||||
<text x="0" y="0" class="key tap">
|
||||
<tspan x="0" dy="-0.6em">BT</tspan><tspan x="0" dy="1.2em">CLR</tspan>
|
||||
</text>
|
||||
<text x="0" y="0" class="key tap">MUTE</text>
|
||||
</g>
|
||||
<g transform="translate(540, 28)" class="key keypos-6">
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
|
||||
<text x="0" y="0" class="key tap">
|
||||
<tspan x="0" dy="-0.6em">VOLUME</tspan><tspan x="0" dy="1.2em">DOWN</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g transform="translate(600, 28)" class="key keypos-7">
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
|
||||
<text x="0" y="0" class="key tap">
|
||||
<tspan x="0" dy="-0.6em">VOLUME</tspan><tspan x="0" dy="1.2em">UP</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g transform="translate(30, 112)" class="key keypos-8">
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
|
||||
@@ -540,6 +544,9 @@ path.combo {
|
||||
</g>
|
||||
<g transform="translate(660, 168)" class="key keypos-25">
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
|
||||
<text x="0" y="0" class="key tap">
|
||||
<tspan x="0" dy="-0.6em">BT</tspan><tspan x="0" dy="1.2em">CLR</tspan>
|
||||
</text>
|
||||
</g>
|
||||
<g transform="translate(180, 196)" class="key trans keypos-26">
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key trans"/>
|
||||
@@ -556,9 +563,9 @@ path.combo {
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key trans"/>
|
||||
<text x="0" y="0" class="key trans tap">▽</text>
|
||||
</g>
|
||||
<g transform="translate(450, 196)" class="key trans keypos-30">
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key trans"/>
|
||||
<text x="0" y="0" class="key trans tap">▽</text>
|
||||
<g transform="translate(450, 196)" class="key keypos-30">
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key"/>
|
||||
<text x="0" y="0" class="key tap">PP</text>
|
||||
</g>
|
||||
<g transform="translate(510, 196)" class="key trans keypos-31">
|
||||
<rect rx="6" ry="6" x="-28" y="-26" width="56" height="52" class="key trans"/>
|
||||
|
||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 41 KiB |
Reference in New Issue
Block a user