diff options
| -rw-r--r-- | keyboards/mntre/config.h | 101 | ||||
| -rw-r--r-- | keyboards/mntre/info.json | 98 | ||||
| -rw-r--r-- | keyboards/mntre/keymaps/default/keymap.c | 31 | ||||
| -rw-r--r-- | keyboards/mntre/keymaps/default/readme.md | 19 | ||||
| -rw-r--r-- | keyboards/mntre/mntre.c | 19 | ||||
| -rw-r--r-- | keyboards/mntre/mntre.h | 30 | ||||
| -rw-r--r-- | keyboards/mntre/readme.md | 27 | ||||
| -rw-r--r-- | keyboards/mntre/rules.mk | 21 |
8 files changed, 346 insertions, 0 deletions
diff --git a/keyboards/mntre/config.h b/keyboards/mntre/config.h new file mode 100644 index 000000000..9ee3d3f27 --- /dev/null +++ b/keyboards/mntre/config.h | |||
| @@ -0,0 +1,101 @@ | |||
| 1 | // Copyright 2021 Cedric Vincent (@cdc-mkb) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #include "config_common.h" | ||
| 7 | |||
| 8 | /* USB Device descriptor parameter */ | ||
| 9 | #define VENDOR_ID 0xFEED | ||
| 10 | #define PRODUCT_ID 0x1302 | ||
| 11 | #define DEVICE_VER 0x0002 | ||
| 12 | #define MANUFACTURER MNT Research GmbH | ||
| 13 | #define PRODUCT MNT Reform USB Keyboard (Standalone) | ||
| 14 | |||
| 15 | /* key matrix size */ | ||
| 16 | #define MATRIX_ROWS 6 | ||
| 17 | #define MATRIX_COLS 14 | ||
| 18 | |||
| 19 | /* | ||
| 20 | * Keyboard Matrix Assignments | ||
| 21 | * | ||
| 22 | * Change this to how you wired your keyboard | ||
| 23 | * COLS: AVR pins used for columns, left to right | ||
| 24 | * ROWS: AVR pins used for rows, top to bottom | ||
| 25 | * DIODE_DIRECTION: COL2ROW = COL = Anode (+), ROW = Cathode (-, marked on diode) | ||
| 26 | * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) | ||
| 27 | * | ||
| 28 | */ | ||
| 29 | #define MATRIX_ROW_PINS { B6, B5, B4, D7, D6, D4 } | ||
| 30 | #define MATRIX_COL_PINS { D5, F7, E6, C7, B3, B2, B1, B0, F0, F1, F4, F5, F6, C6 } | ||
| 31 | #define UNUSED_PINS | ||
| 32 | |||
| 33 | /* COL2ROW, ROW2COL */ | ||
| 34 | #define DIODE_DIRECTION COL2ROW | ||
| 35 | |||
| 36 | #define BACKLIGHT_PIN B7 | ||
| 37 | #define BACKLIGHT_CUSTOM_RESOLUTION 0x400 | ||
| 38 | #define BACKLIGHT_LIMIT_VAL 84 | ||
| 39 | //#define BACKLIGHT_LEVELS 3 | ||
| 40 | //#define BACKLIGHT_BREATHING | ||
| 41 | |||
| 42 | /* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ | ||
| 43 | #define DEBOUNCE 5 | ||
| 44 | |||
| 45 | /* define if matrix has ghost (lacks anti-ghosting diodes) */ | ||
| 46 | //#define MATRIX_HAS_GHOST | ||
| 47 | |||
| 48 | /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ | ||
| 49 | #define LOCKING_SUPPORT_ENABLE | ||
| 50 | /* Locking resynchronize hack */ | ||
| 51 | #define LOCKING_RESYNC_ENABLE | ||
| 52 | |||
| 53 | /* If defined, GRAVE_ESC will always act as ESC when CTRL is held. | ||
| 54 | * This is useful for the Windows task manager shortcut (ctrl+shift+esc). | ||
| 55 | */ | ||
| 56 | //#define GRAVE_ESC_CTRL_OVERRIDE | ||
| 57 | |||
| 58 | /* | ||
| 59 | * Force NKRO | ||
| 60 | * | ||
| 61 | * Force NKRO (nKey Rollover) to be enabled by default, regardless of the saved | ||
| 62 | * state in the bootmagic EEPROM settings. (Note that NKRO must be enabled in the | ||
| 63 | * makefile for this to work.) | ||
| 64 | * | ||
| 65 | * If forced on, NKRO can be disabled via magic key (default = LShift+RShift+N) | ||
| 66 | * until the next keyboard reset. | ||
| 67 | * | ||
| 68 | * NKRO may prevent your keystrokes from being detected in the BIOS, but it is | ||
| 69 | * fully operational during normal computer usage. | ||
| 70 | * | ||
| 71 | * For a less heavy-handed approach, enable NKRO via magic key (LShift+RShift+N) | ||
| 72 | * or via bootmagic (hold SPACE+N while plugging in the keyboard). Once set by | ||
| 73 | * bootmagic, NKRO mode will always be enabled until it is toggled again during a | ||
| 74 | * power-up. | ||
| 75 | * | ||
| 76 | */ | ||
| 77 | //#define FORCE_NKRO | ||
| 78 | |||
| 79 | /* | ||
| 80 | * Feature disable options | ||
| 81 | * These options are also useful to firmware size reduction. | ||
| 82 | */ | ||
| 83 | |||
| 84 | /* disable debug print */ | ||
| 85 | //#define NO_DEBUG | ||
| 86 | |||
| 87 | /* disable print */ | ||
| 88 | //#define NO_PRINT | ||
| 89 | |||
| 90 | /* disable action features */ | ||
| 91 | //#define NO_ACTION_LAYER | ||
| 92 | //#define NO_ACTION_TAPPING | ||
| 93 | //#define NO_ACTION_ONESHOT | ||
| 94 | |||
| 95 | /* disable these deprecated features by default */ | ||
| 96 | #define NO_ACTION_MACRO | ||
| 97 | #define NO_ACTION_FUNCTION | ||
| 98 | |||
| 99 | /* Bootmagic Lite key configuration */ | ||
| 100 | //#define BOOTMAGIC_LITE_ROW 0 | ||
| 101 | //#define BOOTMAGIC_LITE_COLUMN 0 | ||
diff --git a/keyboards/mntre/info.json b/keyboards/mntre/info.json new file mode 100644 index 000000000..05e4bd4fd --- /dev/null +++ b/keyboards/mntre/info.json | |||
| @@ -0,0 +1,98 @@ | |||
| 1 | { | ||
| 2 | "keyboard_name": "MNT Reform USB Keyboard (Standalone)", | ||
| 3 | "url": "https://shop.mntmn.com/products/mnt-reform-usb-keyboard-standalone", | ||
| 4 | "maintainer": "cdc-mkb", | ||
| 5 | "layouts": { | ||
| 6 | "LAYOUT": { | ||
| 7 | "layout": [ | ||
| 8 | {"label": "ESC", "x": 0, "y": 0}, | ||
| 9 | {"label": "F1", "x": 1, "y": 0}, | ||
| 10 | {"label": "F2", "x": 2, "y": 0}, | ||
| 11 | {"label": "F3", "x": 3, "y": 0}, | ||
| 12 | {"label": "F4", "x": 4, "y": 0}, | ||
| 13 | {"label": "F5", "x": 5, "y": 0}, | ||
| 14 | {"label": "F6", "x": 6, "y": 0}, | ||
| 15 | {"label": "F7", "x": 7, "y": 0}, | ||
| 16 | {"label": "F8", "x": 8, "y": 0}, | ||
| 17 | {"label": "F9", "x": 9, "y": 0}, | ||
| 18 | {"label": "F10", "x": 10, "y": 0}, | ||
| 19 | {"label": "F11", "x": 11, "y": 0}, | ||
| 20 | {"label": "F12", "x": 12, "y": 0}, | ||
| 21 | {"label": "NO", "x": 13, "y": 0, "w": 1.5}, | ||
| 22 | |||
| 23 | {"label": "GRAVE", "x": 0, "y": 1}, | ||
| 24 | {"label": "1", "x": 1, "y": 1}, | ||
| 25 | {"label": "2", "x": 2, "y": 1}, | ||
| 26 | {"label": "3", "x": 3, "y": 1}, | ||
| 27 | {"label": "4", "x": 4, "y": 1}, | ||
| 28 | {"label": "5", "x": 5, "y": 1}, | ||
| 29 | {"label": "6", "x": 6, "y": 1}, | ||
| 30 | {"label": "7", "x": 7, "y": 1}, | ||
| 31 | {"label": "8", "x": 8, "y": 1}, | ||
| 32 | {"label": "9", "x": 9, "y": 1}, | ||
| 33 | {"label": "0", "x": 10, "y": 1}, | ||
| 34 | {"label": "MINUS", "x": 11, "y": 1}, | ||
| 35 | {"label": "EQUAL", "x": 12, "y": 1}, | ||
| 36 | {"label": "BSPACE", "x": 13, "y": 1, "w": 1.5}, | ||
| 37 | |||
| 38 | {"label": "TAB", "x": 0, "y": 2, "w": 1.5}, | ||
| 39 | {"label": "Q", "x": 1.5, "y": 2}, | ||
| 40 | {"label": "W", "x": 2.5, "y": 2}, | ||
| 41 | {"label": "E", "x": 3.5, "y": 2}, | ||
| 42 | {"label": "R", "x": 4.5, "y": 2}, | ||
| 43 | {"label": "T", "x": 5.5, "y": 2}, | ||
| 44 | {"label": "Y", "x": 6.5, "y": 2}, | ||
| 45 | {"label": "U", "x": 7.5, "y": 2}, | ||
| 46 | {"label": "I", "x": 8.5, "y": 2}, | ||
| 47 | {"label": "O", "x": 9.5, "y": 2}, | ||
| 48 | {"label": "P", "x": 10.5, "y": 2}, | ||
| 49 | {"label": "LBRACKET", "x": 11.5, "y": 2}, | ||
| 50 | {"label": "RBRACKET", "x": 12.5, "y": 2}, | ||
| 51 | {"label": "BSLASH", "x": 13.5, "y": 2}, | ||
| 52 | |||
| 53 | {"label": "LCTRL", "x": 0, "y": 3}, | ||
| 54 | {"label": "APP", "x": 1, "y": 3}, | ||
| 55 | {"label": "A", "x": 2, "y": 3}, | ||
| 56 | {"label": "S", "x": 3, "y": 3}, | ||
| 57 | {"label": "D", "x": 4, "y": 3}, | ||
| 58 | {"label": "F", "x": 5, "y": 3}, | ||
| 59 | {"label": "G", "x": 6, "y": 3}, | ||
| 60 | {"label": "H", "x": 7, "y": 3}, | ||
| 61 | {"label": "J", "x": 8, "y": 3}, | ||
| 62 | {"label": "K", "x": 9, "y": 3}, | ||
| 63 | {"label": "L", "x": 10, "y": 3}, | ||
| 64 | {"label": "SCOLON", "x": 11, "y": 3}, | ||
| 65 | {"label": "QUOTE", "x": 12, "y": 3}, | ||
| 66 | {"label": "ENTER", "x": 13, "y": 3, "w": 1.5}, | ||
| 67 | |||
| 68 | {"label": "LSHIFT", "x": 0, "y": 4, "w": 1.5}, | ||
| 69 | {"label": "DEL", "x": 1.5, "y": 4}, | ||
| 70 | {"label": "Z", "x": 2.5, "y": 4}, | ||
| 71 | {"label": "X", "x": 3.5, "y": 4}, | ||
| 72 | {"label": "C", "x": 4.5, "y": 4}, | ||
| 73 | {"label": "V", "x": 5.5, "y": 4}, | ||
| 74 | {"label": "B", "x": 6.5, "y": 4}, | ||
| 75 | {"label": "N", "x": 7.5, "y": 4}, | ||
| 76 | {"label": "M", "x": 8.5, "y": 4}, | ||
| 77 | {"label": "COMMA", "x": 9.5, "y": 4}, | ||
| 78 | {"label": "DOT", "x": 10.5, "y": 4}, | ||
| 79 | {"label": "SLASH", "x": 11.5, "y": 4}, | ||
| 80 | {"label": "UP", "x": 12.5, "y": 4}, | ||
| 81 | {"label": "RSHIFT", "x": 13.5, "y": 4}, | ||
| 82 | |||
| 83 | {"label": "RGUI", "x": 0, "y": 5, "w": 1.5}, | ||
| 84 | {"label": "LGUI", "x": 1.5, "y": 5, "w": 1.5}, | ||
| 85 | {"label": "RCTRL", "x": 3, "y": 5, "w": 1.5}, | ||
| 86 | {"label": "SPACE", "x": 4.5, "y": 5, "w": 1.5}, | ||
| 87 | {"label": "LALT", "x": 6, "y": 5}, | ||
| 88 | {"label": "RALT", "x": 7, "y": 5}, | ||
| 89 | {"label": "SPACE", "x": 8, "y": 5, "w": 1.5}, | ||
| 90 | {"label": "PGUP", "x": 9.5, "y": 5}, | ||
| 91 | {"label": "PGDOWN", "x": 10.5, "y": 5}, | ||
| 92 | {"label": "LEFT", "x": 11.5, "y": 5}, | ||
| 93 | {"label": "DOWN", "x": 12.5, "y": 5}, | ||
| 94 | {"label": "RIGHT", "x": 13.5, "y": 5}, | ||
| 95 | ] | ||
| 96 | } | ||
| 97 | } | ||
| 98 | } | ||
diff --git a/keyboards/mntre/keymaps/default/keymap.c b/keyboards/mntre/keymaps/default/keymap.c new file mode 100644 index 000000000..4dcdebe31 --- /dev/null +++ b/keyboards/mntre/keymaps/default/keymap.c | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | // Copyright 2021 Cedric Vincent (@cdc-mkb) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include QMK_KEYBOARD_H | ||
| 5 | |||
| 6 | // Defines names for use in layer keycodes and the keymap | ||
| 7 | enum layer_names { | ||
| 8 | _BASE, | ||
| 9 | _FN, | ||
| 10 | }; | ||
| 11 | |||
| 12 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
| 13 | /* Base */ | ||
| 14 | [_BASE] = LAYOUT( | ||
| 15 | KC_ESC, KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, MO(_FN), | ||
| 16 | KC_GRAVE, KC_1, KC_2, KC_3, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, KC_MINUS, KC_EQUAL, KC_BSPACE, | ||
| 17 | KC_TAB, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_LBRACKET, KC_RBRACKET, KC_BSLASH, | ||
| 18 | KC_LCTRL, KC_APP, KC_A, KC_S, KC_D, KC_F, KC_G, KC_H, KC_J, KC_K, KC_L, KC_SCOLON, KC_QUOTE, KC_ENTER, | ||
| 19 | KC_LSHIFT, KC_DEL, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMMA, KC_DOT, KC_SLASH, KC_UP, KC_RSHIFT, | ||
| 20 | KC_RGUI, KC_LGUI, KC_RCTRL, KC_SPACE, KC_LALT, KC_RALT, KC_SPACE, KC_PGUP, KC_PGDOWN, KC_LEFT, KC_DOWN, KC_RIGHT | ||
| 21 | ), | ||
| 22 | |||
| 23 | [_FN] = LAYOUT( | ||
| 24 | _______, BL_DEC, BL_INC, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 25 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 26 | _______, _______, _______, _______, RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 27 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 28 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
| 29 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______ | ||
| 30 | ), | ||
| 31 | }; | ||
diff --git a/keyboards/mntre/keymaps/default/readme.md b/keyboards/mntre/keymaps/default/readme.md new file mode 100644 index 000000000..fecdb68ea --- /dev/null +++ b/keyboards/mntre/keymaps/default/readme.md | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | # Default layout of MNT Reform USB Keyboard (Standalone) | ||
| 2 | |||
| 3 | This is exactly the same layout as in the original firmware. | ||
| 4 | Backlight level can be decreased and increased using Fn+F1 and Fn+F2 | ||
| 5 | respectively. | ||
| 6 | |||
| 7 | ┏━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━┯━━━━━━━━━━┓ | ||
| 8 | ┃ Esc │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │ Fn ┃ | ||
| 9 | ┠──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┼──────────┨ | ||
| 10 | ┃ `~ │ 1! │ 2@ │ 3# │ 4$ │ 5% │ 6^ │ 7& │ 8* │ 9( │ 0) │ -_ │ =+ │ Backspace┃ | ||
| 11 | ┠──────┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──────┨ | ||
| 12 | ┃ Tab │ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │ [{ │ ]} │ \| ┃ | ||
| 13 | ┠──────┬───┴──┬───┴──┬───┴──┬───┴──┬───┴──┬───┴──┬───┴──┬───┴──┬───┴──┬───┴──┬───┴──┬───┴──┬───┴──────┨ | ||
| 14 | ┃ LCtrl│ App │ A │ S │ D │ F │ G │ H │ J │ K │ L │ ;: │ '" │ Enter ┃ | ||
| 15 | ┠──────┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──┴───┬──────┨ | ||
| 16 | ┃ LShift │ Del │ Z │ X │ C │ V │ B │ N │ M │ ,< │ .> │ /? │ Up │RShift┃ | ||
| 17 | ┠──────────┼──────┴──┬───┴──────┼──────┴──┬───┴──┬───┴──┬───┴──────┼──────┼──────┼──────┼──────┼──────┨ | ||
| 18 | ┃ RGUI │ LGUI │ RCtrl │ Space │ LAlt │ RAlt │ Space │ PgUp │ PgDn │ Left │ Down │ Right┃ | ||
| 19 | ┗━━━━━━━━━━┷━━━━━━━━━┷━━━━━━━━━━┷━━━━━━━━━┷━━━━━━┷━━━━━━┷━━━━━━━━━━┷━━━━━━┷━━━━━━┷━━━━━━┷━━━━━━┷━━━━━━┛ | ||
diff --git a/keyboards/mntre/mntre.c b/keyboards/mntre/mntre.c new file mode 100644 index 000000000..c21070b23 --- /dev/null +++ b/keyboards/mntre/mntre.c | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | // Copyright 2021 Cedric Vincent (@cdc-mkb) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #include "mntre.h" | ||
| 5 | |||
| 6 | #ifdef OLED_ENABLE | ||
| 7 | bool oled_task_kb(void) { | ||
| 8 | if (!oled_task_user()) { return false; } | ||
| 9 | |||
| 10 | static const char PROGMEM qmk_logo[] = { | ||
| 11 | 0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8A, 0x8B, 0x8C, 0x8D, 0x8E, 0x8F, 0x90, 0x91, 0x92, 0x93, 0x94, | ||
| 12 | 0xA0, 0xA1, 0xA2, 0xA3, 0xA4, 0xA5, 0xA6, 0xA7, 0xA8, 0xA9, 0xAA, 0xAB, 0xAC, 0xAD, 0xAE, 0xAF, 0xB0, 0xB1, 0xB2, 0xB3, 0xB4, | ||
| 13 | 0xC0, 0xC1, 0xC2, 0xC3, 0xC4, 0xC5, 0xC6, 0xC7, 0xC8, 0xC9, 0xCA, 0xCB, 0xCC, 0xCD, 0xCE, 0xCF, 0xD0, 0xD1, 0xD2, 0xD3, 0xD4, 0x00 | ||
| 14 | }; | ||
| 15 | |||
| 16 | oled_write_P(qmk_logo, false); | ||
| 17 | return true; | ||
| 18 | } | ||
| 19 | #endif | ||
diff --git a/keyboards/mntre/mntre.h b/keyboards/mntre/mntre.h new file mode 100644 index 000000000..8a4811442 --- /dev/null +++ b/keyboards/mntre/mntre.h | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | // Copyright 2021 Cedric Vincent (@cdc-mkb) | ||
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | ||
| 3 | |||
| 4 | #pragma once | ||
| 5 | |||
| 6 | #include "quantum.h" | ||
| 7 | |||
| 8 | /* This is a shortcut to help you visually see your layout. | ||
| 9 | * | ||
| 10 | * The first section contains all of the arguments representing the physical | ||
| 11 | * layout of the board and position of the keys. | ||
| 12 | * | ||
| 13 | * The second converts the arguments into a two-dimensional array which | ||
| 14 | * represents the switch matrix. | ||
| 15 | */ | ||
| 16 | #define LAYOUT( \ | ||
| 17 | k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, \ | ||
| 18 | k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, \ | ||
| 19 | k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, \ | ||
| 20 | k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d, \ | ||
| 21 | k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d, \ | ||
| 22 | k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k5a, k5b \ | ||
| 23 | ) { \ | ||
| 24 | { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d }, \ | ||
| 25 | { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d }, \ | ||
| 26 | { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d }, \ | ||
| 27 | { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3d }, \ | ||
| 28 | { k40, k41, k42, k43, k44, k45, k46, k47, k48, k49, k4a, k4b, k4c, k4d }, \ | ||
| 29 | { k50, k51, k52, k53, k54, k55, k56, k57, k58, k59, k5a, k5b, KC_NO, KC_NO } \ | ||
| 30 | } | ||
diff --git a/keyboards/mntre/readme.md b/keyboards/mntre/readme.md new file mode 100644 index 000000000..4c827aeb2 --- /dev/null +++ b/keyboards/mntre/readme.md | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | # MNT Reform USB Keyboard (Standalone) | ||
| 2 | |||
| 3 |  | ||
| 4 | |||
| 5 | A compact and slim mechanical keyboard designed for comfort and portability. | ||
| 6 | |||
| 7 | * Keyboard QMK port Maintainer: [cdc-mkb](https://github.com/cdc-mkb) | ||
| 8 | * Hardware Supported: MNT Reform USB Keyboard (Standalone) | ||
| 9 | * Hardware Availability: https://shop.mntmn.com/products/mnt-reform-usb-keyboard-standalone | ||
| 10 | |||
| 11 | Make example for this keyboard (after setting up your build environment): | ||
| 12 | |||
| 13 | make mntre:default | ||
| 14 | |||
| 15 | Flashing example for this keyboard: | ||
| 16 | |||
| 17 | make mntre:default:flash | ||
| 18 | |||
| 19 | See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_tools) and the [make instructions](https://docs.qmk.fm/#/getting_started_make_guide) for more information. Brand new to QMK? Start with our [Complete Newbs Guide](https://docs.qmk.fm/#/newbs). | ||
| 20 | |||
| 21 | ## Bootloader | ||
| 22 | |||
| 23 | Enter the bootloader in 3 ways: | ||
| 24 | |||
| 25 | * **Bootmagic reset**: Hold down the "Esc" key and plug in the keyboard | ||
| 26 | * **Keycode in layout**: Press the key mapped to `RESET` if it is available (default: "Circle" + "R") | ||
| 27 | * **Physical reset button**: Remove the keyboard’s frame and toggle the programming DIP switch SW84 on the keyboard to “ON”. Then press the reset button SW83. | ||
diff --git a/keyboards/mntre/rules.mk b/keyboards/mntre/rules.mk new file mode 100644 index 000000000..0159e4da7 --- /dev/null +++ b/keyboards/mntre/rules.mk | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | # MCU name | ||
| 2 | MCU = atmega32u4 | ||
| 3 | |||
| 4 | # Bootloader selection | ||
| 5 | BOOTLOADER = atmel-dfu | ||
| 6 | |||
| 7 | # Build Options | ||
| 8 | # change yes to no to disable | ||
| 9 | # | ||
| 10 | BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite | ||
| 11 | MOUSEKEY_ENABLE = no # Mouse keys | ||
| 12 | EXTRAKEY_ENABLE = no # Audio control and System control | ||
| 13 | CONSOLE_ENABLE = no # Console for debug | ||
| 14 | COMMAND_ENABLE = no # Commands for debug and configuration | ||
| 15 | NKRO_ENABLE = no # Enable N-Key Rollover | ||
| 16 | BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality | ||
| 17 | RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow | ||
| 18 | AUDIO_ENABLE = no # Audio output | ||
| 19 | OLED_ENABLE = yes | ||
| 20 | BACKLIGHT_DRIVER = pwm | ||
| 21 | |||
