summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-03-11 05:21:28 +1100
committerGitHub <noreply@github.com>2021-03-11 05:21:28 +1100
commit2e24cfadb75b00156acf2827d5643d6c2d55a60c (patch)
treea7d9eaf5e4ae5fe5bcb97b1da09604c7e3193e97 /quantum
parentbb01ea3809eb6c8b6946d2f7d844c29caf7aa349 (diff)
Remove `FUNC()` (#12161)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum_keycodes.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index e697b71ba5..dab9ba3d71 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -680,16 +680,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))