aboutsummaryrefslogtreecommitdiff
path: root/quantum/quantum_keycodes.h
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/quantum_keycodes.h
parent2f009d7461a486cfa7307ef0cecd67d1abe570b3 (diff)
downloadqmk_firmware-79b58937f41413f52ffc7b6af2149dca7a632b73.tar.gz
qmk_firmware-79b58937f41413f52ffc7b6af2149dca7a632b73.zip
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 {
567#define FUNC(kc) (QK_FUNCTION | (kc)) 567#define FUNC(kc) (QK_FUNCTION | (kc))
568 568
569// Aliases 569// Aliases
570#define C(kc) LCTL(kc)
570#define S(kc) LSFT(kc) 571#define S(kc) LSFT(kc)
571#define F(kc) FUNC(kc) 572#define A(kc) LALT(kc)
573#define G(kc) LGUI(kc)
572 574
575#define F(kc) FUNC(kc)
573#define M(kc) (QK_MACRO | (kc)) 576#define M(kc) (QK_MACRO | (kc))
574 577
575#define MACROTAP(kc) (QK_MACRO | (FUNC_TAP << 8) | (kc)) 578#define MACROTAP(kc) (QK_MACRO | (FUNC_TAP << 8) | (kc))