Skip to content

Commit

Permalink
Adjust 5 way switch volume control and bluetooth profile combos
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaaSaadAbdo authored Apr 27, 2024
1 parent e3435fa commit 30220fc
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
32 changes: 16 additions & 16 deletions config/base30.keymap
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
// up left down right middle
&kp C_VOL_UP &kp C_VOL_DN &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
#endif
>;
#ifdef ENCODERS
Expand All @@ -122,8 +122,8 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
// up left down right middle
&kp C_VOL_UP &kp C_VOL_DN &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
#endif
>;
#ifdef ENCODERS
Expand All @@ -143,8 +143,8 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
// up left down right middle
&kp C_VOL_UP &kp C_VOL_DN &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
#endif
>;
#ifdef ENCODERS
Expand All @@ -164,8 +164,8 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
// up left down right middle
&kp C_VOL_UP &kp C_VOL_DN &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
#endif
>;
#ifdef ENCODERS
Expand All @@ -185,8 +185,8 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
// up left down right middle
&kp C_VOL_UP &kp C_VOL_DN &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
#endif
>;
#ifdef ENCODERS
Expand All @@ -211,8 +211,8 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
// up left down right middle
&kp C_VOL_UP &kp C_VOL_DN &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
#endif
>;
#ifdef ENCODERS
Expand All @@ -232,8 +232,8 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
// up left down right middle
&kp C_VOL_UP &kp C_VOL_DN &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
#endif
>;

Expand All @@ -254,8 +254,8 @@
// ╰─────────────┴─────────────╯ ╰─────────────┴─────────────╯

#ifdef FIVEWAY
// up left down right middle
&kp PG_UP &kp C_VOL_DN &kp PG_DN &kp C_VOL_UP &kp C_MUTE
// up left down right middle
&kp C_VOL_UP &kp C_VOL_DN &kp C_VOL_DN &kp C_VOL_UP &kp C_MUTE
#endif

>;
Expand Down
4 changes: 2 additions & 2 deletions config/combos30.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -91,5 +91,5 @@ GCOMBO(switch_to_APT_mac, &to APT, 1 11 26)
GCOMBO(switch_to_APT_win, &to APTW, 8 18 29)

/* bluetooth profile + default layer */
COMBO(btblhdn, &macro_btblwin, 20 21, NAV NAVW)
COMBO(btblhdnw, &macro_btblmac, 21 22, NAV NAVW)
COMBO(btblhdn, &macro_btblwin, 27 20 21, ALPHA_ALL)
COMBO(btblhdnw, &macro_btblmac, 27 21 22, ALPHA_ALL)

0 comments on commit 30220fc

Please sign in to comment.