aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEddie Ehlin <eddiex@eddiex.se>2021-01-15 15:10:14 +0100
committerEddie Ehlin <eddiex@eddiex.se>2021-01-15 15:10:14 +0100
commit3160fe64d9611de9086a4ad14f8aa3bec4f21f18 (patch)
tree3589442b4f139579eeb4ad19e86dff59dda2aa00
parentc2b624dd537bbb23a92d1aeeffbfb74996a08f91 (diff)
downloadplanck-keyboard-3160fe64d9611de9086a4ad14f8aa3bec4f21f18.tar.gz
planck-keyboard-3160fe64d9611de9086a4ad14f8aa3bec4f21f18.zip
Initial setup of raise layer.
-rw-r--r--keymap/0xedd1e/keymap.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/keymap/0xedd1e/keymap.c b/keymap/0xedd1e/keymap.c
index eec2176..9f75fb8 100644
--- a/keymap/0xedd1e/keymap.c
+++ b/keymap/0xedd1e/keymap.c
@@ -34,6 +34,7 @@ enum planck_keycodes {
#define LOWER MO(_LOWER)
#define RAISE MO(_RAISE)
+#define ADJUST MO(_ADJUST)
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
@@ -67,7 +68,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
* `-----------------------------------------------------------------------------------'
*/
[_LOWER] = LAYOUT_planck_grid(
- KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_9, KC_PLUS, SE_ACUT,
+ KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_PLUS, SE_ACUT,
SE_SECT, _______, _______, _______, _______, _______, _______, SE_LCBR, SE_LBRC, SE_RBRC, SE_RCBR, SE_DIAE,
SE_RABK, SE_PIPE, SE_RABK, _______, _______, _______, _______, _______, _______, _______, _______, SE_QUOT,
_______, _______, _______, _______, _______, KC_DEL, _______, _______, KC_HOME, KC_PGDN, KC_PGUP, KC_END
@@ -75,20 +76,20 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
/* Raise
* ,-----------------------------------------------------------------------------------.
- * | ` | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 0 | Bksp |
+ * | F1 | F2 | F3 | F4 | F5 | F6 | F7 | F8 | F9 | F10 | F11 | F12 |
* |------+------+------+------+------+------+------+------+------+------+------+------|
- * | Del | F1 | F2 | F3 | F4 | F5 | F6 | - | = | [ | ] | \ |
+ * | ! | " | # | ยค | % | & | / | ( | ) | = | ? | ` |
* |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | F7 | F8 | F9 | F10 | F11 | F12 |ISO # |ISO / |Pg Up |Pg Dn | |
+ * | / | | | \ | | | | { | [ | ] | } | | |
* |------+------+------+------+------+------+------+------+------+------+------+------|
- * | | | | | | | | | Next | Vol- | Vol+ | Play |
+ * | | | | | | | |Adjust| Next | Vol- | Vol+ | Play |
* `-----------------------------------------------------------------------------------'
*/
[_RAISE] = LAYOUT_planck_grid(
- KC_GRV, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_BSPC,
- KC_DEL, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_MINS, KC_EQL, KC_LBRC, KC_RBRC, KC_BSLS,
- _______, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, KC_NUHS, KC_NUBS, KC_PGUP, KC_PGDN, _______,
- _______, _______, _______, _______, _______, _______, _______, _______, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
+ KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12,
+ SE_EXLM, SE_DQUO, SE_HASH, SE_CURR, SE_PERC, SE_AMPR, SE_SLSH, SE_LPRN, SE_RPRN, SE_EQL, SE_QUES, SE_GRV,
+ SE_SLSH, SE_PIPE, SE_BSLS, _______, _______, _______, SE_LCBR, SE_LBRC, SE_RBRC, SE_RCBR, _______, _______,
+ _______, _______, _______, _______, _______, _______, _______, ADJUST, KC_MNXT, KC_VOLD, KC_VOLU, KC_MPLY
),
/* Adjust (Lower + Raise)