diff options
Diffstat (limited to 'layouts/default/numpad_6x4')
-rw-r--r-- | layouts/default/numpad_6x4/default_numpad_6x4/keymap.c | 62 | ||||
-rw-r--r-- | layouts/default/numpad_6x4/info.json | 39 | ||||
-rw-r--r-- | layouts/default/numpad_6x4/layout.json | 2 | ||||
-rw-r--r-- | layouts/default/numpad_6x4/readme.md | 2 |
4 files changed, 87 insertions, 18 deletions
diff --git a/layouts/default/numpad_6x4/default_numpad_6x4/keymap.c b/layouts/default/numpad_6x4/default_numpad_6x4/keymap.c index 3901595b71..b8669025fb 100644 --- a/layouts/default/numpad_6x4/default_numpad_6x4/keymap.c +++ b/layouts/default/numpad_6x4/default_numpad_6x4/keymap.c @@ -1,21 +1,51 @@ #include QMK_KEYBOARD_H const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { - [0] = LAYOUT_numpad_6x4( - KC_ESC, KC_TAB, MO(1), KC_BSPC, \ - KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \ - KC_P7, KC_P8, KC_P9, \ - KC_P4, KC_P5, KC_P6, KC_PPLS, \ - KC_P1, KC_P2, KC_P3, \ - KC_P0, KC_PDOT, KC_PENT \ - ), + /* + * ┌───┬───┬───┬───┐ + * │Esc│Tab│MO1│Bsp│ + * ├───┼───┼───┼───┤ + * │Num│ / │ * │ - │ + * ├───┼───┼───┼───┤ + * │ 7 │ 8 │ 9 │ │ + * ├───┼───┼───┤ + │ + * │ 4 │ 5 │ 6 │ │ + * ├───┼───┼───┼───┤ + * │ 1 │ 2 │ 3 │ │ + * ├───┴───┼───┤Ent│ + * │ 0 │ . │ │ + * └───────┴───┴───┘ + */ + [0] = LAYOUT_numpad_6x4( + KC_ESC, KC_TAB, MO(1), KC_BSPC, + KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, + KC_P7, KC_P8, KC_P9, + KC_P4, KC_P5, KC_P6, KC_PPLS, + KC_P1, KC_P2, KC_P3, + KC_P0, KC_PDOT, KC_PENT + ), - [1] = LAYOUT_numpad_6x4( - RESET, KC_TAB, KC_TRNS, KC_PEQL, \ - KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, \ - KC_HOME, KC_UP, KC_PGUP, \ - KC_LEFT, KC_NO, KC_RGHT, KC_PPLS, \ - KC_END, KC_DOWN, KC_PGDN, \ - KC_INS, KC_DEL, KC_PENT \ - ), + /* + * ┌───┐───┬───┬───┐ + * │Rst│Tab│MO1│Bsp│ + * └───┘───┼───┼───┤ + * │Num│ / │ * │ - │ + * ┌───┬───┬───┐───┤ + * │Hom│ ↑ │PgU│ │ + * ├───┼───┼───┤ + │ + * │ ← │ │ → │ │ + * ├───┼───┼───┤───┤ + * │End│ ↓ │PgD│ │ + * ├───┴───┼───┤Ent│ + * │Insert │Del│ │ + * └───────┴───┘───┘ + */ + [1] = LAYOUT_numpad_6x4( + RESET, _______, _______, _______, + _______, _______, _______, _______, + KC_HOME, KC_UP, KC_PGUP, + KC_LEFT, XXXXXXX, KC_RGHT, _______, + KC_END, KC_DOWN, KC_PGDN, + KC_INS, KC_DEL, _______ + ) }; diff --git a/layouts/default/numpad_6x4/info.json b/layouts/default/numpad_6x4/info.json new file mode 100644 index 0000000000..f8548621f1 --- /dev/null +++ b/layouts/default/numpad_6x4/info.json @@ -0,0 +1,39 @@ +{ + "keyboard_name": "6x4 number pad layout", + "url": "", + "maintainer": "qmk", + "width": 4, + "height": 6, + "layouts": { + "LAYOUT_numpad_6x4": { + "layout": [ + {"x":0, "y":0}, + {"x":1, "y":0}, + {"x":2, "y":0}, + {"x":3, "y":0}, + + {"x":0, "y":1}, + {"x":1, "y":1}, + {"x":2, "y":1}, + {"x":3, "y":1}, + + {"x":0, "y":2}, + {"x":1, "y":2}, + {"x":2, "y":2}, + + {"x":0, "y":3}, + {"x":1, "y":3}, + {"x":2, "y":3}, + {"x":3, "y":2, "h":2}, + + {"x":0, "y":4}, + {"x":1, "y":4}, + {"x":2, "y":4}, + + {"x":0, "y":5, "w":2}, + {"x":2, "y":5}, + {"x":3, "y":4, "h":2} + ] + } + } +} diff --git a/layouts/default/numpad_6x4/layout.json b/layouts/default/numpad_6x4/layout.json index 7264cd5a6d..ee6f4fc969 100644 --- a/layouts/default/numpad_6x4/layout.json +++ b/layouts/default/numpad_6x4/layout.json @@ -1,5 +1,5 @@ +[{a:7},"","","",""], ["","","",""], -[{y:0.5},"","","",""], ["","","",{h:2},""], ["","",""], ["","","",{h:2},""], diff --git a/layouts/default/numpad_6x4/readme.md b/layouts/default/numpad_6x4/readme.md index c539baef75..063700d420 100644 --- a/layouts/default/numpad_6x4/readme.md +++ b/layouts/default/numpad_6x4/readme.md @@ -1,3 +1,3 @@ # numpad_6x4 - LAYOUT_numpad_6x4
\ No newline at end of file + LAYOUT_numpad_6x4 |