diff options
author | noroadsleft <18669334+noroadsleft@users.noreply.github.com> | 2018-06-07 08:14:39 -0700 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-06-07 08:14:39 -0700 |
commit | 66a35aded1bdab44fd4d79290899059ba3b97645 (patch) | |
tree | 25cf468554627417d88749a4b65d9e2a8e4d615f /layouts/default/numpad_4x4 | |
parent | b5d6c049e6caec89f04707663efd37d46be3e9c5 (diff) |
Add premade layouts for Numpad 4x4, Numpad 5x4, Ortho 5x4, and Planck MIT (#3139)
Fix EOF on Planck MIT layout.json
Cleanup ortho_5x4 layout.json
Diffstat (limited to 'layouts/default/numpad_4x4')
-rw-r--r-- | layouts/default/numpad_4x4/default_numpad_4x4/keymap.c | 11 | ||||
-rw-r--r-- | layouts/default/numpad_4x4/layout.json | 4 | ||||
-rw-r--r-- | layouts/default/numpad_4x4/readme.md | 3 |
3 files changed, 18 insertions, 0 deletions
diff --git a/layouts/default/numpad_4x4/default_numpad_4x4/keymap.c b/layouts/default/numpad_4x4/default_numpad_4x4/keymap.c new file mode 100644 index 0000000000..5ece34a672 --- /dev/null +++ b/layouts/default/numpad_4x4/default_numpad_4x4/keymap.c @@ -0,0 +1,11 @@ +#include QMK_KEYBOARD_H + +const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { + [0] = LAYOUT_numpad_4x4( + KC_P7, KC_P8, KC_P9, KC_PPLS, \ + KC_P4, KC_P5, KC_P6, \ + KC_P1, KC_P2, KC_P3, KC_PENT, \ + KC_P0, KC_PDOT \ + ), + +}; diff --git a/layouts/default/numpad_4x4/layout.json b/layouts/default/numpad_4x4/layout.json new file mode 100644 index 0000000000..a39ed6f46d --- /dev/null +++ b/layouts/default/numpad_4x4/layout.json @@ -0,0 +1,4 @@ +["","","",{h:2},""], +["","",""], +["","","",{h:2},""], +[{w:2},"",""] diff --git a/layouts/default/numpad_4x4/readme.md b/layouts/default/numpad_4x4/readme.md new file mode 100644 index 0000000000..2543da6345 --- /dev/null +++ b/layouts/default/numpad_4x4/readme.md @@ -0,0 +1,3 @@ +# numpad_4x4 + + LAYOUT_numpad_4x4
\ No newline at end of file |