aboutsummaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorskullY <skullydazed@gmail.com>2018-03-01 16:15:38 -0800
committerskullY <skullydazed@gmail.com>2018-03-01 16:15:38 -0800
commite5c331e7be2ebb062d861876b17d14683c0c3fda (patch)
treea4afd54ed90ba638537c81ff0a84d7c4c4b4fc79 /quantum
parente3f67e6e7f726802b978a1e53eda3e2a40122565 (diff)
downloadfirmware-e5c331e7be2ebb062d861876b17d14683c0c3fda.tar.gz
firmware-e5c331e7be2ebb062d861876b17d14683c0c3fda.tar.bz2
firmware-e5c331e7be2ebb062d861876b17d14683c0c3fda.zip
Fix the SGUI aliases
Diffstat (limited to 'quantum')
-rw-r--r--quantum/quantum_keycodes.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/quantum/quantum_keycodes.h b/quantum/quantum_keycodes.h
index 2d9603064..a4ee4d6bb 100644
--- a/quantum/quantum_keycodes.h
+++ b/quantum/quantum_keycodes.h
@@ -455,8 +455,8 @@ enum quantum_keycodes {
#define LCAG(kc) (kc | QK_LCTL | QK_LALT | QK_LGUI)
#define ALTG(kc) (kc | QK_RCTL | QK_RALT)
#define SGUI(kc) (kc | QK_LGUI | QK_LSFT)
-#define SCMD(kc) SCMD(kc)
-#define SWIN(kc) SCMD(kc)
+#define SCMD(kc) SGUI(kc)
+#define SWIN(kc) SGUI(kc)
#define LCA(kc) (kc | QK_LCTL | QK_LALT)
#define MOD_HYPR 0xf
@@ -621,8 +621,8 @@ enum quantum_keycodes {
#define RCAG_T(kc) MT((MOD_RCTL | MOD_RALT | MOD_RGUI), kc) // Right 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 SGUI_T(kc) MT((MOD_LGUI | MOD_LSFT), kc)
-#define SCMD_T(kc) SCMD_T(kc)
-#define SWIN_T(kc) SCMD_T(kc)
+#define SCMD_T(kc) SGUI_T(kc)
+#define SWIN_T(kc) SGUI_T(kc)
#define LCA_T(kc) MT((MOD_LCTL | MOD_LALT), kc) // Left control and left alt
// Dedicated keycode versions for Hyper and Meh, if you want to use them as standalone keys rather than mod-tap