Skip to content

Commit

Permalink
combo layers for chazal
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaaSaadAbdo authored Jul 29, 2024
1 parent 08f9395 commit 0574c25
Showing 1 changed file with 12 additions and 18 deletions.
30 changes: 12 additions & 18 deletions config/combos30.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,20 @@ compatible = "zmk,combos";
key-positions = <KEYPOS>; \
};

#define ALPHA_ALL HDN HDNW
#define ALPHA_MAC HDN
#define ALPHA_WIN HDNW

/* Missing Alphas */
COMBO(Q, &kp Q, 21 22, ALPHA_ALL
#ifdef GHAZAL
SCROLL
#endif
) // Q
COMBO(Z, &kp Z, 1 2, ALPHA_ALL
#ifdef GHAZAL
SCROLL
#define ALPHA_ALL HDN HDNW SCROLL SNIPE
#define ALPHA_MAC HDN SCROLL SNIPE
#define ALPHA_WIN HDNW SCROLL SNIPE
#else
#define ALPHA_ALL HDN HDNW
#define ALPHA_MAC HDN
#define ALPHA_WIN HDNW
#endif
) // Z
COMBO(V, &kp V, 20 21, ALPHA_ALL
SCROLL#ifdef GHAZAL
SCROLL
#endif
) // V

/* Missing Alphas */
COMBO(Q, &kp Q, 21 22, ALPHA_ALL ) // Q
COMBO(Z, &kp Z, 1 2, ALPHA_ALL) // Z
COMBO(V, &kp V, 20 21, ALPHA_ALL) // V

/* Brackets */
COMBO(left_bracket, &kp LBKT, 1 11, ALPHA_ALL)
Expand Down

0 comments on commit 0574c25

Please sign in to comment.