aboutsummaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorRob Owens <rtowens17@gmail.com>2021-07-03 02:58:13 -0500
committerGitHub <noreply@github.com>2021-07-03 00:58:13 -0700
commitc55bb3d4787b2801ac447d8051cf1435f7e87f64 (patch)
tree088e6e41e8be99ca686e6703d4afa743dac064b5 /layouts
parent2af5d493e32dffe89d8b4908905d57a42aa47e53 (diff)
downloadqmk_firmware-c55bb3d4787b2801ac447d8051cf1435f7e87f64.tar.gz
qmk_firmware-c55bb3d4787b2801ac447d8051cf1435f7e87f64.zip
[Keyboard] Add support for Idobao Montex (#13214)
Co-authored-by: Drashna Jaelre <drashna@live.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default/numpad_6x5/default_numpad_6x5/keymap.c67
-rw-r--r--layouts/default/numpad_6x5/info.json45
-rw-r--r--layouts/default/numpad_6x5/layout.json6
-rw-r--r--layouts/default/numpad_6x5/readme.md3
4 files changed, 121 insertions, 0 deletions
diff --git a/layouts/default/numpad_6x5/default_numpad_6x5/keymap.c b/layouts/default/numpad_6x5/default_numpad_6x5/keymap.c
new file mode 100644
index 000000000..27ef07d19
--- /dev/null
+++ b/layouts/default/numpad_6x5/default_numpad_6x5/keymap.c
@@ -0,0 +1,67 @@
1/* Copyright 2021 NachoxMacho
2*
3* This program is free software: you can redistribute it and/or modify
4* it under the terms of the GNU General Public License as published by
5* the Free Software Foundation, either version 2 of the License, or
6* (at your option) any later version.
7*
8* This program is distributed in the hope that it will be useful,
9* but WITHOUT ANY WARRANTY; without even the implied warranty of
10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11* GNU General Public License for more details.
12*
13* You should have received a copy of the GNU General Public License
14* along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.
15*/
16
17#include QMK_KEYBOARD_H
18
19const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
20 /*
21 * ┌───┌───┬───┬───┬───┐
22 * │ ` │Esc│Tab│MO1│Bsp│
23 * ├───┼───┼───┼───┼───┤
24 * │ , │Num│ / │ * │ - │
25 * ├───┼───┼───┼───┼───┤
26 * │Gui│ 7 │ 8 │ 9 │ │
27 * ├───┼───┼───┼───┤ + │
28 * │Alt│ 4 │ 5 │ 6 │ │
29 * ├───┼───┼───┼───┼───┤
30 * │Shi│ 1 │ 2 │ 3 │ │
31 * ├───┼───┴───┼───┤Ent│
32 * │Ctr│ 0 │ . │ │
33 * └───┴───────┴───┴───┘
34 */
35 [0] = LAYOUT_numpad_6x5(
36 KC_GRAVE, KC_ESC, KC_TAB, MO(1), KC_BSPC,
37 KC_COMMA, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
38 KC_LGUI, KC_P7, KC_P8, KC_P9,
39 KC_LALT, KC_P4, KC_P5, KC_P6, KC_PPLS,
40 KC_LSHIFT, KC_P1, KC_P2, KC_P3,
41 KC_LCTRL, KC_P0, KC_PDOT, KC_PENT
42 ),
43
44 /*
45 * ┌───┌───┐───┬───┬───┐
46 * │ ` │Rst│Tab│MO1│Bsp│
47 * ├───┼───┘───┼───┼───┤
48 * │ , │Num│ / │ * │ - │
49 * ├───┼───┼───┼───┼───┤
50 * │Gui│Hom│ ↑ │PgU│ │
51 * ├───┼───┼───┼───┤ + │
52 * │Alt│ ← │ │ → │ │
53 * ├───┼───┼───┼───┤───┤
54 * │Shi│End│ ↓ │PgD│ │
55 * ├───┼───┴───┼───┤Ent│
56 * │Ctr│Insert │Del│ │
57 * └───┴───────┴───┘───┘
58 */
59 [1] = LAYOUT_numpad_6x5(
60 _______, RESET, _______, _______, _______,
61 _______, _______, _______, _______, _______,
62 _______, KC_HOME, KC_UP, KC_PGUP,
63 _______, KC_LEFT, XXXXXXX, KC_RGHT, _______,
64 _______, KC_END, KC_DOWN, KC_PGDN,
65 _______, KC_INS, KC_DEL, _______
66 )
67};
diff --git a/layouts/default/numpad_6x5/info.json b/layouts/default/numpad_6x5/info.json
new file mode 100644
index 000000000..eff9614c3
--- /dev/null
+++ b/layouts/default/numpad_6x5/info.json
@@ -0,0 +1,45 @@
1{
2 "keyboard_name": "6x5 number pad layout",
3 "url": "",
4 "maintainer": "qmk",
5 "width": 5,
6 "height": 6,
7 "layouts": {
8 "LAYOUT_numpad_6x5": {
9 "layout": [
10 {"x":0, "y":0},
11 {"x":1, "y":0},
12 {"x":2, "y":0},
13 {"x":3, "y":0},
14 {"x":4, "y":0},
15
16 {"x":0, "y":1},
17 {"x":1, "y":1},
18 {"x":2, "y":1},
19 {"x":3, "y":1},
20 {"x":4, "y":1},
21
22 {"x":0, "y":2},
23 {"x":1, "y":2},
24 {"x":2, "y":2},
25 {"x":3, "y":2},
26
27 {"x":0, "y":3},
28 {"x":1, "y":3},
29 {"x":2, "y":3},
30 {"x":3, "y":3},
31 {"x":4, "y":2, "h":2},
32
33 {"x":0, "y":4},
34 {"x":1, "y":4},
35 {"x":2, "y":4},
36 {"x":3, "y":4},
37
38 {"x":0, "y":5},
39 {"x":1, "y":5, "w":2},
40 {"x":3, "y":5},
41 {"x":4, "y":4, "h":2}
42 ]
43 }
44 }
45}
diff --git a/layouts/default/numpad_6x5/layout.json b/layouts/default/numpad_6x5/layout.json
new file mode 100644
index 000000000..4204c99c5
--- /dev/null
+++ b/layouts/default/numpad_6x5/layout.json
@@ -0,0 +1,6 @@
1[{a:7},"","","","",""],
2["","","","",""],
3["","","","",{h:2},""],
4["","","",""],
5["","","","",{h:2},""],
6["",{w:2},"",""]
diff --git a/layouts/default/numpad_6x5/readme.md b/layouts/default/numpad_6x5/readme.md
new file mode 100644
index 000000000..0c6d0959e
--- /dev/null
+++ b/layouts/default/numpad_6x5/readme.md
@@ -0,0 +1,3 @@
1# numpad_6x5
2
3 LAYOUT_numpad_6x5