Skip to content

Commit

Permalink
Remove FUNC() (qmk#12161)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark authored and nhongooi committed Dec 5, 2021
1 parent a9847d5 commit 177a4e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions quantum/quantum_keycodes.h
Original file line number Diff line number Diff line change
Expand Up @@ -684,16 +684,13 @@ enum quantum_keycodes {

#define KC_DELT KC_DELETE // Del key (four letter code)

// Alias for function layers than expand past FN31
#define FUNC(kc) (QK_FUNCTION | (kc))

// Aliases
#define C(kc) LCTL(kc)
#define S(kc) LSFT(kc)
#define A(kc) LALT(kc)
#define G(kc) LGUI(kc)

#define F(kc) FUNC(kc)
#define F(kc) (QK_FUNCTION | (kc))
#define M(kc) (QK_MACRO | (kc))

#define MACROTAP(kc) (QK_MACRO | (FUNC_TAP << 8) | (kc))
Expand Down

0 comments on commit 177a4e3

Please sign in to comment.