diff options
author | Erez Zukerman <ezuk@madmimi.com> | 2015-11-10 04:14:59 +0200 |
---|---|---|
committer | Erez Zukerman <ezuk@madmimi.com> | 2015-11-10 04:14:59 +0200 |
commit | f5ec585ed821bd791a3080439937b0030d858a8a (patch) | |
tree | 1d53b57beeae7af8bf37dc8744ded1689befff61 /quantum | |
parent | 80397187cdd72c98897d4ef4da499e98c95613d3 (diff) |
[Erez & Jack] Adds Meh key (Hyper without Win/Cmd)
Diffstat (limited to 'quantum')
-rw-r--r-- | quantum/keymap_common.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/keymap_common.h b/quantum/keymap_common.h index 550b1528bb..e543e7e668 100644 --- a/quantum/keymap_common.h +++ b/quantum/keymap_common.h @@ -66,6 +66,9 @@ extern const uint16_t fn_actions[]; #define LSFT(kc) kc | 0x0200 #define LALT(kc) kc | 0x0400 #define LGUI(kc) kc | 0x0800 +#define HYPR(kc) kc | 0x0F00 +#define MEH(kc) kc | 0x0700 + #define RCTL(kc) kc | 0x1100 #define RSFT(kc) kc | 0x1200 #define RALT(kc) kc | 0x1400 @@ -188,6 +191,7 @@ extern const uint16_t fn_actions[]; #define SFT_T(kc) MT(0x2, kc) #define ALT_T(kc) MT(0x4, kc) #define GUI_T(kc) MT(0x8, kc) +#define MEH_T(kc) MT(0x7, kc) // Meh is a less hyper version of the Hyper key -- doesn't include Win or Cmd, so just alt+shift+ctrl #define ALL_T(kc) MT(0xF, kc) // see http://brettterpstra.com/2012/12/08/a-useful-caps-lock-key/ // L-ayer, T-ap - 256 keycode max, 16 layer max |