When setting up your Glove80 keyboard, there are two ways to define key behaviors: using the built-in (native) GUI behaviors or writing your own DTS (Device Tree Source) code in the Custom Defined Behaviors field. Both methods ultimately achieve the same goal—defining what happens when you press a key—and both result in a ZMK keymap file.
The GUI provides a visual interface for creating key behaviors, so you don’t have to write any code. You can click and drag, choosing from a list of predefined actions or behaviors. The GUI then automatically generates the DTS code behind the scenes.
To view the DTS code generated by the GUI, click the Export ZMK Keymap button in the GUI and open the .keymap file in a text editor.
DTS generated by the Layout Editor for your left Base layer
For example, if you want to set a key to perform a Hold-Tap Behavior (e.g., tap to type a letter, hold to activate a modifier), the GUI lets you do that by simply selecting the option from a list. The GUI then translates this into the appropriate DTS code without you needing to manually write the syntax.
DTS generated by the Layout Editor for a Hold-Tap
With Custom Defined Behaviors, you're directly writing DTS code to create key actions. This is typically for advanced users who want to leverage the latest ZMK features that might not yet be available in the GUI.
This method offers greater flexibility, allowing you to design any behavior, layer, or action (as supported by the MoErgo firmware). However, it requires a deeper understanding of DTS syntax and how to structure the code properly. Build errors can be difficult to troubleshoot due to the limited feedback provided by ZMK during the build process.
One of the powerful features of the MoErgo Layout Editor is its flexibility—you can easily mix and match native and custom behaviors.
This allows you to focus on creating new or specific behaviors in the custom dialog using code, while still seamlessly integrating them with GUI-based native behaviors.
The GUI is perfect for most users because it simplifies the process and ZMK configuration. MoErgo is constantly adding new capabilities to the Layout Editor, so the list of advantages below is current as of April 2025.
⭐No Code Needed: Skip the learning curve. The GUI takes care of all the complex DTS code behind the scenes — just click, select, and you're done.
⭐No Build Errors: Avoid the frustration of failed builds. The GUI automatically generates valid, working configurations — no syntax issues, no surprises.
⭐Live Visual Feed: See your keymap update in real-time as you make changes. Instantly understand how everything fits together.
⭐Built-in Assistants: Features like visual key selectors, combo builders, and Hold-Tap wizards make advanced functions simple — even for beginners.
⭐Copy from others: With the GUI, you can copy layers incl. associated behaviors between layouts, without worrying about syntax or mistakes. [+]
⭐Easier Management: You can rename and organize layers and behaviors with a single click, which is much more convenient than manually editing everything.
The GUI makes it fast and easy to customize your Glove80 keyboard, even if you're not familiar with coding, offering a smooth, hassle-free experience.