summaryrefslogtreecommitdiffstats
path: root/quantum/quantum_keycodes.h
diff options
context:
space:
mode:
authorfauxpark <fauxpark@gmail.com>2019-01-25 22:12:48 +0100
committerDrashna Jaelre <drashna@live.com>2019-01-25 22:12:48 +0100
commit79b58937f41413f52ffc7b6af2149dca7a632b73 (patch)
tree1808ded566f1f941158687db657c114a2346105b /quantum/quantum_keycodes.h
parent2f009d7461a486cfa7307ef0cecd67d1abe570b3 (diff)
downloadqmk_firmware-79b58937f41413f52ffc7b6af2149dca7a632b73.tar.gz
qmk_firmware-79b58937f41413f52ffc7b6af2149dca7a632b73.tar.xz
Add C(), A() and G() to match already existing S() (#4673)
Diffstat (limited to 'quantum/quantum_keycodes.h')
-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 9f9d35b1c..0462291c2 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))