1
0
Fork 0

Adds Hyper key, tweaks ErgoDox EZ default keymap

This commit is contained in:
Erez Zukerman 2015-10-29 00:16:53 +02:00
parent ea0e1169e6
commit 4b0c54324a
4 changed files with 34 additions and 244 deletions

View file

@ -188,6 +188,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 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
#define LT(layer, kc) (kc | 0x8000 | ((layer & 0xF) << 8))