diff options
| author | AnthonyL <mehoron@yahoo.com> | 2021-07-13 13:11:02 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-13 10:11:02 -0700 |
| commit | 3cd6cb65bc243e471072fd41f37fba11ddd19fd5 (patch) | |
| tree | a69515c627c0bc7aea438c42e591d8af1b11d727 | |
| parent | 64e6ba02115ae94708ee86ecadb39f6cf3cfb5a5 (diff) | |
| download | qmk_firmware-3cd6cb65bc243e471072fd41f37fba11ddd19fd5.tar.gz qmk_firmware-3cd6cb65bc243e471072fd41f37fba11ddd19fd5.zip | |
[Keyboard] Montex add VIA support and keymap. (#13488)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Anthony Lowery <anthony.lowery@unity3d.com>
| -rw-r--r-- | keyboards/montex/config.h | 2 | ||||
| -rw-r--r-- | keyboards/montex/keymaps/via/keymap.c | 52 | ||||
| -rw-r--r-- | keyboards/montex/keymaps/via/rules.mk | 2 |
3 files changed, 55 insertions, 1 deletions
diff --git a/keyboards/montex/config.h b/keyboards/montex/config.h index bad7b355f..2321ce364 100644 --- a/keyboards/montex/config.h +++ b/keyboards/montex/config.h | |||
| @@ -19,7 +19,7 @@ | |||
| 19 | #include "config_common.h" | 19 | #include "config_common.h" |
| 20 | 20 | ||
| 21 | /* USB Device descriptor parameter */ | 21 | /* USB Device descriptor parameter */ |
| 22 | #define VENDOR_ID 0xFEED | 22 | #define VENDOR_ID 0x6964 |
| 23 | #define PRODUCT_ID 0x6060 | 23 | #define PRODUCT_ID 0x6060 |
| 24 | #define DEVICE_VER 0x0001 | 24 | #define DEVICE_VER 0x0001 |
| 25 | #define MANUFACTURER Idobao | 25 | #define MANUFACTURER Idobao |
diff --git a/keyboards/montex/keymaps/via/keymap.c b/keyboards/montex/keymaps/via/keymap.c new file mode 100644 index 000000000..eb7875dc3 --- /dev/null +++ b/keyboards/montex/keymaps/via/keymap.c | |||
| @@ -0,0 +1,52 @@ | |||
| 1 | /* Copyright 2021 Tybera | ||
| 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 <http://www.gnu.org/licenses/>. | ||
| 15 | */ | ||
| 16 | |||
| 17 | #include QMK_KEYBOARD_H | ||
| 18 | |||
| 19 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 20 | [0] = LAYOUT_numpad_6x5( | ||
| 21 | KC_GRAVE, KC_ESC, KC_TAB, MO(1), KC_BSPC, | ||
| 22 | KC_COMMA, KC_NLCK, KC_PSLS, KC_PAST, KC_PMNS, | ||
| 23 | KC_LGUI, KC_P7, KC_P8, KC_P9, | ||
| 24 | KC_LALT, KC_P4, KC_P5, KC_P6, KC_PPLS, | ||
| 25 | KC_LSHIFT, KC_P1, KC_P2, KC_P3, | ||
| 26 | KC_LCTRL, KC_P0, KC_PDOT, KC_PENT | ||
| 27 | ), | ||
| 28 | [1] = LAYOUT_numpad_6x5( | ||
| 29 | RESET, _______, _______, _______, _______, | ||
| 30 | _______, _______, _______, _______, _______, | ||
| 31 | _______, KC_HOME, KC_UP, KC_PGUP, | ||
| 32 | _______, KC_LEFT, XXXXXXX, KC_RGHT, _______, | ||
| 33 | _______, KC_END, KC_DOWN, KC_PGDN, | ||
| 34 | _______, KC_INS, KC_DEL, _______ | ||
| 35 | ), | ||
| 36 | [2] = LAYOUT_numpad_6x5( | ||
| 37 | _______, _______, _______, _______, _______, | ||
| 38 | _______, _______, _______, _______, _______, | ||
| 39 | _______, _______, _______, _______, | ||
| 40 | _______, _______, _______, _______, _______, | ||
| 41 | _______, _______, _______, _______, | ||
| 42 | _______, _______, _______, _______ | ||
| 43 | ), | ||
| 44 | [3] = LAYOUT_numpad_6x5( | ||
| 45 | _______, _______, _______, _______, _______, | ||
| 46 | _______, _______, _______, _______, _______, | ||
| 47 | _______, _______, _______, _______, | ||
| 48 | _______, _______, _______, _______, _______, | ||
| 49 | _______, _______, _______, _______, | ||
| 50 | _______, _______, _______, _______ | ||
| 51 | ) | ||
| 52 | }; | ||
diff --git a/keyboards/montex/keymaps/via/rules.mk b/keyboards/montex/keymaps/via/rules.mk new file mode 100644 index 000000000..ca9fed0e6 --- /dev/null +++ b/keyboards/montex/keymaps/via/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | LTO_ENABLE = yes | ||
| 2 | VIA_ENABLE = yes | ||
