Lily58 Multiple layouts?
I use a Mac for work and a PC for personal use, is there a way to save different keymaps that I can toggle between?
1 Reply
Yes! There are a couple good ways to do this on the Lily58 with ZMK:
1) Separate layers for each OS
- Create a “Mac” base layer and a “Windows” base layer, with the usual Cmd/Ctrl, media, etc. differences.
- Add a key that toggles between those layers (Toggle Layer or Momentary Layer).
- Easiest way: flash our Studio-compatible firmware, then use ZMK Studio to add/edit layers without recompiling.
- Lily58 firmware + info: https://docs.typeractive.xyz/build-guides/lily58-wireless/firmware
- ZMK Studio (web): https://zmk.studio/ (native app link on that page if you want BLE updates)
2) Pairing to different devices
- Pair your Mac and PC to different Bluetooth profiles and switch between them with the BT keys (e.g., &bt BT_SEL 0/1). This swaps devices; combine with the OS layers above so you can quickly change both device and layout.
- More on keymaps/layers: Keymaps | ZMK Docs
Typical setup:
- One key to Toggle Mac layer
- One key to Toggle Windows layer
- Keys to switch BT profiles (next/prev or select a specific profile)
If you want, tell me which keys you’d like to use for toggling and I can suggest a simple mapping you can drop into ZMK Studio. Reply here or tag me and I’ll help you set it up.
Firmware | Typeractive.xyz Documentation
If you're not familiar, ZMK is a wireless-focused firmware, and it powers our Lily58 Wireless.
Keymaps & Behaviors | ZMK Firmware
ZMK uses a declarative approach to keymaps, using devicetree syntax to configure them in a .keymap file.