summaryrefslogtreecommitdiffstats
path: root/keyboards/planck
diff options
context:
space:
mode:
authorcbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-09-13 22:29:01 +0200
committercbbrowne <cbbrowne@cbbrowne.tor.int-afilias.info>2016-09-13 22:29:01 +0200
commit5d643bb7ee8375a354693f19a6e9eae44f825532 (patch)
tree94a6c82c346635a639a45c030ab409e458303ca2 /keyboards/planck
parent5be2795ca1b8c3e555fb7fb3a2d7fca69d2db9b4 (diff)
downloadqmk_firmware-5d643bb7ee8375a354693f19a6e9eae44f825532.tar.gz
qmk_firmware-5d643bb7ee8375a354693f19a6e9eae44f825532.tar.xz
Got Right SHIFT + Right CTRL
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/keymaps/cbbrowne/keymap.c6
-rw-r--r--keyboards/planck/keymaps/cbbrowne/readme.md7
2 files changed, 10 insertions, 3 deletions
diff --git a/keyboards/planck/keymaps/cbbrowne/keymap.c b/keyboards/planck/keymaps/cbbrowne/keymap.c
index fafc47e1d..d6f8a6ed4 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 */
},
diff --git a/keyboards/planck/keymaps/cbbrowne/readme.md b/keyboards/planck/keymaps/cbbrowne/readme.md
index e9e423ed9..272e042a0 100644
--- a/keyboards/planck/keymaps/cbbrowne/readme.md
+++ b/keyboards/planck/keymaps/cbbrowne/readme.md
@@ -25,7 +25,12 @@ doing sundry experimentation:
- Key [3][2] aka "z" uses a random number generator to select a letter a-z at random
- Key [1][3] aka "e" spits out the keymap version number
* Trying out sgoodwin's "hold Enter down to get Shift"
-
+ - Liking this Quite Well Enough...
+ - Applied this to both Shift and Quote
+ * I have added an alternate ADJUST layer that is activated via update_tri_layer()
+ - e.g. - LOWER+RAISE simultaneously
+ - This seems entirely more useful for handling my "special keys"
+ like the random numbers, user name, and such, than the keypad layer
2. Some code structure ideas
---------------------------------------------------