Update quantum_keycodes.h

This commit is contained in:
Jack Humbert 2017-01-13 14:04:51 -05:00 committed by GitHub
parent 3717cf5864
commit 7288e5ab9c

View File

@ -160,7 +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 SWIN(kc) SCMD(kc)
#define MOD_HYPR 0xf
#define MOD_MEH 0x7
@ -296,7 +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
#define SWIN_T(kc) SCMD_T(kc)
// 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)