From e5c331e7be2ebb062d861876b17d14683c0c3fda Mon Sep 17 00:00:00 2001 From: skullY Date: Thu, 1 Mar 2018 16:15:38 -0800 Subject: [PATCH] Fix the SGUI aliases --- quantum/quantum_keycodes.h | 8 ++++---- 1 file 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