summaryrefslogtreecommitdiff
path: root/keyboards/planck/keymaps/cbbrowne/keymap.c
diff options
context:
space:
mode:
authorcbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-09-13 16:29:01 -0400
committercbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-09-13 16:29:01 -0400
commit5d643bb7ee8375a354693f19a6e9eae44f825532 (patch)
tree94a6c82c346635a639a45c030ab409e458303ca2 /keyboards/planck/keymaps/cbbrowne/keymap.c
parent5be2795ca1b8c3e555fb7fb3a2d7fca69d2db9b4 (diff)
Got Right SHIFT + Right CTRL
Diffstat (limited to 'keyboards/planck/keymaps/cbbrowne/keymap.c')
-rw-r--r--keyboards/planck/keymaps/cbbrowne/keymap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/cbbrowne/keymap.c b/keyboards/planck/keymaps/cbbrowne/keymap.c
index fafc47e1d4..d6f8a6ed48 100644
--- a/keyboards/planck/keymaps/cbbrowne/keymap.c
+++ b/keyboards/planck/keymaps/cbbrowne/keymap.c
@@ -90,6 +90,8 @@ enum macro_id {
#define USERNAME M(M_USERNAME) /* shortcut for username */
#define RANDDIG M(M_RANDDIGIT)
#define RANDALP M(M_RANDLETTER)
+#define CTLENTER MT(MOD_RCTL, KC_ENT)
+#define SHIFTQUOTE MT(MOD_RSFT, KC_QUOT)
/* Note that Planck has dimensions 4 rows x 12 columns */
@@ -97,8 +99,8 @@ enum macro_id {
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
[_QWERTY] = { /* Qwerty */
{KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC},
- {KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, MT(MOD_RSFT, KC_ENT)},
- {KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, KC_QUOT },
+ {KC_LCTL, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCLN, CTLENTER},
+ {KC_LSFT, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH, SHIFTQUOTE },
{KC_TAB, ROT_LED, KC_LALT, KC_LGUI, M_LOWER, KC_SPC, KC_SPC, M_UPPER, KC_LEFT, KC_DOWN, KC_UP, KC_RGHT}
/* Note that KC_SPC is recorded TWICE, so that either matrix position can activate it */
},