Mastodon

How to enable ZMK Studio for the Glove 80

~ 1 min
keyboards
zmk
glove80
zmk studio

Out of the box I could not get the Glove80 to work out of the box with the amazing ZMK Studio because the default firmware that MoErgo provides does not have the necessary flag enabled.

What is needed?

The documentation is quite clear on what is needed for adding ZMK Studio support to a given keyboard.

  • We need to add the studio-rpc-usb-uart snippet
  • setting ZMK_STUDIO=y

Build your Glove80 firmware with Studio support

However being a bit lost on how and where to add it, I searched GitHub for inspiration. Luckily I found a config by IevgeniiB. Thanks!

The official docs are quite good

  1. Create your own ZMK repo (official docs, reduced version here).

    1. Create a new github repo with the name zmk-config
    2. Run bash -c "$(curl -fsSL https://zmk.dev/setup.sh)" and select 29 for Glove80, otherwise the default values.
  2. Adjust your build.yml

     ---
     include:
       - board: glove80_lh
         snippet: studio-rpc-usb-uart
         cmake-args: -DCONFIG_ZMK_STUDIO=y
  3. Adjust your west.yml:

    manifest:
      remotes:
        - name: moergo-sc
          url-base: https://github.com/moergo-sc
      projects:
        - name: zmk
          remote: moergo-sc
          revision: main
          import: app/west.yml
      self:
        path: config
  4. Assign &studio_unlock to an empty key. This is required to unlock once connected. I added mine to the magic layer in glove80.keymap.

  5. Push and wait for the Github action. After the action executes you will have and artifact with 2 firmware files. One for the left and one for the right.

  6. Flash the firmware to both sides. See the official guide on how to do it.

  7. Profit 🎉 You can now edit and update your Keymap right from your browser.