From 1c2e2573ea0aea361f820e823b1dfe60051cc4c6 Mon Sep 17 00:00:00 2001 From: Jon Pacheco Date: Sun, 15 Dec 2024 11:22:04 +0000 Subject: [PATCH 1/3] feat(m1w): enable bootmagic to allow entering bootloader with Esc --- keyboards/monsgeek/m1w/keyboard.json | 1 + 1 file changed, 1 insertion(+) diff --git a/keyboards/monsgeek/m1w/keyboard.json b/keyboards/monsgeek/m1w/keyboard.json index 8e40dfd80919..90bfb082617e 100644 --- a/keyboards/monsgeek/m1w/keyboard.json +++ b/keyboards/monsgeek/m1w/keyboard.json @@ -18,6 +18,7 @@ ] }, "features": { + "bootmagic": true, "combo": false, "command": false, "console": false, From f22526d989c7b8024ce2b83f99b8555a2975e142 Mon Sep 17 00:00:00 2001 From: Jon Pacheco Date: Sun, 15 Dec 2024 11:31:53 +0000 Subject: [PATCH 2/3] feat(m1w): map Fn + Esc to QK_BOOT, to allow easy resetting to bootloader --- keyboards/monsgeek/m1w/keymaps/default/keymap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keyboards/monsgeek/m1w/keymaps/default/keymap.c b/keyboards/monsgeek/m1w/keymaps/default/keymap.c index 7d020a7965f5..1d50464efc8c 100644 --- a/keyboards/monsgeek/m1w/keymaps/default/keymap.c +++ b/keyboards/monsgeek/m1w/keymaps/default/keymap.c @@ -15,7 +15,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { ), [1] = LAYOUT( - _______, KC_MYCM, KC_MAIL, LGUI(KC_S), KC_WHOM, KC_MSEL, KC_MPLY, KC_MPRV, KC_MNXT, _______, _______, _______, _______, _______, _______, + QK_BOOT, KC_MYCM, KC_MAIL, LGUI(KC_S), KC_WHOM, KC_MSEL, KC_MPLY, KC_MPRV, KC_MNXT, _______, _______, _______, _______, _______, _______, EE_CLR, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_SPD, RGB_SPI, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_INS, _______, KC_PSCR, _______, _______, RGB_MOD, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, RGB_TOG, _______, _______, _______, _______, From 59aa5cfaeeae2ff47b342f144dd73d1035c61fba Mon Sep 17 00:00:00 2001 From: Jon Pacheco Date: Sun, 15 Dec 2024 11:34:47 +0000 Subject: [PATCH 3/3] docs(m1w): update bootloader reset methods --- keyboards/monsgeek/m1w/readme.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/keyboards/monsgeek/m1w/readme.md b/keyboards/monsgeek/m1w/readme.md index f2cd20ec14d1..dcc2719217ad 100644 --- a/keyboards/monsgeek/m1w/readme.md +++ b/keyboards/monsgeek/m1w/readme.md @@ -1,4 +1,3 @@ - # M1W VIA * Keyboard Maintainer: [Priyadie](https://github.com/priyadie) @@ -18,6 +17,9 @@ See the [build environment setup](https://docs.qmk.fm/#/getting_started_build_to Enter the bootloader in 3 ways: -* **Bootmagic reset**: Hold down the key at (0,0) in the matrix (usually the top left key or Escape) and plug in the keyboard -* **Physical reset button**: Briefly press the button on the back of the PCB - some may have pads you must short instead -* **Keycode in layout**: Press the key mapped to `QK_BOOT` if it is available +* **Bootmagic reset**: While holding down the key at (0,0) in the matrix (Escape), plug in the keyboard +* **Keycode in layout**: Press `Fn` + `Esc` (only possible after this firmware is flashed or if you mapped this previously) +* **Short `BOOT` and `VCC` pads**: + * Disassemble the keyboard to gain access to the front of the keyboard PCB. This should reveal `BOOT` and `VCC` pads below the `N` and `M` keys + * Connect the USB-C daughterboard to the keyboard PCB + * While using a wire or pair of tweezers to short the `BOOT` and `VCC` pads, plug in the keyboard