summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErez Zukerman <bulk@ezuk.org>2017-01-12 07:38:07 -0500
committerErez Zukerman <bulk@ezuk.org>2017-01-12 07:38:07 -0500
commit3717cf5864d6505e406b5eb75f315e6dc2392912 (patch)
tree1ad347853022541556ac38fa68162e3a9f55fcc5
parent8459bb97c1e8bcb9ccce55a1ed849d373bd7706c (diff)
A shot at aliasing
-rw-r--r--quantum/quantum_keycodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 7466e185c1..80cd1d41d8 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -160,6 +160,7 @@ enum quantum_keycodes {
#define LCAG(kc) (kc | QK_LCTL | QK_LALT | QK_LGUI)
#define ALTG(kc) (kc | QK_RCTL | QK_RALT)
#define SCMD(kc) (kc | QK_LGUI | QK_LSFT)
+#define SWIN SCMD
#define MOD_HYPR 0xf
#define MOD_MEH 0x7
@@ -295,6 +296,7 @@ enum quantum_keycodes {
#define LCAG_T(kc) MT((MOD_LCTL | MOD_LALT | MOD_LGUI), kc) // Left control alt and gui
#define ALL_T(kc) MT((MOD_LCTL | MOD_LSFT | MOD_LALT | MOD_LGUI), kc) // see http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/
#define SCMD_T(kc) MT((MOD_LGUI | MOD_LSFT), kc)
+#define SWIN_T SCMD_T
// Dedicated keycode versions for Hyper and Meh, if you want to use them as standalone keys rather than mod-tap
#define KC_HYPR HYPR(KC_NO)