diff options
author | fauxpark <fauxpark@gmail.com> | 2019-11-21 22:50:23 +1100 |
---|---|---|
committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2019-11-21 03:50:23 -0800 |
commit | 57815dbc3be3ff49495d4347595b5c3e080c51c9 (patch) | |
tree | 11da6de70f65914fd8503dd380deb6a1a3f9a152 /layouts/default/numpad_5x6 | |
parent | 5d76b5f6551ade03285e27a5d3ea6fcf09ae0810 (diff) |
[Keymap] Clean up & improve default layouts (#7428)
* Clean up & improve default layouts
* Add newline at EOF in readmes
* Oops
Diffstat (limited to 'layouts/default/numpad_5x6')
-rw-r--r-- | layouts/default/numpad_5x6/default_numpad_5x6/keymap.c | 53 |
1 files changed, 40 insertions, 13 deletions
diff --git a/layouts/default/numpad_5x6/default_numpad_5x6/keymap.c b/layouts/default/numpad_5x6/default_numpad_5x6/keymap.c index 527d089052..4e1e9d7ed6 100644 --- a/layouts/default/numpad_5x6/default_numpad_5x6/keymap.c +++ b/layouts/default/numpad_5x6/default_numpad_5x6/keymap.c @@ -1,18 +1,45 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_numpad_5x6( - KC_ESC, KC_LPRN, KC_RPRN, KC_PSLS, KC_PAST, KC_PMNS, - KC_A, KC_B, KC_P7, KC_P8, KC_P9, - KC_C, KC_D, KC_P4, KC_P5, KC_P6, KC_PPLS, - KC_E, KC_F, KC_P1, KC_P2, KC_P3, - KC_LCTL, TG(1), KC_P0, KC_PDOT, KC_PENT - ), - [1] = LAYOUT_numpad_5x6( - RESET, KC_LPRN, KC_RPRN, KC_PSLS, KC_PAST, KC_PMNS, - KC_A, KC_B, KC_HOME, KC_UP, KC_PGUP, - KC_C, KC_D, KC_LEFT, KC_NO, KC_RGHT, KC_PPLS, - KC_E, KC_F, KC_END, KC_DOWN, KC_PGDN, - KC_LCTL, _______, KC_INS, KC_DEL, KC_PENT + /* + * ┌───┬───┬───┬───┬───┬───┐ + * │Esc│ ( │ ) │ / │ * │ - │ + * ├───┼───┼───┼───┼───┼───┤ + * │ A │ B │ 7 │ 8 │ 9 │ │ + * ├───┼───┼───┼───┼───┤ + │ + * │ C │ D │ 4 │ 5 │ 6 │ │ + * ├───┼───┼───┼───┼───┼───┤ + * │ E │ F │ 1 │ 2 │ 3 │ │ + * ├───┼───┼───┴───┼───┤Ent│ + * │Ctl│TG1│ 0 │ . │ │ + * └───┴───┴───────┴───┴───┘ + */ + [0] = LAYOUT_numpad_5x6( + KC_ESC, KC_LPRN, KC_RPRN, KC_PSLS, KC_PAST, KC_PMNS, + KC_A, KC_B, KC_P7, KC_P8, KC_P9, + KC_C, KC_D, KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_E, KC_F, KC_P1, KC_P2, KC_P3, + KC_LCTL, TG(1), KC_P0, KC_PDOT, KC_PENT ), + + /* + * ┌───┐───┬───┬───┬───┬───┐ + * │Rst│ ( │ ) │ / │ * │ - │ + * └───┘───┌───┬───┬───┬───┐ + * │ A │ B │Hom│ ↑ │PgU│ │ + * ├───┼───├───┼───┼───┤ + │ + * │ C │ D │ ← │ │ → │ │ + * ├───┼───├───┼───┼───┼───┤ + * │ E │ F │End│ ↓ │PgD│ │ + * ├───┼───├───┴───┼───┤Ent│ + * │Ctl│TG1│Insert │Del│ │ + * └───┴───└───────┴───┴───┘ + */ + [1] = LAYOUT_numpad_5x6( + RESET, _______, _______, _______, _______, _______, + _______, _______, KC_HOME, KC_UP, KC_PGUP, + _______, _______, KC_LEFT, XXXXXXX, KC_RGHT, _______, + _______, _______, KC_END, KC_DOWN, KC_PGDN, + _______, _______, KC_INS, KC_DEL, _______ + ) }; |