summaryrefslogtreecommitdiff
path: root/quantum
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-01-26 08:12:48 +1100
committerDrashna Jaelre <drashna@live.com>2019-01-25 13:12:48 -0800
commit79b58937f41413f52ffc7b6af2149dca7a632b73 (patch)
tree1808ded566f1f941158687db657c114a2346105b /quantum
parent2f009d7461a486cfa7307ef0cecd67d1abe570b3 (diff)
Add C(), A() and G() to match already existing S() (#4673)
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum_keycodes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 9f9d35b1c0..0462291c2b 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -567,9 +567,12 @@ enum quantum_keycodes {
#define FUNC(kc) (QK_FUNCTION | (kc))
// Aliases
+#define C(kc) LCTL(kc)
#define S(kc) LSFT(kc)
-#define F(kc) FUNC(kc)
+#define A(kc) LALT(kc)
+#define G(kc) LGUI(kc)
+#define F(kc) FUNC(kc)
#define M(kc) (QK_MACRO | (kc))
#define MACROTAP(kc) (QK_MACRO | (FUNC_TAP << 8) | (kc))