Skip to content

Commit

Permalink
vol control on 5 way switch
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaaSaadAbdo authored Apr 18, 2024
1 parent 34a275d commit 7f8f4e8
Showing 1 changed file with 23 additions and 9 deletions.
32 changes: 23 additions & 9 deletions config/base30.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,10 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
&kp C &kp G &kp D &kp L &kp O
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
#endif

>;
#ifdef ENCODERS
sensor-bindings = <&inc_dec_kp C_VOL_UP C_VOL_DN &inc_dec_kp PG_UP PG_DN>;
Expand Down Expand Up @@ -125,9 +127,10 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
&kp C &kp G &kp D &kp L &kp O
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
#endif
>;

#ifdef ENCODERS
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>;
#endif
Expand All @@ -145,8 +148,10 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
&kp C &kp G &kp D &kp L &kp O
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
#endif

>;
#ifdef ENCODERS
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>;
Expand All @@ -165,8 +170,10 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
&kp C &kp G &kp D &kp L &kp O
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
#endif

>;
#ifdef ENCODERS
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>;
Expand All @@ -185,8 +192,10 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
&kp C &kp G &kp D &kp L &kp O
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
#endif

>;
#ifdef ENCODERS
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>;
Expand All @@ -207,8 +216,10 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
&kp C &kp G &kp D &kp L &kp O
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
#endif

>;
#ifdef ENCODERS
sensor-bindings = <&inc_dec_kp C_VOL_DN C_VOL_UP &inc_dec_kp PG_UP PG_DN>;
Expand All @@ -227,8 +238,10 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
&kp C &kp G &kp D &kp L &kp O
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
#endif

>;

#ifdef ENCODERS
Expand All @@ -248,7 +261,8 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
&kp C &kp G &kp D &kp L &kp O
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
#endif

>;
Expand Down

0 comments on commit 7f8f4e8

Please sign in to comment.