summaryrefslogtreecommitdiff
path: root/keyboards/montex/keymaps
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 /keyboards/montex/keymaps
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 'keyboards/montex/keymaps')
-rw-r--r--keyboards/montex/keymaps/default/keymap.c67
1 files changed, 67 insertions, 0 deletions
diff --git a/keyboards/montex/keymaps/default/keymap.c b/keyboards/montex/keymaps/default/keymap.c
new file mode 100644
index 0000000000..a15c576cbb
--- /dev/null
+++ b/keyboards/montex/keymaps/default/keymap.c
@@ -0,0 +1,67 @@
+/* Copyright 2021 NachoxMacho
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation, either version 2 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program. If not, see &lt;http://www.gnu.org/licenses/&gt;.
+*/
+
+#include QMK_KEYBOARD_H
+
+const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
+ /*
+ * ┌───┌───┬───┬───┬───┐
+ * │ ` │Esc│Tab│MO1│Bsp│
+ * ├───┼───┼───┼───┼───┤
+ * │ , │Num│ / │ * │ - │
+ * ├───┼───┼───┼───┼───┤
+ * │Gui│ 7 │ 8 │ 9 │ │
+ * ├───┼───┼───┼───┤ + │
+ * │Alt│ 4 │ 5 │ 6 │ │
+ * ├───┼───┼───┼───┼───┤
+ * │Shi│ 1 │ 2 │ 3 │ │
+ * ├───┼───┴───┼───┤Ent│
+ * │Ctr│ 0 │ . │ │
+ * └───┴───────┴───┴───┘
+ */
+ [0] = LAYOUT_numpad_6x5(
+ KC_GRAVE, KC_ESC, KC_TAB, MO(1), KC_BSPC,
+ KC_COMMA, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS,
+ KC_LGUI, KC_P7, KC_P8, KC_P9,
+ KC_LALT, KC_P4, KC_P5, KC_P6, KC_PPLS,
+ KC_LSHIFT, KC_P1, KC_P2, KC_P3,
+ KC_LCTRL, KC_P0, KC_PDOT, KC_PENT
+ ),
+
+ /*
+ * ┌───┌───┐───┬───┬───┐
+ * │Rst│ ` │Tab│MO1│Bsp│
+ * ├───┼───┘───┼───┼───┤
+ * │ , │Num│ / │ * │ - │
+ * ├───┼───┼───┼───┼───┤
+ * │Gui│Hom│ ↑ │PgU│ │
+ * ├───┼───┼───┼───┤ + │
+ * │Alt│ ← │ │ → │ │
+ * ├───┼───┼───┼───┤───┤
+ * │Shi│End│ ↓ │PgD│ │
+ * ├───┼───┴───┼───┤Ent│
+ * │Ctr│Insert │Del│ │
+ * └───┴───────┴───┘───┘
+ */
+ [1] = LAYOUT_numpad_6x5(
+ RESET, _______, _______, _______, _______,
+ _______, _______, _______, _______, _______,
+ _______, KC_HOME, KC_UP, KC_PGUP,
+ _______, KC_LEFT, XXXXXXX, KC_RGHT, _______,
+ _______, KC_END, KC_DOWN, KC_PGDN,
+ _______, KC_INS, KC_DEL, _______
+ )
+};