Remove FUNC() (#12161)

This commit is contained in:
Ryan 2021-03-11 05:21:28 +11:00 committed by GitHub
parent bb01ea3809
commit 2e24cfadb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -680,16 +680,13 @@ enum quantum_keycodes {
#define KC_DELT KC_DELETE // Del key (four letter code) #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 // Aliases
#define C(kc) LCTL(kc) #define C(kc) LCTL(kc)
#define S(kc) LSFT(kc) #define S(kc) LSFT(kc)
#define A(kc) LALT(kc) #define A(kc) LALT(kc)
#define G(kc) LGUI(kc) #define G(kc) LGUI(kc)
#define F(kc) FUNC(kc) #define F(kc) (QK_FUNCTION | (kc))
#define M(kc) (QK_MACRO | (kc)) #define M(kc) (QK_MACRO | (kc))
#define MACROTAP(kc) (QK_MACRO | (FUNC_TAP << 8) | (kc)) #define MACROTAP(kc) (QK_MACRO | (FUNC_TAP << 8) | (kc))