summaryrefslogtreecommitdiffstats
path: root/quantum
diff options
context:
space:
mode:
authorErez Zukerman <ezuk@madmimi.com>2015-10-28 01:55:28 +0100
committerErez Zukerman <ezuk@madmimi.com>2015-10-28 01:55:28 +0100
commit2739aa8d780a8210eac30a284786d60dedc671bc (patch)
tree9b7822b5175fbbdd53190fc1fb0eb4516fd4a092 /quantum
parent18da1e6801335b0d9515ab72e9236a01d629915f (diff)
downloadqmk_firmware-2739aa8d780a8210eac30a284786d60dedc671bc.tar.gz
qmk_firmware-2739aa8d780a8210eac30a284786d60dedc671bc.tar.xz
Initial working version of ErgoDox EZ layout using new syntax
Diffstat (limited to 'quantum')
-rw-r--r--quantum/keymap_common.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/quantum/keymap_common.h b/quantum/keymap_common.h
index e93e86483..5735631d9 100644
--- a/quantum/keymap_common.h
+++ b/quantum/keymap_common.h
@@ -117,8 +117,13 @@ extern const uint16_t fn_actions[];
#define KC_RCBR LSFT(KC_RBRC) // }
#define KC_RIGHT_CURLY_BRACE KC_RCBR
+#define KC_COLN LSFT(KC_SCLN) // :
+#define KC_COLON KC_COLN
+
#define KC_PIPE LSFT(KC_SLSH) // |
+#define KC_DELT KC_DELETE // Del key (four letter code)
+
// Alias for function layers than expand past FN31
#define FUNC(kc) kc | 0x2000
@@ -179,10 +184,10 @@ extern const uint16_t fn_actions[];
// M-od, T-ap - 256 keycode max
#define MT(mod, kc) (kc | 0x7000 | ((mod & 0xF) << 8))
-#define CTL_T(kc) HT(0x1, kc)
-#define SFT_T(kc) HT(0x2, kc)
-#define ALT_T(kc) HT(0x4, kc)
-#define GUI_T(kc) HT(0x8, kc)
+#define CTL_T(kc) MT(0x1, kc)
+#define SFT_T(kc) MT(0x2, kc)
+#define ALT_T(kc) MT(0x4, kc)
+#define GUI_T(kc) MT(0x8, kc)
// L-ayer, T-ap - 256 keycode max, 16 layer max
#define LT(layer, kc) (kc | 0x7000 | ((layer & 0xF) << 8))